feat: implement 3D arena support and dynamic environment management in main scene
This commit is contained in:
@@ -0,0 +1,662 @@
|
||||
{
|
||||
"asset":{
|
||||
"generator":"Khronos glTF Blender I/O v4.3.47",
|
||||
"version":"2.0"
|
||||
},
|
||||
"scene":0,
|
||||
"scenes":[
|
||||
{
|
||||
"name":"Scene",
|
||||
"nodes":[
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes":[
|
||||
{
|
||||
"mesh":0,
|
||||
"name":"Wood.080",
|
||||
"rotation":[
|
||||
-0.05029609054327011,
|
||||
-0.05029609054327011,
|
||||
-0.7053157687187195,
|
||||
0.7053157687187195
|
||||
],
|
||||
"translation":[
|
||||
0.007440805435180664,
|
||||
-0.003078948240727186,
|
||||
0.007781963795423508
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh":1,
|
||||
"name":"Wood.081",
|
||||
"rotation":[
|
||||
-0.05864309147000313,
|
||||
-0.0656951516866684,
|
||||
-0.7431144714355469,
|
||||
0.6633446216583252
|
||||
],
|
||||
"translation":[
|
||||
-0.008272096514701843,
|
||||
-0.003078948240727186,
|
||||
0.00853613018989563
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh":2,
|
||||
"name":"Wood.082",
|
||||
"rotation":[
|
||||
0.38143062591552734,
|
||||
-0.4368383288383484,
|
||||
-0.6404442191123962,
|
||||
0.5035018920898438
|
||||
],
|
||||
"translation":[
|
||||
-0.010414578020572662,
|
||||
-0.003078948240727186,
|
||||
-0.008130230009555817
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh":3,
|
||||
"name":"Wood.083",
|
||||
"rotation":[
|
||||
-0.7433130145072937,
|
||||
0.6454100608825684,
|
||||
-0.056070178747177124,
|
||||
0.1666967272758484
|
||||
],
|
||||
"translation":[
|
||||
0.010056845843791962,
|
||||
0.0009707268327474594,
|
||||
-0.008130230009555817
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh":4,
|
||||
"name":"Wood.084",
|
||||
"rotation":[
|
||||
0,
|
||||
-0.047213114798069,
|
||||
0,
|
||||
0.9988848567008972
|
||||
],
|
||||
"scale":[
|
||||
0.5919666886329651,
|
||||
0.5919666290283203,
|
||||
0.5919666886329651
|
||||
],
|
||||
"translation":[
|
||||
0.000375114381313324,
|
||||
0.002372981049120426,
|
||||
0.008790384978055954
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh":5,
|
||||
"name":"Wood.085",
|
||||
"rotation":[
|
||||
0,
|
||||
0.003259525401517749,
|
||||
0,
|
||||
0.999994695186615
|
||||
],
|
||||
"scale":[
|
||||
0.7402728199958801,
|
||||
0.5919666290283203,
|
||||
0.5934626460075378
|
||||
],
|
||||
"translation":[
|
||||
0.000375114381313324,
|
||||
0.002372981049120426,
|
||||
-0.008834175765514374
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh":6,
|
||||
"name":"tekton_sofa",
|
||||
"scale":[
|
||||
0.010435270145535469,
|
||||
0.010435270145535469,
|
||||
0.010435270145535469
|
||||
],
|
||||
"translation":[
|
||||
0.0004387572407722473,
|
||||
0.0035201534628868103,
|
||||
-1.3820827007293701e-05
|
||||
]
|
||||
}
|
||||
],
|
||||
"materials":[
|
||||
{
|
||||
"alphaMode":"MASK",
|
||||
"doubleSided":true,
|
||||
"name":"river_boat_tex.016",
|
||||
"pbrMetallicRoughness":{
|
||||
"baseColorTexture":{
|
||||
"index":0
|
||||
},
|
||||
"metallicFactor":0,
|
||||
"roughnessFactor":0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"alphaMode":"MASK",
|
||||
"doubleSided":true,
|
||||
"name":"river_boat_tex.017",
|
||||
"pbrMetallicRoughness":{
|
||||
"baseColorTexture":{
|
||||
"index":1
|
||||
},
|
||||
"metallicFactor":0,
|
||||
"roughnessFactor":0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"doubleSided":true,
|
||||
"name":"tekton_sofa_1_tex",
|
||||
"pbrMetallicRoughness":{
|
||||
"baseColorTexture":{
|
||||
"index":2
|
||||
},
|
||||
"metallicFactor":0,
|
||||
"roughnessFactor":0.5
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes":[
|
||||
{
|
||||
"name":"Plane.017",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":0,
|
||||
"NORMAL":1,
|
||||
"TEXCOORD_0":2
|
||||
},
|
||||
"indices":3,
|
||||
"material":0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Plane.022",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":4,
|
||||
"NORMAL":5,
|
||||
"TEXCOORD_0":6
|
||||
},
|
||||
"indices":3,
|
||||
"material":0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Plane.024",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":7,
|
||||
"NORMAL":8,
|
||||
"TEXCOORD_0":9
|
||||
},
|
||||
"indices":3,
|
||||
"material":0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Plane.027",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":10,
|
||||
"NORMAL":11,
|
||||
"TEXCOORD_0":12
|
||||
},
|
||||
"indices":3,
|
||||
"material":0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Plane.028",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":13,
|
||||
"NORMAL":14,
|
||||
"TEXCOORD_0":15
|
||||
},
|
||||
"indices":3,
|
||||
"material":1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Plane.029",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":16,
|
||||
"NORMAL":17,
|
||||
"TEXCOORD_0":18
|
||||
},
|
||||
"indices":3,
|
||||
"material":1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Mesh",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":19,
|
||||
"NORMAL":20,
|
||||
"TEXCOORD_0":21
|
||||
},
|
||||
"indices":22,
|
||||
"material":2
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"textures":[
|
||||
{
|
||||
"sampler":0,
|
||||
"source":0
|
||||
},
|
||||
{
|
||||
"sampler":0,
|
||||
"source":0
|
||||
},
|
||||
{
|
||||
"sampler":0,
|
||||
"source":1
|
||||
}
|
||||
],
|
||||
"images":[
|
||||
{
|
||||
"mimeType":"image/png",
|
||||
"name":"river_boat_tex",
|
||||
"uri":"river_boat_tex.png"
|
||||
},
|
||||
{
|
||||
"mimeType":"image/png",
|
||||
"name":"tekton_sofa_1_tex",
|
||||
"uri":"tekton_sofa_1_tex.png"
|
||||
}
|
||||
],
|
||||
"accessors":[
|
||||
{
|
||||
"bufferView":0,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"max":[
|
||||
0.011924751102924347,
|
||||
0.0016884463839232922,
|
||||
0.0017384144011884928
|
||||
],
|
||||
"min":[
|
||||
-0.011924786493182182,
|
||||
-0.0015768199227750301,
|
||||
-0.001526850974187255
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":3,
|
||||
"componentType":5123,
|
||||
"count":2568,
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":4,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"max":[
|
||||
0.011924751102924347,
|
||||
0.0016884463839232922,
|
||||
0.0017384144011884928
|
||||
],
|
||||
"min":[
|
||||
-0.011924786493182182,
|
||||
-0.0015768199227750301,
|
||||
-0.001526850974187255
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":5,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":6,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":7,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"max":[
|
||||
0.011924751102924347,
|
||||
0.0016884463839232922,
|
||||
0.0017384144011884928
|
||||
],
|
||||
"min":[
|
||||
-0.011924786493182182,
|
||||
-0.0015768199227750301,
|
||||
-0.001526850974187255
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":8,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":9,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":10,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"max":[
|
||||
0.011924751102924347,
|
||||
0.0016884463839232922,
|
||||
0.0017384144011884928
|
||||
],
|
||||
"min":[
|
||||
-0.011924786493182182,
|
||||
-0.0015768199227750301,
|
||||
-0.001526850974187255
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":11,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":12,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":13,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"max":[
|
||||
0.01192479208111763,
|
||||
0.0016884463839232922,
|
||||
0.001738414983265102
|
||||
],
|
||||
"min":[
|
||||
-0.011924734339118004,
|
||||
-0.0015768199227750301,
|
||||
-0.0015268541174009442
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":14,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":15,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":16,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"max":[
|
||||
0.01192479208111763,
|
||||
0.0016884463839232922,
|
||||
0.001738414983265102
|
||||
],
|
||||
"min":[
|
||||
-0.011924734339118004,
|
||||
-0.0015768199227750301,
|
||||
-0.0015268541174009442
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":17,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":18,
|
||||
"componentType":5126,
|
||||
"count":611,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":19,
|
||||
"componentType":5126,
|
||||
"count":586,
|
||||
"max":[
|
||||
1,
|
||||
0.7484818696975708,
|
||||
1
|
||||
],
|
||||
"min":[
|
||||
-1,
|
||||
0,
|
||||
-1
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":20,
|
||||
"componentType":5126,
|
||||
"count":586,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":21,
|
||||
"componentType":5126,
|
||||
"count":586,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":22,
|
||||
"componentType":5123,
|
||||
"count":2292,
|
||||
"type":"SCALAR"
|
||||
}
|
||||
],
|
||||
"bufferViews":[
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":0,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":7332,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":4888,
|
||||
"byteOffset":14664,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":5136,
|
||||
"byteOffset":19552,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":24688,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":32020,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":4888,
|
||||
"byteOffset":39352,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":44240,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":51572,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":4888,
|
||||
"byteOffset":58904,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":63792,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":71124,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":4888,
|
||||
"byteOffset":78456,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":83344,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":90676,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":4888,
|
||||
"byteOffset":98008,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":102896,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7332,
|
||||
"byteOffset":110228,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":4888,
|
||||
"byteOffset":117560,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7032,
|
||||
"byteOffset":122448,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7032,
|
||||
"byteOffset":129480,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":4688,
|
||||
"byteOffset":136512,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":4584,
|
||||
"byteOffset":141200,
|
||||
"target":34963
|
||||
}
|
||||
],
|
||||
"samplers":[
|
||||
{
|
||||
"magFilter":9729,
|
||||
"minFilter":9987
|
||||
}
|
||||
],
|
||||
"buffers":[
|
||||
{
|
||||
"byteLength":145784,
|
||||
"uri":"Seat%201.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user