Meshy × Luma × TripoSR × CSM × Spline × Blender AI Pipeline
Generuje pełne .glb modele z teksturami PBR (Albedo + Normal + Metal/Rough + Emissive), rigiem i animacjami dla wszystkich budynków Osady. Modele automatycznie ładują się w Three.js zamiast proceduralnych geometrii.
🧊 Meshy AI (REST API)
/public/assets/3d/buildings/⚡ TripoSR (lokalne / Python)
# Zainstaluj TripoSR
pip install triposr
# Generowanie z obrazu (np. Grok render)
python run.py \
public/assets/buildings/hq_grok.jpg \
--output-dir public/assets/3d/buildings/ \
--model-save-format glb🌀 Luma AI Genie
Wgraj render Grok na lumalabs.ai/genie → wybierz "3D Object" → pobierz GLB. Luma używa neural radiance fields (NeRF) do rekonstrukcji 3D z obrazu.
🟠 Blender AI (Dream Textures)
# W Blenderze:
# 1. Modeluj low-poly building
# 2. Dream Textures addon → Unwrap + Generate PBR
# 3. File → Export → GLTF 2.0 (.glb)
# 4. Opcje: Include Animations, PBR Materials