webgpu-app/gltf/lamp.gltf

396 lines
5.4 KiB
JSON

{
"asset":{
"generator":"Khronos glTF Blender I/O v5.2.39",
"version":"2.0"
},
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
3
]
}
],
"nodes":[
{
"mesh":0,
"name":"LanternPole_Body",
"translation":[
-3.8231542110443115,
13.016030311584473,
0
]
},
{
"mesh":1,
"name":"LanternPole_Chain",
"translation":[
-9.582000732421875,
21.037872314453125,
0
]
},
{
"mesh":2,
"name":"LanternPole_Lantern",
"translation":[
-9.58200740814209,
18.009151458740234,
0
]
},
{
"children":[
0,
1,
2
],
"name":"Lantern",
"rotation":[
0,
1,
0,
0
]
}
],
"materials":[
{
"emissiveFactor":[
1,
1,
1
],
"emissiveTexture":{
"index":0
},
"name":"LanternPost_Mat",
"normalTexture":{
"index":1
},
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":2
},
"metallicRoughnessTexture":{
"index":3
}
}
}
],
"meshes":[
{
"name":"LanternPole_Body",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2,
"TANGENT":3
},
"indices":4,
"material":0
}
]
},
{
"name":"LanternPole_Chain",
"primitives":[
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7,
"TANGENT":8
},
"indices":9,
"material":0
}
]
},
{
"name":"LanternPole_Lantern",
"primitives":[
{
"attributes":{
"POSITION":10,
"NORMAL":11,
"TEXCOORD_0":12,
"TANGENT":13
},
"indices":14,
"material":0
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
},
{
"sampler":0,
"source":3
}
],
"images":[
{
"mimeType":"image/png",
"name":"Image_3",
"uri":"Image_3.png"
},
{
"mimeType":"image/png",
"name":"Image_2",
"uri":"Image_2.png"
},
{
"mimeType":"image/png",
"name":"Image_0",
"uri":"Image_0.png"
},
{
"mimeType":"image/png",
"name":"Image_1",
"uri":"Image_1.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":941,
"max":[
7.745599269866943,
12.832109451293945,
2.3157098293304443
],
"min":[
-7.745599269866943,
-12.832109451293945,
-2.3157098293304443
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":941,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":941,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":941,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":2616,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":756,
"max":[
0.12920807301998138,
0.6523504257202148,
0.12920807301998138
],
"min":[
-0.12920807301998138,
-0.6523504257202148,
-0.12920807301998138
],
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":756,
"type":"VEC3"
},
{
"bufferView":7,
"componentType":5126,
"count":756,
"type":"VEC2"
},
{
"bufferView":8,
"componentType":5126,
"count":756,
"type":"VEC4"
},
{
"bufferView":9,
"componentType":5123,
"count":3744,
"type":"SCALAR"
},
{
"bufferView":10,
"componentType":5126,
"count":2543,
"max":[
1.034082293510437,
2.5292809009552,
1.034084677696228
],
"min":[
-1.034082293510437,
-2.5292809009552,
-1.034084677696228
],
"type":"VEC3"
},
{
"bufferView":11,
"componentType":5126,
"count":2543,
"type":"VEC3"
},
{
"bufferView":12,
"componentType":5126,
"count":2543,
"type":"VEC2"
},
{
"bufferView":13,
"componentType":5126,
"count":2543,
"type":"VEC4"
},
{
"bufferView":14,
"componentType":5123,
"count":9822,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":11292,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":11292,
"byteOffset":11292,
"target":34962
},
{
"buffer":0,
"byteLength":7528,
"byteOffset":22584,
"target":34962
},
{
"buffer":0,
"byteLength":15056,
"byteOffset":30112,
"target":34962
},
{
"buffer":0,
"byteLength":5232,
"byteOffset":45168,
"target":34963
},
{
"buffer":0,
"byteLength":9072,
"byteOffset":50400,
"target":34962
},
{
"buffer":0,
"byteLength":9072,
"byteOffset":59472,
"target":34962
},
{
"buffer":0,
"byteLength":6048,
"byteOffset":68544,
"target":34962
},
{
"buffer":0,
"byteLength":12096,
"byteOffset":74592,
"target":34962
},
{
"buffer":0,
"byteLength":7488,
"byteOffset":86688,
"target":34963
},
{
"buffer":0,
"byteLength":30516,
"byteOffset":94176,
"target":34962
},
{
"buffer":0,
"byteLength":30516,
"byteOffset":124692,
"target":34962
},
{
"buffer":0,
"byteLength":20344,
"byteOffset":155208,
"target":34962
},
{
"buffer":0,
"byteLength":40688,
"byteOffset":175552,
"target":34962
},
{
"buffer":0,
"byteLength":19644,
"byteOffset":216240,
"target":34963
}
],
"samplers":[
{
"magFilter":9729,
"minFilter":9987
}
],
"buffers":[
{
"byteLength":235884,
"uri":"lamp.bin"
}
]
}