262 lines
5.0 KiB
JSON
262 lines
5.0 KiB
JSON
{
|
|
"accessors" : [
|
|
{
|
|
"bufferView" : 0,
|
|
"byteOffset" : 0,
|
|
"componentType" : 5126,
|
|
"count" : 3,
|
|
"max" : [
|
|
2.000000
|
|
],
|
|
"min" : [
|
|
0.000000
|
|
],
|
|
"type" : "SCALAR"
|
|
},
|
|
{
|
|
"bufferView" : 1,
|
|
"byteOffset" : 0,
|
|
"componentType" : 5126,
|
|
"count" : 3,
|
|
"max" : [
|
|
0.000000,
|
|
1.000000,
|
|
0.000000,
|
|
1.000000
|
|
],
|
|
"min" : [
|
|
0.000000,
|
|
-8.742278e-008,
|
|
0.000000,
|
|
-1.000000
|
|
],
|
|
"type" : "VEC4"
|
|
},
|
|
{
|
|
"bufferView" : 2,
|
|
"byteOffset" : 0,
|
|
"componentType" : 5123,
|
|
"count" : 36,
|
|
"max" : [
|
|
35
|
|
],
|
|
"min" : [
|
|
0
|
|
],
|
|
"type" : "SCALAR"
|
|
},
|
|
{
|
|
"bufferView" : 3,
|
|
"byteOffset" : 0,
|
|
"componentType" : 5126,
|
|
"count" : 36,
|
|
"max" : [
|
|
1.000000,
|
|
1.000000,
|
|
1.000001
|
|
],
|
|
"min" : [
|
|
-1.000000,
|
|
-1.000000,
|
|
-1.000000
|
|
],
|
|
"type" : "VEC3"
|
|
},
|
|
{
|
|
"bufferView" : 4,
|
|
"byteOffset" : 0,
|
|
"componentType" : 5126,
|
|
"count" : 36,
|
|
"max" : [
|
|
1.000000,
|
|
1.000000,
|
|
1.000000
|
|
],
|
|
"min" : [
|
|
-1.000000,
|
|
-1.000000,
|
|
-1.000000
|
|
],
|
|
"type" : "VEC3"
|
|
},
|
|
{
|
|
"bufferView" : 5,
|
|
"byteOffset" : 0,
|
|
"componentType" : 5126,
|
|
"count" : 36,
|
|
"max" : [
|
|
1.000000,
|
|
-0.000000,
|
|
-0.000000,
|
|
1.000000
|
|
],
|
|
"min" : [
|
|
0.000000,
|
|
-0.000000,
|
|
-1.000000,
|
|
-1.000000
|
|
],
|
|
"type" : "VEC4"
|
|
},
|
|
{
|
|
"bufferView" : 6,
|
|
"byteOffset" : 0,
|
|
"componentType" : 5126,
|
|
"count" : 36,
|
|
"max" : [
|
|
1.000000,
|
|
1.000000
|
|
],
|
|
"min" : [
|
|
-1.000000,
|
|
-1.000000
|
|
],
|
|
"type" : "VEC2"
|
|
}
|
|
],
|
|
"animations" : [
|
|
{
|
|
"channels" : [
|
|
{
|
|
"sampler" : 0,
|
|
"target" : {
|
|
"node" : 0,
|
|
"path" : "rotation"
|
|
}
|
|
}
|
|
],
|
|
"name" : "animation_AnimatedCube",
|
|
"samplers" : [
|
|
{
|
|
"input" : 0,
|
|
"interpolation" : "LINEAR",
|
|
"output" : 1
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"asset" : {
|
|
"generator" : "VKTS glTF 2.0 exporter",
|
|
"version" : "2.0"
|
|
},
|
|
"bufferViews" : [
|
|
{
|
|
"buffer" : 0,
|
|
"byteLength" : 12,
|
|
"byteOffset" : 0
|
|
},
|
|
{
|
|
"buffer" : 0,
|
|
"byteLength" : 48,
|
|
"byteOffset" : 12
|
|
},
|
|
{
|
|
"buffer" : 0,
|
|
"byteLength" : 72,
|
|
"byteOffset" : 60,
|
|
"target" : 34963
|
|
},
|
|
{
|
|
"buffer" : 0,
|
|
"byteLength" : 432,
|
|
"byteOffset" : 132,
|
|
"target" : 34962
|
|
},
|
|
{
|
|
"buffer" : 0,
|
|
"byteLength" : 432,
|
|
"byteOffset" : 564,
|
|
"target" : 34962
|
|
},
|
|
{
|
|
"buffer" : 0,
|
|
"byteLength" : 576,
|
|
"byteOffset" : 996,
|
|
"target" : 34962
|
|
},
|
|
{
|
|
"buffer" : 0,
|
|
"byteLength" : 288,
|
|
"byteOffset" : 1572,
|
|
"target" : 34962
|
|
}
|
|
],
|
|
"buffers" : [
|
|
{
|
|
"byteLength" : 1860,
|
|
"uri" : "AnimatedCube.bin"
|
|
}
|
|
],
|
|
"images" : [
|
|
{
|
|
"uri" : "AnimatedCube_BaseColor.png"
|
|
},
|
|
{
|
|
"uri" : "AnimatedCube_MetallicRoughness.png"
|
|
}
|
|
],
|
|
"materials" : [
|
|
{
|
|
"name" : "AnimatedCube",
|
|
"pbrMetallicRoughness" : {
|
|
"baseColorTexture" : {
|
|
"index" : 0
|
|
},
|
|
"metallicRoughnessTexture" : {
|
|
"index" : 1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"meshes" : [
|
|
{
|
|
"name" : "AnimatedCube",
|
|
"primitives" : [
|
|
{
|
|
"attributes" : {
|
|
"NORMAL" : 4,
|
|
"POSITION" : 3,
|
|
"TANGENT" : 5,
|
|
"TEXCOORD_0" : 6
|
|
},
|
|
"indices" : 2,
|
|
"material" : 0,
|
|
"mode" : 4
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"nodes" : [
|
|
{
|
|
"mesh" : 0,
|
|
"name" : "AnimatedCube",
|
|
"rotation" : [
|
|
0.000000,
|
|
-1.000000,
|
|
0.000000,
|
|
0.000000
|
|
]
|
|
}
|
|
],
|
|
"samplers" : [
|
|
{}
|
|
],
|
|
"scene" : 0,
|
|
"scenes" : [
|
|
{
|
|
"nodes" : [
|
|
0
|
|
]
|
|
}
|
|
],
|
|
"textures" : [
|
|
{
|
|
"sampler" : 0,
|
|
"source" : 0
|
|
},
|
|
{
|
|
"sampler" : 0,
|
|
"source" : 1
|
|
}
|
|
]
|
|
} |