Save on draw calls
This commit is contained in:
12
Makefile
12
Makefile
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user