Studio 3D Asset Builder

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.

AI 3D Engine Stack

Budynki Osady — Generacja GLB

Ładowanie...

Pipeline GLB / GLTF — Instrukcja

🧊 Meshy AI (REST API)

  1. POST /api/mmo/generate3d {building_id, mode: "preview"}
  2. Poll GET /api/mmo/generate3d?job_id=XXX co 5s
  3. Gdy status=SUCCEEDED → POST mode: "refine", preview_task_id
  4. Pobierz model_urls.glb i skopiuj do /public/assets/3d/buildings/
  5. Ustaw glbAvailable=true dla budynku w Scene.tsx

⚡ 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