Files
project-vivi/Assets/TestSkeleton.gltf
T
2026-09-19 10:06:28 -04:00

576 lines
7.5 KiB
JSON

{
"asset":{
"generator":"Khronos glTF Blender I/O v4.5.48",
"version":"2.0"
},
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
3,
4
]
}
],
"nodes":[
{
"name":"Top",
"rotation":[
0,
4.371138828673793e-08,
0,
1
],
"translation":[
0,
0.5,
0
]
},
{
"children":[
0
],
"name":"Bottom",
"rotation":[
3.0908619663705394e-08,
0.7071067690849304,
0.7071067690849304,
3.0908619663705394e-08
]
},
{
"children":[
1
],
"name":"Root",
"rotation":[
0,
0.7071067690849304,
0.7071067690849304,
0
]
},
{
"mesh":0,
"name":"Plane",
"skin":0
},
{
"children":[
2
],
"name":"Armature"
}
],
"animations":[
{
"channels":[
{
"sampler":0,
"target":{
"node":2,
"path":"translation"
}
},
{
"sampler":1,
"target":{
"node":2,
"path":"rotation"
}
},
{
"sampler":2,
"target":{
"node":2,
"path":"scale"
}
},
{
"sampler":3,
"target":{
"node":1,
"path":"translation"
}
},
{
"sampler":4,
"target":{
"node":1,
"path":"rotation"
}
},
{
"sampler":5,
"target":{
"node":1,
"path":"scale"
}
},
{
"sampler":6,
"target":{
"node":0,
"path":"translation"
}
},
{
"sampler":7,
"target":{
"node":0,
"path":"rotation"
}
},
{
"sampler":8,
"target":{
"node":0,
"path":"scale"
}
}
],
"name":"Animation_Loop",
"samplers":[
{
"input":15,
"interpolation":"LINEAR",
"output":16
},
{
"input":17,
"interpolation":"STEP",
"output":18
},
{
"input":17,
"interpolation":"STEP",
"output":19
},
{
"input":17,
"interpolation":"STEP",
"output":20
},
{
"input":15,
"interpolation":"LINEAR",
"output":21
},
{
"input":17,
"interpolation":"STEP",
"output":19
},
{
"input":17,
"interpolation":"STEP",
"output":22
},
{
"input":15,
"interpolation":"LINEAR",
"output":23
},
{
"input":17,
"interpolation":"STEP",
"output":19
}
]
}
],
"materials":[
{
"doubleSided":true,
"name":"Test 1",
"pbrMetallicRoughness":{
"baseColorFactor":[
1,
0,
0,
1
],
"metallicFactor":0
}
},
{
"doubleSided":true,
"name":"Test 2",
"pbrMetallicRoughness":{
"baseColorFactor":[
0,
1,
0,
1
],
"metallicFactor":0,
"roughnessFactor":0
}
}
],
"meshes":[
{
"name":"Plane",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2,
"TANGENT":3,
"JOINTS_0":4,
"WEIGHTS_0":5
},
"indices":6,
"material":0
},
{
"attributes":{
"POSITION":7,
"NORMAL":8,
"TEXCOORD_0":9,
"TANGENT":10,
"JOINTS_0":11,
"WEIGHTS_0":12
},
"indices":13,
"material":1
}
]
}
],
"skins":[
{
"inverseBindMatrices":14,
"joints":[
2,
1,
0
],
"name":"Armature"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":3,
"max":[
0.5,
1,
2.9802322387695312e-08
],
"min":[
-0.5,
0,
-2.9802322387695312e-08
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":3,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":3,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":3,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5121,
"count":3,
"type":"VEC4"
},
{
"bufferView":5,
"componentType":5126,
"count":3,
"type":"VEC4"
},
{
"bufferView":6,
"componentType":5123,
"count":3,
"type":"SCALAR"
},
{
"bufferView":7,
"componentType":5126,
"count":3,
"max":[
0.5,
1,
2.9802322387695312e-08
],
"min":[
-0.5,
0,
-2.9802322387695312e-08
],
"type":"VEC3"
},
{
"bufferView":8,
"componentType":5126,
"count":3,
"type":"VEC3"
},
{
"bufferView":9,
"componentType":5126,
"count":3,
"type":"VEC2"
},
{
"bufferView":10,
"componentType":5126,
"count":3,
"type":"VEC4"
},
{
"bufferView":11,
"componentType":5121,
"count":3,
"type":"VEC4"
},
{
"bufferView":12,
"componentType":5126,
"count":3,
"type":"VEC4"
},
{
"bufferView":13,
"componentType":5123,
"count":3,
"type":"SCALAR"
},
{
"bufferView":14,
"componentType":5126,
"count":3,
"type":"MAT4"
},
{
"bufferView":15,
"componentType":5126,
"count":60,
"max":[
1
],
"min":[
0.016666666666666666
],
"type":"SCALAR"
},
{
"bufferView":16,
"componentType":5126,
"count":60,
"type":"VEC3"
},
{
"bufferView":17,
"componentType":5126,
"count":2,
"max":[
1
],
"min":[
0.016666666666666666
],
"type":"SCALAR"
},
{
"bufferView":18,
"componentType":5126,
"count":2,
"type":"VEC4"
},
{
"bufferView":19,
"componentType":5126,
"count":2,
"type":"VEC3"
},
{
"bufferView":20,
"componentType":5126,
"count":2,
"type":"VEC3"
},
{
"bufferView":21,
"componentType":5126,
"count":60,
"type":"VEC4"
},
{
"bufferView":22,
"componentType":5126,
"count":2,
"type":"VEC3"
},
{
"bufferView":23,
"componentType":5126,
"count":60,
"type":"VEC4"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":36,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":36,
"byteOffset":36,
"target":34962
},
{
"buffer":0,
"byteLength":24,
"byteOffset":72,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":96,
"target":34962
},
{
"buffer":0,
"byteLength":12,
"byteOffset":144,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":156,
"target":34962
},
{
"buffer":0,
"byteLength":6,
"byteOffset":204,
"target":34963
},
{
"buffer":0,
"byteLength":36,
"byteOffset":212,
"target":34962
},
{
"buffer":0,
"byteLength":36,
"byteOffset":248,
"target":34962
},
{
"buffer":0,
"byteLength":24,
"byteOffset":284,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":308,
"target":34962
},
{
"buffer":0,
"byteLength":12,
"byteOffset":356,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":368,
"target":34962
},
{
"buffer":0,
"byteLength":6,
"byteOffset":416,
"target":34963
},
{
"buffer":0,
"byteLength":192,
"byteOffset":424
},
{
"buffer":0,
"byteLength":240,
"byteOffset":616
},
{
"buffer":0,
"byteLength":720,
"byteOffset":856
},
{
"buffer":0,
"byteLength":8,
"byteOffset":1576
},
{
"buffer":0,
"byteLength":32,
"byteOffset":1584
},
{
"buffer":0,
"byteLength":24,
"byteOffset":1616
},
{
"buffer":0,
"byteLength":24,
"byteOffset":1640
},
{
"buffer":0,
"byteLength":960,
"byteOffset":1664
},
{
"buffer":0,
"byteLength":24,
"byteOffset":2624
},
{
"buffer":0,
"byteLength":960,
"byteOffset":2648
}
],
"buffers":[
{
"byteLength":3608,
"uri":"TestSkeleton.bin"
}
]
}