Last active
July 7, 2017 14:24
-
-
Save tonis2/be7c259653d5da952f0cfb12f662e123 to your computer and use it in GitHub Desktop.
plant.gltf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"accessors": { | |
"accessors_0": { | |
"bufferView": "bufferViews_3", | |
"byteOffset": 0, | |
"byteStride": 2, | |
"componentType": 5123, | |
"count": 855, | |
"max": [ | |
246 | |
], | |
"min": [ | |
0 | |
], | |
"type": "SCALAR" | |
}, | |
"accessors_1": { | |
"bufferView": "bufferViews_6", | |
"byteOffset": 0, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 779, | |
"max": [ | |
0.22019000351428986, | |
0.36441001296043396, | |
0.1569799929857254 | |
], | |
"min": [ | |
-0.2160400003194809, | |
-0.0011099999537691474, | |
-0.1717900037765503 | |
], | |
"type": "VEC3" | |
}, | |
"accessors_10": { | |
"bufferView": "bufferViews_0", | |
"byteOffset": 0, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 57000, | |
"max": [ | |
0.1986600011587143, | |
0.3326900005340576, | |
0.14486999809741974 | |
], | |
"min": [ | |
-0.19110000133514404, | |
0.25244998931884766, | |
-0.152319997549057 | |
], | |
"type": "VEC3" | |
}, | |
"accessors_11": { | |
"bufferView": "bufferViews_2", | |
"byteOffset": 24, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 247, | |
"max": [ | |
1.0, | |
1.0 | |
], | |
"min": [ | |
0.0, | |
0.0 | |
], | |
"type": "VEC2" | |
}, | |
"accessors_12": { | |
"bufferView": "bufferViews_0", | |
"byteOffset": 24, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 57000, | |
"max": [ | |
1.0, | |
0.6052600145339966 | |
], | |
"min": [ | |
0.0, | |
0.01314002275466919 | |
], | |
"type": "VEC2" | |
}, | |
"accessors_13": { | |
"bufferView": "bufferViews_6", | |
"byteOffset": 24, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 779, | |
"max": [ | |
1.0, | |
1.0 | |
], | |
"min": [ | |
0.0, | |
0.004980027675628662 | |
], | |
"type": "VEC2" | |
}, | |
"accessors_14": { | |
"bufferView": "bufferViews_6", | |
"byteOffset": 12, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 779, | |
"max": [ | |
0.99993896484375, | |
0.9956663846969604, | |
0.999420166015625 | |
], | |
"min": [ | |
-0.9998779296875, | |
-0.7470320463180542, | |
-0.999542236328125 | |
], | |
"type": "VEC3" | |
}, | |
"accessors_15": { | |
"bufferView": "bufferViews_0", | |
"byteOffset": 12, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 57000, | |
"max": [ | |
0.99993896484375, | |
0.9998779296875, | |
0.9998779296875 | |
], | |
"min": [ | |
-0.99993896484375, | |
-0.999969482421875, | |
-0.999969482421875 | |
], | |
"type": "VEC3" | |
}, | |
"accessors_2": { | |
"bufferView": "bufferViews_5", | |
"byteOffset": 0, | |
"byteStride": 4, | |
"componentType": 5125, | |
"count": 299250, | |
"max": [ | |
80749 | |
], | |
"min": [ | |
0 | |
], | |
"type": "SCALAR" | |
}, | |
"accessors_3": { | |
"bufferView": "bufferViews_4", | |
"byteOffset": 0, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 80750, | |
"max": [ | |
0.1988999992609024, | |
0.33285999298095703, | |
0.14515000581741333 | |
], | |
"min": [ | |
-0.19115999341011047, | |
0.2521800100803375, | |
-0.15249000489711761 | |
], | |
"type": "VEC3" | |
}, | |
"accessors_4": { | |
"bufferView": "bufferViews_1", | |
"byteOffset": 0, | |
"byteStride": 2, | |
"componentType": 5123, | |
"count": 285000, | |
"max": [ | |
56999 | |
], | |
"min": [ | |
0 | |
], | |
"type": "SCALAR" | |
}, | |
"accessors_5": { | |
"bufferView": "bufferViews_4", | |
"byteOffset": 24, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 80750, | |
"max": [ | |
1.0, | |
1.0 | |
], | |
"min": [ | |
0.0, | |
0.0 | |
], | |
"type": "VEC2" | |
}, | |
"accessors_6": { | |
"bufferView": "bufferViews_4", | |
"byteOffset": 12, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 80750, | |
"max": [ | |
1.0, | |
1.0, | |
1.0 | |
], | |
"min": [ | |
-1.0, | |
-0.99993896484375, | |
-1.0 | |
], | |
"type": "VEC3" | |
}, | |
"accessors_7": { | |
"bufferView": "bufferViews_2", | |
"byteOffset": 0, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 247, | |
"max": [ | |
0.18928000330924988, | |
0.31957000494003296, | |
0.13109000027179718 | |
], | |
"min": [ | |
-0.18432000279426575, | |
0.26026999950408936, | |
-0.14556999504566193 | |
], | |
"type": "VEC3" | |
}, | |
"accessors_8": { | |
"bufferView": "bufferViews_7", | |
"byteOffset": 0, | |
"byteStride": 2, | |
"componentType": 5123, | |
"count": 3420, | |
"max": [ | |
778 | |
], | |
"min": [ | |
0 | |
], | |
"type": "SCALAR" | |
}, | |
"accessors_9": { | |
"bufferView": "bufferViews_2", | |
"byteOffset": 12, | |
"byteStride": 32, | |
"componentType": 5126, | |
"count": 247, | |
"max": [ | |
0.9983214735984802, | |
0.9849543571472168, | |
0.983367383480072 | |
], | |
"min": [ | |
-0.9982299208641052, | |
-0.9274269938468933, | |
-0.9979857802391052 | |
], | |
"type": "VEC3" | |
} | |
}, | |
"asset": { | |
"profile": { | |
"api": "WebGL", | |
"version": "1.0.3" | |
}, | |
"version": "1.0" | |
}, | |
"bufferViews": { | |
"bufferViews_0": { | |
"buffer": "buffers_0", | |
"byteLength": 1824000, | |
"byteOffset": 0, | |
"target": 34962 | |
}, | |
"bufferViews_1": { | |
"buffer": "buffers_0", | |
"byteLength": 570000, | |
"byteOffset": 1824000, | |
"target": 34963 | |
}, | |
"bufferViews_2": { | |
"buffer": "buffers_0", | |
"byteLength": 7904, | |
"byteOffset": 2394000, | |
"target": 34962 | |
}, | |
"bufferViews_3": { | |
"buffer": "buffers_0", | |
"byteLength": 1710, | |
"byteOffset": 2401904, | |
"target": 34963 | |
}, | |
"bufferViews_4": { | |
"buffer": "buffers_0", | |
"byteLength": 2584000, | |
"byteOffset": 2403614, | |
"target": 34962 | |
}, | |
"bufferViews_5": { | |
"buffer": "buffers_0", | |
"byteLength": 1197000, | |
"byteOffset": 4987614, | |
"target": 34963 | |
}, | |
"bufferViews_6": { | |
"buffer": "buffers_0", | |
"byteLength": 24928, | |
"byteOffset": 6184614, | |
"target": 34962 | |
}, | |
"bufferViews_7": { | |
"buffer": "buffers_0", | |
"byteLength": 6840, | |
"byteOffset": 6209542, | |
"target": 34963 | |
} | |
}, | |
"buffers": { | |
"buffers_0": { | |
"byteLength": 6216382, | |
"type": "arraybuffer", | |
"uri": "buffer_combined.bin" | |
} | |
}, | |
"cameras": { | |
"cameras_0": { | |
"name": "Camera", | |
"perspective": { | |
"aspectRatio": 1.703595982340029, | |
"yfov": 0.5033799409866333, | |
"zfar": 100.0, | |
"znear": 0.10000000149011612 | |
}, | |
"type": "perspective" | |
} | |
}, | |
"extensions": { | |
"KHR_materials_common": { | |
"lights": { | |
"lights_0": { | |
"name": "Area", | |
"type": "unsupported" | |
}, | |
"lights_1": { | |
"name": "Spot", | |
"spot": { | |
"color": [ | |
0.3499999940395355, | |
0.32326531410217285, | |
0.21784184873104095 | |
], | |
"constantAttenuation": 1.0, | |
"fallOffAngle": 3.14159265, | |
"fallOffExponent": 0.0, | |
"linearAttenuation": 0, | |
"quadraticAttenuation": 0.04 | |
}, | |
"type": "spot" | |
} | |
} | |
} | |
}, | |
"extensionsUsed": [ | |
"KHR_materials_common" | |
], | |
"glExtensionsUsed": [ | |
"OES_element_index_uint" | |
], | |
"materials": { | |
"materials_0": { | |
"extensions": { | |
"KHR_materials_common": { | |
"technique": "PHONG", | |
"values": { | |
"ambient": [ | |
1.0, | |
1.0, | |
1.0, | |
1.0 | |
], | |
"diffuse": [ | |
0.010728324763476849, | |
0.004952762741595507, | |
0.002492181956768036, | |
1.0 | |
], | |
"doubleSided": false, | |
"emission": [ | |
0.0, | |
0.0, | |
0.0, | |
1.0 | |
], | |
"shininess": 50, | |
"specular": [ | |
0.05685104429721832, | |
0.02509709633886814, | |
0.012593579478561878, | |
1.0 | |
], | |
"transparency": 1.0, | |
"transparent": false | |
} | |
} | |
}, | |
"name": "leaves" | |
}, | |
"materials_1": { | |
"extensions": { | |
"KHR_materials_common": { | |
"technique": "PHONG", | |
"values": { | |
"ambient": [ | |
1.0, | |
1.0, | |
1.0, | |
1.0 | |
], | |
"diffuse": [ | |
0.012166810221970081, | |
0.01697520725429058, | |
0.011555073782801628, | |
1.0 | |
], | |
"doubleSided": false, | |
"emission": [ | |
0.0, | |
0.0, | |
0.0, | |
1.0 | |
], | |
"shininess": 50, | |
"specular": [ | |
0.007604256272315979, | |
0.010609503835439682, | |
0.007221920881420374, | |
1.0 | |
], | |
"transparency": 1.0, | |
"transparent": false | |
} | |
} | |
}, | |
"name": "stems_1" | |
}, | |
"materials_2": { | |
"extensions": { | |
"KHR_materials_common": { | |
"technique": "LAMBERT", | |
"values": { | |
"ambient": [ | |
1.0, | |
1.0, | |
1.0, | |
1.0 | |
], | |
"diffuse": [ | |
0.033913325518369675, | |
0.04624183848500252, | |
0.022245297208428383, | |
1.0 | |
], | |
"doubleSided": false, | |
"emission": [ | |
0.0, | |
0.0, | |
0.0, | |
1.0 | |
], | |
"shininess": 50, | |
"specular": [ | |
0.0, | |
0.0, | |
0.0, | |
1.0 | |
], | |
"transparency": 1.0, | |
"transparent": false | |
} | |
} | |
}, | |
"name": "stems_2" | |
}, | |
"materials_3": { | |
"extensions": { | |
"KHR_materials_common": { | |
"technique": "PHONG", | |
"values": { | |
"ambient": [ | |
1.0, | |
1.0, | |
1.0, | |
1.0 | |
], | |
"diffuse": [ | |
0.012245702557265759, | |
0.07570036500692368, | |
0.004496860783547163, | |
1.0 | |
], | |
"doubleSided": false, | |
"emission": [ | |
0.0, | |
0.0, | |
0.0, | |
1.0 | |
], | |
"shininess": 50, | |
"specular": [ | |
0.007604256272315979, | |
0.04765373468399048, | |
0.002802695846185088, | |
1.0 | |
], | |
"transparency": 1.0, | |
"transparent": false | |
} | |
} | |
}, | |
"name": "trunk" | |
} | |
}, | |
"meshes": { | |
"meshes_0": { | |
"name": "leaves", | |
"primitives": [ | |
{ | |
"attributes": { | |
"NORMAL": "accessors_15", | |
"POSITION": "accessors_10", | |
"TEXCOORD_0": "accessors_12" | |
}, | |
"indices": "accessors_4", | |
"material": "materials_0", | |
"mode": 4 | |
} | |
] | |
}, | |
"meshes_1": { | |
"name": "stems_1", | |
"primitives": [ | |
{ | |
"attributes": { | |
"NORMAL": "accessors_9", | |
"POSITION": "accessors_7", | |
"TEXCOORD_0": "accessors_11" | |
}, | |
"indices": "accessors_0", | |
"material": "materials_1", | |
"mode": 4 | |
} | |
] | |
}, | |
"meshes_2": { | |
"name": "stems_2", | |
"primitives": [ | |
{ | |
"attributes": { | |
"NORMAL": "accessors_6", | |
"POSITION": "accessors_3", | |
"TEXCOORD_0": "accessors_5" | |
}, | |
"indices": "accessors_2", | |
"material": "materials_2", | |
"mode": 4 | |
} | |
] | |
}, | |
"meshes_3": { | |
"name": "trunk", | |
"primitives": [ | |
{ | |
"attributes": { | |
"NORMAL": "accessors_14", | |
"POSITION": "accessors_1", | |
"TEXCOORD_0": "accessors_13" | |
}, | |
"indices": "accessors_8", | |
"material": "materials_3", | |
"mode": 4 | |
} | |
] | |
} | |
}, | |
"nodes": { | |
"nodes_0": { | |
"children": [], | |
"extensions": { | |
"KHR_materials_common": { | |
"light": "lights_0" | |
} | |
}, | |
"name": "Area", | |
"rotation": [ | |
0.5735764503479004, | |
1.2735955631180138e-16, | |
0.0, | |
0.8191519975662231 | |
], | |
"scale": [ | |
1.0, | |
1.0, | |
1.0 | |
], | |
"translation": [ | |
0.0, | |
-6.099999904632568, | |
3.9000000953674316 | |
] | |
}, | |
"nodes_1": { | |
"camera": "cameras_0", | |
"children": [], | |
"name": "Camera", | |
"rotation": [ | |
0.7455374002456665, | |
0.0, | |
0.0, | |
0.6664637923240662 | |
], | |
"scale": [ | |
1.0, | |
1.0000001192092896, | |
1.0000001192092896 | |
], | |
"translation": [ | |
0.0, | |
-3.5753989219665527, | |
1.0702272653579712 | |
] | |
}, | |
"nodes_2": { | |
"children": [], | |
"meshes": [ | |
"meshes_0" | |
], | |
"name": "leaves", | |
"rotation": [ | |
0.7071068286895752, | |
0.0, | |
0.0, | |
0.7071067094802856 | |
], | |
"scale": [ | |
6.900000095367432, | |
6.900000095367432, | |
6.900000095367432 | |
], | |
"translation": [ | |
0.0, | |
0.0, | |
0.0 | |
] | |
}, | |
"nodes_3": { | |
"children": [], | |
"extensions": { | |
"KHR_materials_common": { | |
"light": "lights_1" | |
} | |
}, | |
"name": "Spot", | |
"rotation": [ | |
0.0, | |
0.0, | |
0.0, | |
1.0 | |
], | |
"scale": [ | |
1.0, | |
1.0, | |
1.0 | |
], | |
"translation": [ | |
0.0, | |
0.0, | |
13.327285766601562 | |
] | |
}, | |
"nodes_4": { | |
"children": [], | |
"meshes": [ | |
"meshes_1" | |
], | |
"name": "stems_1", | |
"rotation": [ | |
0.7071068286895752, | |
0.0, | |
0.0, | |
0.7071067094802856 | |
], | |
"scale": [ | |
6.900000095367432, | |
6.900000095367432, | |
6.900000095367432 | |
], | |
"translation": [ | |
0.0, | |
0.0, | |
0.0 | |
] | |
}, | |
"nodes_5": { | |
"children": [], | |
"meshes": [ | |
"meshes_2" | |
], | |
"name": "stems_2", | |
"rotation": [ | |
0.7071068286895752, | |
0.0, | |
0.0, | |
0.7071067094802856 | |
], | |
"scale": [ | |
6.900000095367432, | |
6.900000095367432, | |
6.900000095367432 | |
], | |
"translation": [ | |
0.0, | |
0.0, | |
0.0 | |
] | |
}, | |
"nodes_6": { | |
"children": [], | |
"meshes": [ | |
"meshes_3" | |
], | |
"name": "trunk", | |
"rotation": [ | |
0.7071068286895752, | |
0.0, | |
0.0, | |
0.7071067094802856 | |
], | |
"scale": [ | |
6.900000095367432, | |
6.900000095367432, | |
6.900000095367432 | |
], | |
"translation": [ | |
0.0, | |
0.0, | |
0.0 | |
] | |
} | |
}, | |
"samplers": { | |
"samplers_0": {} | |
}, | |
"scene": "scenes_0", | |
"scenes": { | |
"scenes_0": { | |
"extras": { | |
"active_camera": "cameras_0", | |
"background_color": [ | |
0.0, | |
0.0, | |
0.0 | |
], | |
"frames_per_second": 24 | |
}, | |
"name": "Scene", | |
"nodes": [ | |
"nodes_0", | |
"nodes_3", | |
"nodes_6", | |
"nodes_4", | |
"nodes_2", | |
"nodes_5", | |
"nodes_1" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment