Skip to content

Add Aislinn's authored 3D model and load heroine GLBs #2

Summary

  • Adds Aislinn's procedural Blender source (tools/blender/aislinn.py) and exports her as assets/models/aislinn.glb (~26k triangles, no textures).
  • Models her to match the Lake Bala origin: pale mist-blue slip dress, bare feet, long moonlit hair, ankle mist, water coils, and orbs of mist between her palms; no hood or cape.
  • Adds a four-view turnaround preview at assets/models/aislinn-preview.png.
  • Introduces HERO_MODEL_DIR / HERO_MODEL_FILES in src/assets.js and loads heroine GLBs in src/view.js, replacing the procedural silhouette for that heroine when a model is available.
  • Clones the authored model per unit with independent materials so combat flashes don't bleed across units, and reuses the shared HUD builder for health bars and status dots.
  • Includes heroine models in the deploy bundle and documents the rebuild command and asset layout in the README.

Testing

  • blender -b --factory-startup -P tools/blender/aislinn.py -- --out assets/models/aislinn.glb — exported successfully (105 meshes, 25,900 triangles).
  • python3 -m py_compile tools/blender/aislinn.py — syntax OK.
  • bun test — 32 pass, 0 fail.
  • bun run check — all game modules bundle cleanly.
  • bun run bundle — dist built successfully with the new heroine asset included.
  • bun scripts/shot.js battle:2 — battle renders Aislinn in place, diagnostics clean.
  • Visual turnaround reviewed from front, three-quarter, side, and back renders.

Sign in to comment on this pull request.