Commit graph

3 commits

Author SHA1 Message Date
CRT
e3b86269a2 Give every style its own fascia; fix the last measured overlaps
- src/generator/fascia.ts lays a style's lamps, grille, intakes and tail
  lights onto the skin's front and rear faces from a height field of the
  subdivided surface: superellipse shapes, bezels under lamp lenses, grille
  slats, panels that ride a tailgate.
- Twelve front and rear designs in archetype.py (slim, sport, wedge, block,
  retro, round, van, cab-over; bar, split, vertical, quad, wedge, muscle);
  every cage script picks its own. End caps are plain under a fascia.
- The truck's dashboard stays under its skin; tighter-turning cars get 3 cm
  arch gaps; the pickup merges close stations to stay in its triangle budget.
- cages:build builds only the styles named; README updated.
2026-10-11 09:29:08 +08:00
CRT
02e8854cc4 Build every body style from an authored cage
- assets/src/archetype.py turns the sedan's hand-drawn shapes into rules
  (nose, bonnet, windscreen, roof peak, notch, hatch or cab rear) so each style
  script is a handful of measurements on a shared topology.
- cagelib: open bodies (the buggy), tubs that drop to a floor (the pickup's
  bed, the buggy's cockpit), full-height tailgates, a per-style station merge.
- Twelve new cages: hatchback, coupe, wagon, SUV, pickup, van, sports,
  supercar, muscle, kei, buggy and the truck's cab. The morph ignores axles
  outside the cage (the truck's rear axle sits under its load box).
- Presets take their roof height from their cage; README images regenerated.
- cages:build and cages:watch treat archetype.py as a shared module.
2026-10-11 08:53:30 +08:00
CRT
6b394bcbfc Vehicle Generator 0.1.0 (alpha)
Procedural, game-ready vehicles for three.js: 13 body styles, blending, seeded
random vehicles, three LODs, colliders, 13 parametric mods, paint and livery,
a rig that drives, and GLB export that a game can load and drive. Ships with a
studio (browser or Tauri desktop app) and a Play mode.
2026-10-11 08:22:23 +08:00