Files
snow_trail/meshes/terrain.gltf
2026-02-08 14:06:35 +01:00

519 lines
7.3 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
]
}
],
"nodes":[
{
"mesh":0,
"name":"TreePrime",
"translation":[
16.22920036315918,
29.08228302001953,
39.89393615722656
]
},
{
"children":[
5,
6
],
"mesh":3,
"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":[
-392.0350036621094,
238.72787475585938,
244.30006408691406
]
},
{
"extensions":{
"EXT_mesh_gpu_instancing":{
"attributes":{
"TRANSLATION":17,
"ROTATION":18,
"SCALE":19
}
}
},
"mesh":1,
"name":"TerrainPlane.0"
},
{
"extensions":{
"EXT_mesh_gpu_instancing":{
"attributes":{
"TRANSLATION":17,
"ROTATION":18,
"SCALE":19
}
}
},
"mesh":2,
"name":"TerrainPlane.1"
}
],
"materials":[
{
"doubleSided":true,
"name":"terrain"
},
{
"doubleSided":true,
"name":"snow",
"pbrMetallicRoughness":{
"baseColorFactor":[
0.800000011920929,
0.800000011920929,
0.800000011920929,
1
],
"metallicFactor":0,
"roughnessFactor":0.5
}
}
],
"meshes":[
{
"name":"Cylinder",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3
}
]
},
{
"name":"Cylinder",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":3,
"material":0
}
]
},
{
"name":"Cylinder",
"primitives":[
{
"attributes":{
"POSITION":7,
"NORMAL":8,
"TEXCOORD_0":9
},
"indices":3,
"material":1
}
]
},
{
"name":"Plane.001",
"primitives":[
{
"attributes":{
"POSITION":10,
"NORMAL":11,
"TEXCOORD_0":12
},
"indices":13,
"material":0
},
{
"attributes":{
"POSITION":14,
"NORMAL":15,
"TEXCOORD_0":16
},
"indices":13,
"material":1
}
]
}
],
"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":1280,
"max":[
5.561562538146973,
16.066009521484375,
5.561562538146973
],
"min":[
-5.561562538146973,
0,
-5.561562538146973
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":1280,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":1280,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5126,
"count":1280,
"max":[
5.561562538146973,
16.066009521484375,
5.561562538146973
],
"min":[
-5.561562538146973,
0,
-5.561562538146973
],
"type":"VEC3"
},
{
"bufferView":8,
"componentType":5126,
"count":1280,
"type":"VEC3"
},
{
"bufferView":9,
"componentType":5126,
"count":1280,
"type":"VEC2"
},
{
"bufferView":10,
"componentType":5126,
"count":10404,
"max":[
500,
110.45686340332031,
500
],
"min":[
-500,
-0.9473495483398438,
-500
],
"type":"VEC3"
},
{
"bufferView":11,
"componentType":5126,
"count":10404,
"type":"VEC3"
},
{
"bufferView":12,
"componentType":5126,
"count":10404,
"type":"VEC2"
},
{
"bufferView":13,
"componentType":5123,
"count":61206,
"type":"SCALAR"
},
{
"bufferView":14,
"componentType":5126,
"count":10404,
"max":[
500,
110.7568588256836,
500
],
"min":[
-500,
-0.6476199626922607,
-500
],
"type":"VEC3"
},
{
"bufferView":15,
"componentType":5126,
"count":10404,
"type":"VEC3"
},
{
"bufferView":16,
"componentType":5126,
"count":10404,
"type":"VEC2"
},
{
"bufferView":17,
"componentType":5126,
"count":2380,
"type":"VEC3"
},
{
"bufferView":18,
"componentType":5126,
"count":2380,
"type":"VEC4"
},
{
"bufferView":19,
"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":15360,
"byteOffset":45160,
"target":34962
},
{
"buffer":0,
"byteLength":15360,
"byteOffset":60520,
"target":34962
},
{
"buffer":0,
"byteLength":10240,
"byteOffset":75880,
"target":34962
},
{
"buffer":0,
"byteLength":15360,
"byteOffset":86120,
"target":34962
},
{
"buffer":0,
"byteLength":15360,
"byteOffset":101480,
"target":34962
},
{
"buffer":0,
"byteLength":10240,
"byteOffset":116840,
"target":34962
},
{
"buffer":0,
"byteLength":124848,
"byteOffset":127080,
"target":34962
},
{
"buffer":0,
"byteLength":124848,
"byteOffset":251928,
"target":34962
},
{
"buffer":0,
"byteLength":83232,
"byteOffset":376776,
"target":34962
},
{
"buffer":0,
"byteLength":122412,
"byteOffset":460008,
"target":34963
},
{
"buffer":0,
"byteLength":124848,
"byteOffset":582420,
"target":34962
},
{
"buffer":0,
"byteLength":124848,
"byteOffset":707268,
"target":34962
},
{
"buffer":0,
"byteLength":83232,
"byteOffset":832116,
"target":34962
},
{
"buffer":0,
"byteLength":28560,
"byteOffset":915348
},
{
"buffer":0,
"byteLength":38080,
"byteOffset":943908
},
{
"buffer":0,
"byteLength":28560,
"byteOffset":981988
}
],
"buffers":[
{
"byteLength":1010548,
"uri":"terrain.bin"
}
]
}