mirror of
https://github.com/CesiumGS/obj2gltf.git
synced 2025-01-31 12:03:10 -05:00
178 lines
4.2 KiB
JSON
178 lines
4.2 KiB
JSON
{
|
|
"accessors": {
|
|
"accessor_0": {
|
|
"bufferView": "bufferView_vertex",
|
|
"byteOffset": 0,
|
|
"byteStride": 0,
|
|
"componentType": 5126,
|
|
"count": 24,
|
|
"min": [
|
|
-1,
|
|
-1,
|
|
-1
|
|
],
|
|
"max": [
|
|
1,
|
|
1,
|
|
1
|
|
],
|
|
"type": "VEC3"
|
|
},
|
|
"accessor_1": {
|
|
"bufferView": "bufferView_vertex",
|
|
"byteOffset": 288,
|
|
"byteStride": 0,
|
|
"componentType": 5126,
|
|
"count": 24,
|
|
"min": [
|
|
-1,
|
|
-1,
|
|
-1
|
|
],
|
|
"max": [
|
|
1,
|
|
1,
|
|
1
|
|
],
|
|
"type": "VEC3"
|
|
},
|
|
"accessor_2": {
|
|
"bufferView": "bufferView_vertex",
|
|
"byteOffset": 576,
|
|
"byteStride": 0,
|
|
"componentType": 5126,
|
|
"count": 24,
|
|
"min": [
|
|
0,
|
|
0
|
|
],
|
|
"max": [
|
|
1,
|
|
1
|
|
],
|
|
"type": "VEC2"
|
|
},
|
|
"accessor_3": {
|
|
"bufferView": "bufferView_index",
|
|
"byteOffset": 0,
|
|
"byteStride": 0,
|
|
"componentType": 5123,
|
|
"count": 36,
|
|
"min": [
|
|
0
|
|
],
|
|
"max": [
|
|
23
|
|
],
|
|
"type": "SCALAR"
|
|
}
|
|
},
|
|
"asset": {
|
|
"generator": "obj2gltf",
|
|
"profile": {
|
|
"api": "WebGL",
|
|
"version": "1.0"
|
|
},
|
|
"version": "1.0"
|
|
},
|
|
"buffers": {
|
|
"buffer": {
|
|
"byteLength": 840,
|
|
"uri": "data:application/octet-stream;base64,AACAvwAAgL8AAIA/AACAvwAAgD8AAIA/AACAvwAAgD8AAIC/AACAvwAAgL8AAIC/AACAvwAAgL8AAIC/AACAvwAAgD8AAIC/AACAPwAAgD8A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
|
"byteLength": 768,
|
|
"byteOffset": 0,
|
|
"target": 34962
|
|
},
|
|
"bufferView_index": {
|
|
"buffer": "buffer",
|
|
"byteLength": 72,
|
|
"byteOffset": 768,
|
|
"target": 34963
|
|
}
|
|
},
|
|
"extensionsUsed": [
|
|
"KHR_materials_common"
|
|
],
|
|
"images": {},
|
|
"materials": {
|
|
"Material": {
|
|
"extensions": {
|
|
"KHR_materials_common": {
|
|
"technique": "PHONG",
|
|
"transparent": false,
|
|
"doubleSided": false,
|
|
"values": {
|
|
"ambient": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
],
|
|
"diffuse": [
|
|
0.64,
|
|
0.64,
|
|
0.64,
|
|
1
|
|
],
|
|
"emission": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
],
|
|
"specular": [
|
|
0.5,
|
|
0.5,
|
|
0.5,
|
|
1
|
|
],
|
|
"shininess": 96.078431,
|
|
"transparency": 1,
|
|
"transparent": false,
|
|
"doubleSided": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"meshes": {
|
|
"Cube-Mesh": {
|
|
"name": "Cube-Mesh",
|
|
"primitives": [
|
|
{
|
|
"attributes": {
|
|
"POSITION": "accessor_0",
|
|
"NORMAL": "accessor_1",
|
|
"TEXCOORD_0": "accessor_2"
|
|
},
|
|
"indices": "accessor_3",
|
|
"material": "Material",
|
|
"mode": 4
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"nodes": {
|
|
"Cube": {
|
|
"name": "Cube",
|
|
"meshes": [
|
|
"Cube-Mesh"
|
|
]
|
|
}
|
|
},
|
|
"samplers": {},
|
|
"scene": "scene",
|
|
"scenes": {
|
|
"scene": {
|
|
"nodes": [
|
|
"Cube"
|
|
]
|
|
}
|
|
},
|
|
"textures": {}
|
|
} |