Save on draw calls

This commit is contained in:
2025-03-17 19:40:50 +03:00
parent 8e140fb878
commit ea792d8ea9
101 changed files with 2141 additions and 13712 deletions

View File

@@ -1,245 +0,0 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v3.6.27",
"version":"2.0"
},
"extensionsUsed":[
"KHR_materials_specular",
"KHR_materials_ior"
],
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0,
1,
2
]
}
],
"nodes":[
{
"mesh":0,
"name":"box-col"
},
{
"mesh":1,
"name":"wire-attachment",
"translation":[
-0.20000001788139343,
1,
0
]
},
{
"mesh":1,
"name":"wire-attachment.001",
"translation":[
0.19999998807907104,
1,
0
]
}
],
"materials":[
{
"alphaCutoff":0.5,
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
},
"metallicFactor":0
}
}
],
"meshes":[
{
"name":"Cube",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3,
"material":0
}
]
},
{
"name":"wire-attachment",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":7,
"material":0
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"Atlas_36953.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":24,
"max":[
0.3999999761581421,
1,
0.19999998807907104
],
"min":[
-0.3999999761581421,
0,
-0.19999998807907104
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":24,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":24,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":36,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":704,
"max":[
0.04682454466819763,
0.12682461738586426,
0.04682454466819763
],
"min":[
-0.04682457447052002,
-0.0068245530128479,
-0.04682454466819763
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":704,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":704,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5123,
"count":1140,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":288,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":288,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":576,
"target":34962
},
{
"buffer":0,
"byteLength":72,
"byteOffset":768,
"target":34963
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":840,
"target":34962
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":9288,
"target":34962
},
{
"buffer":0,
"byteLength":5632,
"byteOffset":17736,
"target":34962
},
{
"buffer":0,
"byteLength":2280,
"byteOffset":23368,
"target":34963
}
],
"samplers":[
{
"magFilter":9729,
"minFilter":9987
}
],
"buffers":[
{
"byteLength":25648,
"uri":"power-in-box.bin"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +0,0 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://astream/terrain/details/parts/power-in-box.gltf" type="PackedScene" id=1]
[node name="power-in-box" instance=ExtResource( 1 )]

View File

@@ -1,444 +0,0 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v3.6.27",
"version":"2.0"
},
"extensionsUsed":[
"KHR_materials_specular",
"KHR_materials_ior"
],
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0,
1,
2,
3,
4,
5,
6
]
}
],
"nodes":[
{
"mesh":0,
"name":"wire-attachment-noimp.001",
"translation":[
-1.4500000476837158,
11.90000057220459,
-0.2499999850988388
]
},
{
"mesh":0,
"name":"wire-attachment-noimp.003",
"translation":[
1.4500000476837158,
11.90000057220459,
-0.2499999850988388
]
},
{
"mesh":1,
"name":"wire_r"
},
{
"mesh":1,
"name":"wire_l",
"translation":[
-2.8999996185302734,
0,
0
]
},
{
"mesh":2,
"name":"wire-attachment",
"translation":[
-1.4500000476837158,
11.90000057220459,
-39.75
]
},
{
"mesh":2,
"name":"wire-attachment.001",
"translation":[
1.4500000476837158,
11.90000057220459,
-39.75
]
},
{
"mesh":3,
"name":"box-col.001",
"translation":[
0,
11.800000190734863,
-39.70000076293945
]
}
],
"materials":[
{
"alphaCutoff":0.5,
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
},
"metallicFactor":0
}
},
{
"alphaCutoff":0.5,
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1.001",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":1
},
"metallicFactor":0
}
}
],
"meshes":[
{
"name":"wire-attachment.001",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3,
"material":0
}
]
},
{
"name":"midwire.001",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":7,
"material":0
}
]
},
{
"name":"wire-attachment.002",
"primitives":[
{
"attributes":{
"POSITION":8,
"NORMAL":9,
"TEXCOORD_0":10
},
"indices":3,
"material":0
}
]
},
{
"name":"Cube.004",
"primitives":[
{
"attributes":{
"POSITION":11,
"NORMAL":12,
"TEXCOORD_0":13
},
"indices":14,
"material":1
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":0
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"Atlas_36953.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":704,
"max":[
0.04682454466819763,
0.12682461738586426,
0.04682454466819763
],
"min":[
-0.04682457447052002,
-0.0068245530128479,
-0.04682454466819763
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":704,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":704,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":1140,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":262,
"max":[
1.5052615404129028,
11.985416412353516,
-0.2033638060092926
],
"min":[
1.393612027168274,
11.737929344177246,
-39.78764343261719
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":262,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":262,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5123,
"count":444,
"type":"SCALAR"
},
{
"bufferView":8,
"componentType":5126,
"count":704,
"max":[
0.04682454466819763,
0.12682461738586426,
0.04682454466819763
],
"min":[
-0.04682457447052002,
-0.0068245530128479,
-0.04682454466819763
],
"type":"VEC3"
},
{
"bufferView":9,
"componentType":5126,
"count":704,
"type":"VEC3"
},
{
"bufferView":10,
"componentType":5126,
"count":704,
"type":"VEC2"
},
{
"bufferView":11,
"componentType":5126,
"count":24,
"max":[
1.600000023841858,
0.09999996423721313,
0
],
"min":[
-1.600000023841858,
0,
-0.10000000149011612
],
"type":"VEC3"
},
{
"bufferView":12,
"componentType":5126,
"count":24,
"type":"VEC3"
},
{
"bufferView":13,
"componentType":5126,
"count":24,
"type":"VEC2"
},
{
"bufferView":14,
"componentType":5123,
"count":36,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":8448,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":8448,
"target":34962
},
{
"buffer":0,
"byteLength":5632,
"byteOffset":16896,
"target":34962
},
{
"buffer":0,
"byteLength":2280,
"byteOffset":22528,
"target":34963
},
{
"buffer":0,
"byteLength":3144,
"byteOffset":24808,
"target":34962
},
{
"buffer":0,
"byteLength":3144,
"byteOffset":27952,
"target":34962
},
{
"buffer":0,
"byteLength":2096,
"byteOffset":31096,
"target":34962
},
{
"buffer":0,
"byteLength":888,
"byteOffset":33192,
"target":34963
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":34080,
"target":34962
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":42528,
"target":34962
},
{
"buffer":0,
"byteLength":5632,
"byteOffset":50976,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":56608,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":56896,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":57184,
"target":34962
},
{
"buffer":0,
"byteLength":72,
"byteOffset":57376,
"target":34963
}
],
"samplers":[
{
"magFilter":9729,
"minFilter":9987
}
],
"buffers":[
{
"byteLength":57448,
"uri":"power-pole-wire.bin"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://astream/terrain/details/parts/power-pole-wire.gltf" type="PackedScene" id=1]
[ext_resource path="res://astream/terrain/details/parts/power-pole.tscn" type="PackedScene" id=2]
[node name="power-pole-wire" type="Spatial"]
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="power-pole" parent="MergeGroup" instance=ExtResource( 2 )]
[node name="power-pole-wire" parent="MergeGroup" instance=ExtResource( 1 )]

View File

@@ -1,585 +0,0 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v3.6.27",
"version":"2.0"
},
"extensionsUsed":[
"KHR_materials_specular",
"KHR_materials_ior"
],
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
2,
5,
8
]
}
],
"nodes":[
{
"mesh":0,
"name":"wire-attachment",
"translation":[
-1.4500000476837158,
0.10000038146972656,
0.04999999701976776
]
},
{
"mesh":0,
"name":"wire-attachment.001",
"translation":[
1.4500000476837158,
0.10000038146972656,
0.04999999701976776
]
},
{
"children":[
0,
1
],
"mesh":1,
"name":"box-col",
"translation":[
0,
11.800000190734863,
0.20000000298023224
]
},
{
"mesh":2,
"name":"Cube",
"scale":[
0.02500000037252903,
0.02500000037252903,
0.25
],
"translation":[
1.4799997806549072,
11.959999084472656,
0
]
},
{
"mesh":2,
"name":"Cube.001",
"scale":[
0.02500000037252903,
0.02500000037252903,
0.25
],
"translation":[
-1.4199998378753662,
11.959999084472656,
0
]
},
{
"children":[
3,
4
],
"mesh":3,
"name":"pole-col"
},
{
"mesh":4,
"name":"wire-attachment.002",
"translation":[
-1.4500000476837158,
0.10000038146972656,
-0.04999998211860657
]
},
{
"mesh":4,
"name":"wire-attachment.003",
"translation":[
1.4500000476837158,
0.10000038146972656,
-0.04999998211860657
]
},
{
"children":[
6,
7
],
"mesh":5,
"name":"box-col.001",
"translation":[
0,
11.800000190734863,
-0.20000000298023224
]
}
],
"materials":[
{
"alphaCutoff":0.5,
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
},
"metallicFactor":0
}
}
],
"meshes":[
{
"name":"wire-attachment",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3,
"material":0
}
]
},
{
"name":"Cube",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":7,
"material":0
}
]
},
{
"name":"midwire",
"primitives":[
{
"attributes":{
"POSITION":8,
"NORMAL":9,
"TEXCOORD_0":10
},
"indices":11,
"material":0
}
]
},
{
"name":"Cylinder",
"primitives":[
{
"attributes":{
"POSITION":12,
"NORMAL":13,
"TEXCOORD_0":14
},
"indices":15,
"material":0
}
]
},
{
"name":"wire-attachment.001",
"primitives":[
{
"attributes":{
"POSITION":16,
"NORMAL":17,
"TEXCOORD_0":18
},
"indices":3,
"material":0
}
]
},
{
"name":"Cube.001",
"primitives":[
{
"attributes":{
"POSITION":19,
"NORMAL":20,
"TEXCOORD_0":21
},
"indices":7,
"material":0
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"Atlas_36953.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":704,
"max":[
0.04682454466819763,
0.12682461738586426,
0.04682454466819763
],
"min":[
-0.04682457447052002,
-0.0068245530128479,
-0.04682454466819763
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":704,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":704,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":1140,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":24,
"max":[
1.600000023841858,
0.09999996423721313,
0.10000000149011612
],
"min":[
-1.600000023841858,
0,
0
],
"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":208,
"max":[
0.42389652132987976,
0.5565260648727417,
1.1354808807373047
],
"min":[
-2.810861349105835,
-1.7565529346466064,
-1.1505810022354126
],
"type":"VEC3"
},
{
"bufferView":9,
"componentType":5126,
"count":208,
"type":"VEC3"
},
{
"bufferView":10,
"componentType":5126,
"count":208,
"type":"VEC2"
},
{
"bufferView":11,
"componentType":5123,
"count":372,
"type":"SCALAR"
},
{
"bufferView":12,
"componentType":5126,
"count":111,
"max":[
0.7418670654296875,
12,
0.7418670654296875
],
"min":[
-0.7418670654296875,
0,
-0.7418670654296875
],
"type":"VEC3"
},
{
"bufferView":13,
"componentType":5126,
"count":111,
"type":"VEC3"
},
{
"bufferView":14,
"componentType":5126,
"count":111,
"type":"VEC2"
},
{
"bufferView":15,
"componentType":5123,
"count":420,
"type":"SCALAR"
},
{
"bufferView":16,
"componentType":5126,
"count":704,
"max":[
0.04682454466819763,
0.12682461738586426,
0.04682454466819763
],
"min":[
-0.04682457447052002,
-0.0068245530128479,
-0.04682454466819763
],
"type":"VEC3"
},
{
"bufferView":17,
"componentType":5126,
"count":704,
"type":"VEC3"
},
{
"bufferView":18,
"componentType":5126,
"count":704,
"type":"VEC2"
},
{
"bufferView":19,
"componentType":5126,
"count":24,
"max":[
1.600000023841858,
0.09999996423721313,
0
],
"min":[
-1.600000023841858,
0,
-0.10000000149011612
],
"type":"VEC3"
},
{
"bufferView":20,
"componentType":5126,
"count":24,
"type":"VEC3"
},
{
"bufferView":21,
"componentType":5126,
"count":24,
"type":"VEC2"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":8448,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":8448,
"target":34962
},
{
"buffer":0,
"byteLength":5632,
"byteOffset":16896,
"target":34962
},
{
"buffer":0,
"byteLength":2280,
"byteOffset":22528,
"target":34963
},
{
"buffer":0,
"byteLength":288,
"byteOffset":24808,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":25096,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":25384,
"target":34962
},
{
"buffer":0,
"byteLength":72,
"byteOffset":25576,
"target":34963
},
{
"buffer":0,
"byteLength":2496,
"byteOffset":25648,
"target":34962
},
{
"buffer":0,
"byteLength":2496,
"byteOffset":28144,
"target":34962
},
{
"buffer":0,
"byteLength":1664,
"byteOffset":30640,
"target":34962
},
{
"buffer":0,
"byteLength":744,
"byteOffset":32304,
"target":34963
},
{
"buffer":0,
"byteLength":1332,
"byteOffset":33048,
"target":34962
},
{
"buffer":0,
"byteLength":1332,
"byteOffset":34380,
"target":34962
},
{
"buffer":0,
"byteLength":888,
"byteOffset":35712,
"target":34962
},
{
"buffer":0,
"byteLength":840,
"byteOffset":36600,
"target":34963
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":37440,
"target":34962
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":45888,
"target":34962
},
{
"buffer":0,
"byteLength":5632,
"byteOffset":54336,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":59968,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":60256,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":60544,
"target":34962
}
],
"samplers":[
{
"magFilter":9729,
"minFilter":9987
}
],
"buffers":[
{
"byteLength":60736,
"uri":"power-pole.bin"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +0,0 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://astream/terrain/details/parts/power-pole.gltf" type="PackedScene" id=1]
[node name="power-pole" type="Spatial"]
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="power-pole" parent="MergeGroup" instance=ExtResource( 1 )]

View File

@@ -3,3 +3,4 @@
[ext_resource path="res://astream/terrain/details/parts/terrain-road-segment.gltf" type="PackedScene" id=1]
[node name="terrain-road-segment" instance=ExtResource( 1 )]
visible = false