Re-brainstormed after RR0 falsification showed R3+R3.5 introduced
Issues A+C (rendering all 16 BFS-reachable cells at full screen extent
caused co-planar Z-fight + grace-state leak from outside view). The
prior design's "WB-faithful restructure" was insufficient — it kept
the BFS-wide cell rendering. Retail and WB both solve indoor visibility
with per-portal recursive culling.
This design ports WB's full pipeline:
- RenderInsideOut Steps 1-5 (including 3-stencil-bit cross-building)
- RenderOutsideIn (cottage interiors visible through windows from outside)
- Per-building cell association (Building + BuildingRegistry, plus
LoadedCell.BuildingId for O(1) cell→building lookups)
- Single strict cameraInsideBuilding gate (no grace for render path)
- Stencil-gated sky inside indoor branch (acdream enhancement)
12 tasks (RR1-RR12), 8-10 sessions estimated. M1.5 indoor scope ships fully.
Supersedes:
docs/superpowers/specs/2026-05-26-phase-a8-restructure-design.md
docs/superpowers/plans/2026-05-26-phase-a8-restructure.md
(both will be footer-marked in RR1 cleanup)
Reverts in RR1: R3 (
|
||
|---|---|---|
| .. | ||
| architecture | ||
| audit | ||
| plans | ||
| research | ||
| superpowers | ||
| bugs.md | ||
| ISSUES.md | ||