Devlog: W2, W3 and W4

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-10 14:47:41 -05:00
co-authored by Claude Opus 5.5
parent 5021d13686
commit 283d0e966e
+47
View File
@@ -71,3 +71,50 @@ rates can't be verified without a GPU playtest.
**Next:** W2, the procedural island generator (#9), then W3 chunked terrain (#10). v0.2 is
due at the end of 2026-11-10, with 6 issues left.
## 2026-11-10 (afternoon): W2, W3 and W4
**Done:**
- W2 (#9): `Island.generate(seed)`, a 513 × 513 heightfield at 2 m over the 1,024 m world,
with a warped coast, a shelf and interior dome, 2 to 4 summits on ridges, marsh, and
elevation bands. `Simulation` generates it; the server logs `world_hash`.
`tools/island_map.gd` draws top-down maps.
- W3 (#10): `TerrainView` and `TerrainChunkBuilder`, 64 m chunks at four detail levels,
built on worker threads, with skirts at the seams and a procedural splat shader.
`make terrain-capture` proves no cracks against a skirtless control.
- W4 (#11): `PoiSet` and `Poi`, six original POI kinds from modular parts, 10 to 16 per
island, with loot markers and walk routes. `PoiView` draws them as MultiMeshes.
`SimGround` now indexes solids in 8 m cells.
- Opened #71 (H8) to watch a one-off 238 ms streaming frame seen under host load.
**Tests:** `make check` passes: 120 tests, self-check and smoke (p95 tick 0.47 ms with
24 bots and about 300 POI solids). `make check` now takes about 2.5 minutes, mostly the
100-seed island sweep. `make terrain-capture` passes (control 437 crack pixels, real 0).
Captures checked by eye: island maps of seeds 1 to 4, terrain, terrain_lod,
terrain_cracks, and poi_* for all six kinds.
**Decisions:**
- The island is about 1 km across, not the 2 km in W2's text, because the world and the
snapshot position range are 1,024 m. Reasoning is on #9.
- Worldgen and POI placement each use their own `SimRng(seed)` copy, so generating them
on a client never shifts the match's gameplay streams.
- `Simulation.new(seed)` generates the island; tests that don't care pass
`SimGround.flat()` as the second argument to skip worldgen.
- Terrain seams use skirts, not edge stitching, so chunks never need to know their
neighbours' levels. Skirt depth is computed per chunk from the actual edge error.
- The streaming budget is measured as main-thread wall time in `TerrainView._process`,
headless. It can't see GPU upload cost.
- **Movement change:** step-up tests the body at the height it will step up to. The W4
traversal test showed the lighthouse stair was impassable without it. Treads must be
at least the player radius (0.4 m) deep; the POI stairs use 0.5 m.
- POI solids are axis-aligned boxes, rotated only in quarter turns.
- Summit stone was darkened after the shrine capture read as snow.
**Known gaps:** no water yet, so piers and coasts show bare sea floor (W6). POIs and
lowland are blockout visuals until W5 vegetation and the v0.6 art pass. Frame times
and feel still need a real GPU.
**Pace:** v0.2 is due at the end of today and W5, W6 and W7 remain, so it will finish
about a day late. Next by the work order is W5 (#12, no priority label), then W6 (#13,
water, core) and W7 (#14, the drop). If the next run finds v0.2 more than a day behind,
defer W5 per the pacing rule and do W6 and W7 first.