Files
snow_trail/assets/meshes/terrain.gltf
2026-03-28 10:34:19 +01:00

562 lines
7.8 KiB
JSON

{
"asset":{
"generator":"Khronos glTF Blender I/O v5.0.21",
"version":"2.0"
},
"extensionsUsed":[
"KHR_lights_punctual",
"EXT_mesh_gpu_instancing"
],
"extensionsRequired":[
"KHR_lights_punctual"
],
"extensions":{
"KHR_lights_punctual":{
"lights":[
{
"color":[
1,
1,
1
],
"intensity":543.5141306588226,
"spot":{
"innerConeAngle":0.18840259313583374,
"outerConeAngle":0.18840259313583374
},
"type":"spot",
"range":1000,
"name":"Spot",
"extras":{
"light_tag":"lighthouse"
}
}
]
}
},
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0,
1,
2,
3,
4,
5,
6,
7
]
}
],
"nodes":[
{
"mesh":0,
"name":"TreePrime",
"translation":[
16.22920036315918,
29.08228302001953,
39.89393615722656
]
},
{
"mesh":1,
"name":"Lighthouse_base",
"rotation":[
0,
-0.31448131799697876,
0,
0.9492637515068054
],
"scale":[
25.161100387573242,
8.222701072692871,
8.222701072692871
],
"translation":[
-367.9805908203125,
113.61730194091797,
212.62832641601562
]
},
{
"mesh":2,
"name":"Lighthouse",
"scale":[
2.1515703201293945,
24.724905014038086,
2.1515703201293945
],
"translation":[
-343.6542053222656,
152.96629333496094,
231.81927490234375
]
},
{
"children":[
8
],
"mesh":4,
"name":"TerrainPlane",
"scale":[
1.000100016593933,
1,
1
]
},
{
"name":"Main_Light_Path",
"translation":[
491.1999816894531,
0,
-66.48489379882812
]
},
{
"name":"PlayerSpawn",
"translation":[
-351.4849853515625,
119.54279327392578,
202.97006225585938
]
},
{
"extensions":{
"KHR_lights_punctual":{
"light":0
}
},
"name":"Spot",
"rotation":[
-0.16434744000434875,
-0.37808698415756226,
0.006467622704803944,
0.9110424518585205
],
"translation":[
-344.301025390625,
223.67401123046875,
232.61265563964844
]
},
{
"name":"TestCharSpawn",
"translation":[
-381.1509704589844,
106.53739166259766,
107.46959686279297
]
},
{
"extensions":{
"EXT_mesh_gpu_instancing":{
"attributes":{
"TRANSLATION":19,
"ROTATION":20,
"SCALE":21
}
}
},
"mesh":3,
"name":"TerrainPlane.0"
}
],
"materials":[
{
"doubleSided":true,
"name":"terrain"
}
],
"meshes":[
{
"name":"Cylinder",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3
}
]
},
{
"name":"Cube",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":7
}
]
},
{
"name":"Cylinder.001",
"primitives":[
{
"attributes":{
"POSITION":8,
"NORMAL":9,
"TEXCOORD_0":10
},
"indices":11
}
]
},
{
"name":"Cylinder",
"primitives":[
{
"attributes":{
"POSITION":12,
"NORMAL":13,
"TEXCOORD_0":14
},
"indices":3
}
]
},
{
"name":"Plane.001",
"primitives":[
{
"attributes":{
"POSITION":15,
"NORMAL":16,
"TEXCOORD_0":17
},
"indices":18,
"material":0
}
]
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":1280,
"max":[
5.561562538146973,
16.066009521484375,
5.561562538146973
],
"min":[
-5.561562538146973,
0,
-5.561562538146973
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":1280,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":1280,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":2100,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":24,
"max":[
1,
1,
1
],
"min":[
-1,
-1,
-1
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":24,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":24,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5123,
"count":36,
"type":"SCALAR"
},
{
"bufferView":8,
"componentType":5126,
"count":704,
"max":[
6.253715991973877,
2.2209415435791016,
6.253798961639404
],
"min":[
-6.253823757171631,
-1.9492745399475098,
-6.25374174118042
],
"type":"VEC3"
},
{
"bufferView":9,
"componentType":5126,
"count":704,
"type":"VEC3"
},
{
"bufferView":10,
"componentType":5126,
"count":704,
"type":"VEC2"
},
{
"bufferView":11,
"componentType":5123,
"count":1140,
"type":"SCALAR"
},
{
"bufferView":12,
"componentType":5126,
"count":1280,
"max":[
5.561562538146973,
16.066009521484375,
5.561562538146973
],
"min":[
-5.561562538146973,
0,
-5.561562538146973
],
"type":"VEC3"
},
{
"bufferView":13,
"componentType":5126,
"count":1280,
"type":"VEC3"
},
{
"bufferView":14,
"componentType":5126,
"count":1280,
"type":"VEC2"
},
{
"bufferView":15,
"componentType":5126,
"count":10404,
"max":[
500,
110.45686340332031,
500
],
"min":[
-500,
-0.9473495483398438,
-500
],
"type":"VEC3"
},
{
"bufferView":16,
"componentType":5126,
"count":10404,
"type":"VEC3"
},
{
"bufferView":17,
"componentType":5126,
"count":10404,
"type":"VEC2"
},
{
"bufferView":18,
"componentType":5123,
"count":61206,
"type":"SCALAR"
},
{
"bufferView":19,
"componentType":5126,
"count":2380,
"type":"VEC3"
},
{
"bufferView":20,
"componentType":5126,
"count":2380,
"type":"VEC4"
},
{
"bufferView":21,
"componentType":5126,
"count":2380,
"type":"VEC3"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":15360,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":15360,
"byteOffset":15360,
"target":34962
},
{
"buffer":0,
"byteLength":10240,
"byteOffset":30720,
"target":34962
},
{
"buffer":0,
"byteLength":4200,
"byteOffset":40960,
"target":34963
},
{
"buffer":0,
"byteLength":288,
"byteOffset":45160,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":45448,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":45736,
"target":34962
},
{
"buffer":0,
"byteLength":72,
"byteOffset":45928,
"target":34963
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":46000,
"target":34962
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":54448,
"target":34962
},
{
"buffer":0,
"byteLength":5632,
"byteOffset":62896,
"target":34962
},
{
"buffer":0,
"byteLength":2280,
"byteOffset":68528,
"target":34963
},
{
"buffer":0,
"byteLength":15360,
"byteOffset":70808,
"target":34962
},
{
"buffer":0,
"byteLength":15360,
"byteOffset":86168,
"target":34962
},
{
"buffer":0,
"byteLength":10240,
"byteOffset":101528,
"target":34962
},
{
"buffer":0,
"byteLength":124848,
"byteOffset":111768,
"target":34962
},
{
"buffer":0,
"byteLength":124848,
"byteOffset":236616,
"target":34962
},
{
"buffer":0,
"byteLength":83232,
"byteOffset":361464,
"target":34962
},
{
"buffer":0,
"byteLength":122412,
"byteOffset":444696,
"target":34963
},
{
"buffer":0,
"byteLength":28560,
"byteOffset":567108
},
{
"buffer":0,
"byteLength":38080,
"byteOffset":595668
},
{
"buffer":0,
"byteLength":28560,
"byteOffset":633748
}
],
"buffers":[
{
"byteLength":662308,
"uri":"terrain.bin"
}
]
}