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

@@ -41,22 +41,22 @@ export2edit: import-vrm
BLENDDIR_BUILDINGS=assets/blender/buildings
GLTFDIR_BUILDINGS=godot/astream/terrain/details
BUILDINGS_BUSINNESS=business-bar1 business-cafe1 business-office1 buisness-store1
BUILDINGS_RESIDENTAL=residental-house1 residental-house2 residental-house \
BUILDINGS_RESIDENTAL=residental-house1 residental-house2 residental-house3 \
residental-house4 residental-house5 residental-house6 \
residental-house7 residental-house8 residental-house9 \
residental-house10 residental-house11 residental-house13 \
residental-hut1 residental-garage-door \
residental-hut1 residental-hut1-lod residental-garage-door \
residental-garage-enterance residental-garage \
residental-parking residental-wall1 residental-wall-corner
BUILDINGS_MAIN=gym-exterior home-exterior logistics-center-exterior office-exterior townhall-exterior
BUILDINGS_MAIN=gym-exterior home-exterior \
logistics-center-exterior office-exterior townhall-exterior
BUILDINGS=bus-stop power-in-box power-pole power-pole-wire $(BUILDINGS_BUSINESS) \
$(BUILDINGS_RESIDENTAL) $(BUILDINGS_MAIN)
$(BUILDINGS_RESIDENTAL) $(BUILDINGS_MAIN) \
zebra
define export_building
$(GLTFDIR_BUILDINGS)/$(1).gltf: $(BLENDDIR_BUILDINGS)/$(1).blend
$(GLTFDIR_BUILDINGS)/$(1).gltf: $(BLENDDIR_BUILDINGS)/$(1).blend assets/blender/scripts/export_buildings.py
$(BLENDER) -b $(BLENDDIR_BUILDINGS)/$(1).blend -P /home/slapin/godot-projects/streaming_world/assets/blender/scripts/export_buildings.py -- $(GLTFDIR_BUILDINGS)/$(1).gltf
ALL_BUILDINGS += $(GLTFDIR_BUILDINGS)/$(1).gltf
CLEAN_BUILDINGS += $(GLTFDIR_BUILDINGS)/$(1).gltf \