diff --git a/docs/superpowers/plans/2026-05-08-phase-n4-rendering-foundation.md b/docs/superpowers/plans/2026-05-08-phase-n4-rendering-foundation.md index 8a0c767..ba2337d 100644 --- a/docs/superpowers/plans/2026-05-08-phase-n4-rendering-foundation.md +++ b/docs/superpowers/plans/2026-05-08-phase-n4-rendering-foundation.md @@ -66,7 +66,9 @@ This plan is the **execution source of truth** for N.4. It is updated as tasks l Status: **Living document — work in progress, started 2026-05-08.** -**Progress (2026-05-08):** Tasks 1-8 ✅ complete. Tasks 1-5 landed foundation types + WbMeshAdapter stub. Task 6 obsoleted by `DefaultDatReaderWriter` discovery (Adjustment 1). Task 7 wired the adapter into `GameWindow` lifecycle behind the flag. Task 8 CLAUDE.md pointer was done preemptively in commit `506b86b`. **Next: Task 9** — route `InstancedMeshRenderer.EnsureUploaded` through `WbMeshAdapter` when flag is on (first behavioral change; flag-on render path will skip static scenery until Task 22 wires `WbDrawDispatcher`). +**Progress (2026-05-08):** Week 1 ✅ COMPLETE. Tasks 1-10 shipped. Foundation types + WbMeshAdapter constructed against real WB pipeline (`OpenGLGraphicsDevice` + `DefaultDatReaderWriter` + `ObjectMeshManager`). `InstancedMeshRenderer.EnsureUploaded` routes through the adapter under `ACDREAM_USE_WB_FOUNDATION=1`; sentinel entry marks "this gfxObj lives in WB now" and the draw loop skips sentinel entries (Task 22's `WbDrawDispatcher` will draw them eventually). Conformance tests pin `GfxObjMesh.Build` + `SetupMesh.Flatten` behavior. Build green, 901 tests pass, 8 pre-existing failures only (unchanged from main). + +**Next: Task 11** — `LandblockSpawnAdapter` (streaming-loader hook for ref-count lifecycle). | Task | Status | Commit | |---|---|---| @@ -78,9 +80,11 @@ Status: **Living document — work in progress, started 2026-05-08.** | 6 — WbDatReaderAdapter | ✅ OBSOLETED | `502c3a8` | | 7 — GameWindow wiring under flag | ✅ | `502c3a8` | | 8 — CLAUDE.md pointer | ✅ | `506b86b` (preemptive) | -| 9 — Route InstancedMeshRenderer through adapter | pending | — | -| 10 — Week 1 wrap-up | pending | — | -| 11–28 | pending (Weeks 2-4) | — | +| 9 — Real WB pipeline + InstancedMeshRenderer routing | ✅ | `4ad7a98` | +| 10 — Week 1 wrap-up | ✅ | (this commit) | +| 11–15 — Week 2: streaming integration | pending | — | +| 16–21 — Week 3: per-instance + animation | pending | — | +| 22–28 — Week 4: draw dispatcher + ship | pending | — | ---