173 lines
3.8 KiB
Plaintext
173 lines
3.8 KiB
Plaintext
|
{
|
||
|
"asset" : {
|
||
|
"generator" : "Khronos glTF Blender I/O v1.0.5",
|
||
|
"version" : "2.0"
|
||
|
},
|
||
|
"scene" : 0,
|
||
|
"scenes" : [
|
||
|
{
|
||
|
"name" : "Scene",
|
||
|
"nodes" : [
|
||
|
0,
|
||
|
1,
|
||
|
2
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"nodes" : [
|
||
|
{
|
||
|
"mesh" : 0,
|
||
|
"name" : "Cube"
|
||
|
},
|
||
|
{
|
||
|
"name" : "Light",
|
||
|
"rotation" : [
|
||
|
0.16907575726509094,
|
||
|
0.7558803558349609,
|
||
|
-0.27217137813568115,
|
||
|
0.570947527885437
|
||
|
],
|
||
|
"translation" : [
|
||
|
4.076245307922363,
|
||
|
5.903861999511719,
|
||
|
-1.0054539442062378
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name" : "Camera",
|
||
|
"rotation" : [
|
||
|
0.483536034822464,
|
||
|
0.33687159419059753,
|
||
|
-0.20870360732078552,
|
||
|
0.7804827094078064
|
||
|
],
|
||
|
"translation" : [
|
||
|
7.358891487121582,
|
||
|
4.958309173583984,
|
||
|
6.925790786743164
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"materials" : [
|
||
|
{
|
||
|
"doubleSided" : true,
|
||
|
"name" : "Material",
|
||
|
"pbrMetallicRoughness" : {
|
||
|
"baseColorTexture" : {
|
||
|
"index" : 0,
|
||
|
"texCoord" : 0
|
||
|
},
|
||
|
"metallicFactor" : 0,
|
||
|
"metallicRoughnessTexture" : {
|
||
|
"index" : 0,
|
||
|
"texCoord" : 1
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"meshes" : [
|
||
|
{
|
||
|
"name" : "Cube",
|
||
|
"primitives" : [
|
||
|
{
|
||
|
"attributes" : {
|
||
|
"POSITION" : 0,
|
||
|
"NORMAL" : 1,
|
||
|
"TEXCOORD_0" : 2,
|
||
|
"TEXCOORD_1" : 3
|
||
|
},
|
||
|
"indices" : 4,
|
||
|
"material" : 0
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"textures" : [
|
||
|
{
|
||
|
"source" : 0
|
||
|
}
|
||
|
],
|
||
|
"images" : [
|
||
|
{
|
||
|
"mimeType" : "image/png",
|
||
|
"name" : "Material Base Color",
|
||
|
"uri" : "texture.png"
|
||
|
}
|
||
|
],
|
||
|
"accessors" : [
|
||
|
{
|
||
|
"bufferView" : 0,
|
||
|
"componentType" : 5126,
|
||
|
"count" : 24,
|
||
|
"max" : [
|
||
|
1,
|
||
|
1,
|
||
|
1
|
||
|
],
|
||
|
"min" : [
|
||
|
-1,
|
||
|
-1,
|
||
|
-1
|
||
|
],
|
||
|
"type" : "VEC3"
|
||
|
},
|
||
|
{
|
||
|
"bufferView" : 1,
|
||
|
"componentType" : 5126,
|
||
|
"count" : 24,
|
||
|
"type" : "VEC3"
|
||
|
},
|
||
|
{
|
||
|
"bufferView" : 2,
|
||
|
"componentType" : 5126,
|
||
|
"count" : 24,
|
||
|
"type" : "VEC2"
|
||
|
},
|
||
|
{
|
||
|
"bufferView" : 3,
|
||
|
"componentType" : 5126,
|
||
|
"count" : 24,
|
||
|
"type" : "VEC2"
|
||
|
},
|
||
|
{
|
||
|
"bufferView" : 4,
|
||
|
"componentType" : 5123,
|
||
|
"count" : 36,
|
||
|
"type" : "SCALAR"
|
||
|
}
|
||
|
],
|
||
|
"bufferViews" : [
|
||
|
{
|
||
|
"buffer" : 0,
|
||
|
"byteLength" : 288,
|
||
|
"byteOffset" : 0
|
||
|
},
|
||
|
{
|
||
|
"buffer" : 0,
|
||
|
"byteLength" : 288,
|
||
|
"byteOffset" : 288
|
||
|
},
|
||
|
{
|
||
|
"buffer" : 0,
|
||
|
"byteLength" : 192,
|
||
|
"byteOffset" : 576
|
||
|
},
|
||
|
{
|
||
|
"buffer" : 0,
|
||
|
"byteLength" : 192,
|
||
|
"byteOffset" : 768
|
||
|
},
|
||
|
{
|
||
|
"buffer" : 0,
|
||
|
"byteLength" : 72,
|
||
|
"byteOffset" : 960
|
||
|
}
|
||
|
],
|
||
|
"buffers" : [
|
||
|
{
|
||
|
"byteLength" : 1032,
|
||
|
"uri" : "boxTexcoords.bin"
|
||
|
}
|
||
|
]
|
||
|
}
|