Skip to content

[EPIC] Procedural Level Pipeline: lore → structure → greybox → registered plate → derived manifests #1508

Description

@100yenadmin

Owner-ratified direction (2026-07-11): generating FUNCTIONAL LEVELS is the foundation priority — level design first, art derives from it. This epic ties together the pieces that now exist into one repeatable pipeline, honoring the engine-as-sole-writer invariant throughout.

The pipeline (each stage's output is the next stage's input)

  1. STRUCTURE — engine-side scene_grid generators (lore-aware, per location kind) OR authoring-time Unity generators (DunGen room-graphs / Tessera Pro WFC — both owner-purchased 2026-07-11) whose layout data is EXPORTED to json. Unity generators are authoring accelerators only; the engine fixture remains the single written truth.
  2. GREYBOX — layout json → 3D proxy geometry (shape-appropriate proxies: boxes for masonry, cylinders/cones for organics — box-trees read as buildings to depth models, measured PR Plate sprint: CB-FOREST evidence — ARM C LoRA does NOT lift the outdoor 6.0 cap #1495) → greybox depth/normal renders + geometry json.
  3. PLATE — the codified registered pipeline (docs/roadmap/PLATE-RECIPE-DECISION.md): flux depth-CN base → style pass → registration gate → 5-scorer panel → promote.py gate.
  4. MANIFESTS — tools/derive_room_manifest.py (in flight): geometry → footprint cells + occlusion regions + walkable set → engine fixture + player occluders + coherence gate. One source of truth; paint/collision/occlusion cannot drift.
  5. RUNTIME — plates_manifest.json entry + plate PNG (the W5E registry): add a room = add data, no scene work.

Stage status

  • 1 (engine half): EXISTS (scene_grid per-kind generators). 1 (Unity half): SPIKE — DunGen export contract (owner hunch, prioritized), Tessera Pro follow-up.
  • 2: half-exists (hand-built per room today; standardize the exporter).
  • 3: DONE (plate sprint).
  • 4: IN FLIGHT (eval-upgrade lane).
  • 5: DONE (walkable slice).

Invariants

Engine = sole writer of grid truth (generators export TO fixtures, never run at runtime). Every generated room passes: registration gate, grid-paint coherence gate, journey eval. Panel + promote gate before adoption.

Definition of done (epic)

A new room goes from "generate layout" to "walkable in the player with correct collision/occlusion and a paneled registered plate" via commands only, no hand calibration, in under an hour of wall-clock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions