Asset Generation: Campfire, Tent, Sleeping Bag, UI Elements (Health, Inventory, Dialog). Cleaned GrassScene.

This commit is contained in:
2026-01-28 07:45:24 +01:00
parent b686be33ab
commit 94565adffc
69 changed files with 5208 additions and 122 deletions

View File

@@ -54,6 +54,20 @@ def clean_pink_and_soften(input_path, output_path):
print(f"Saved cleaned image to {output_path}")
if __name__ == "__main__":
# Hardcoded path as per instructions: Vegetation/visoka_trava_v2.png
target = 'assets/DEMO_FAZA1/Vegetation/visoka_trava_v2.png'
clean_pink_and_soften(target, target)
base_dir = 'assets/DEMO_FAZA1'
target_subdirs = ['Vegetation', 'Ground', 'Environment']
for subdir in target_subdirs:
target_dir = os.path.join(base_dir, subdir)
if not os.path.exists(target_dir):
print(f"Directory not found: {target_dir}")
continue
print(f"--- Processing {subdir} ---")
for filename in os.listdir(target_dir):
if filename.lower().endswith(".png"):
# Filter for specific files if needed, or process all to be safe as per user request "na vseh teh spritih"
# User specifically mentioned: grass, stream_water, tla_trava_tekstura
full_path = os.path.join(target_dir, filename)
clean_pink_and_soften(full_path, full_path)