A5 World art: POIs, build pieces, foliage and terrain #45

Closed
opened 2026-11-09 05:28:36 +00:00 by claude · 1 comment
Owner

Depends on: A1, W4, W5, B2

Generated models and procedural textures for POI parts, all build pieces in each material and damage state, foliage, rocks and terrain.

Acceptance

  • No placeholder meshes remain, enforced by a test that scans for placeholder resources.
  • Captures of each biome and POI type are reviewed.
**Depends on:** A1, W4, W5, B2 Generated models and procedural textures for POI parts, all build pieces in each material and damage state, foliage, rocks and terrain. **Acceptance** - No placeholder meshes remain, enforced by a test that scans for placeholder resources. - Captures of each biome and POI type are reviewed.
claude added this to the v0.6 Art, Audio and UI milestone 2026-11-09 05:28:36 +00:00
claude added the type/featurepriority/high labels 2026-11-09 05:28:36 +00:00
claude added this to the Tidewall v1.0 project 2026-11-09 15:00:08 +00:00
eric closed this issue 2026-11-14 01:39:29 +00:00
Author
Owner

Done in 923876e.

What changed

  • PoiMesher (new) dresses every POI from its parts by look and shape: lapped tarred weatherboards, plank boards (vertical on walls, across decks), stone in a running bond with the odd lichened block, ochre tile rows over a dark fascia with a ridge cap, salt-white border lines on paint, crusted salt pans, and a tarred frame around the lighthouse's glowing glass (its own emissive surface). One mesh per POI.
  • Poi.hut() adds a shuttered window to each side wall of wooden huts. These parts aren't solid and use no rng, so collision, loot and routes are unchanged.
  • Build pieces show their state (PieceMesher.state_of). While a piece is building, its strips go up in quarter steps. It shows worn once a third of its health is gone (split, darkened strips) and battered at two thirds (a third of the strips knocked out). StructureView rebuilds a mesh only when that state changes.
  • VesselModels (new): the barge, with a lofted tarred hull, a deck cut to the hull, curved rails, mooring lines and a gored canvas envelope, and the sea chests, which are painted with tarred bands and a gilt hasp. This replaces the BoxMesh, SphereMesh and CylinderMesh stand-ins.
  • Terrain shader: tussocks and wind-dried patches in the grass, shingle on the sand, lichen on the rock. The detail fades out past about 150 m.
  • Two new Palette colours, WINDOW_PANE and OPENED_DULL, are listed in STYLE.md, which also has a new "World art" section. PROVENANCE.md now names the code generators.

Tests

  • New test_world_art (9 tests). It fails on any primitive stand-in mesh class, any placeholder resource, or placeholder wording under src/ or assets/. It also checks that:
    • every POI on seed 2 is dressed within its parts' bounds, and is the same on every build;
    • windows aren't solid;
    • the lamp has an emissive surface;
    • wear and build stage thresholds are right;
    • piece meshes stay inside their boxes, and battered or half-built pieces show less;
    • the structure view rebuilds when a piece's state changes;
    • the barge and chest models have the right size.
  • make check: 231 scripts parsed, 620 tests passed, self-check and smoke OK.

Captures reviewed (software rendering, so they show what is drawn, not how fast):

  • POIs: poi_hamlet, poi_dock, poi_lighthouse, poi_quarry, poi_salt_works, poi_shrine.
  • Building: build_fort and the new build_states test card, which has a row per material and a column each for half built, intact, worn and battered.
  • vessels (new): the barge from outside, plus shut and opened chests.
  • Biomes and terrain: props_highland, props_beach, client_glide.
  • client_barge: the deck as a passenger sees it.

New targets: make poi-captures and make build-captures.

Fixed along the way:

  • The build capture's helper that finishes building skipped every other piece, because it changed the list while looping over it.
  • The ridge cap stood out of its roof part.
  • Iron, with only four bands, could come out "battered" with none knocked out.

Follow-ups / not done

  • Roofs are still flat, because the roof collision box is a flat slab. Pitched roofs would need sim changes.
  • Foliage and rocks keep their existing low-poly meshes (PropView). They are generated and per-vertex coloured, and this issue didn't change them.
  • The barge's look follows the current sky-barge fiction. #72 may change it.
Done in 923876e. **What changed** - `PoiMesher` (new) dresses every POI from its parts by look and shape: lapped tarred weatherboards, plank boards (vertical on walls, across decks), stone in a running bond with the odd lichened block, ochre tile rows over a dark fascia with a ridge cap, salt-white border lines on paint, crusted salt pans, and a tarred frame around the lighthouse's glowing glass (its own emissive surface). One mesh per POI. - `Poi.hut()` adds a shuttered window to each side wall of wooden huts. These parts aren't solid and use no rng, so collision, loot and routes are unchanged. - Build pieces show their state (`PieceMesher.state_of`). While a piece is building, its strips go up in quarter steps. It shows **worn** once a third of its health is gone (split, darkened strips) and **battered** at two thirds (a third of the strips knocked out). `StructureView` rebuilds a mesh only when that state changes. - `VesselModels` (new): the barge, with a lofted tarred hull, a deck cut to the hull, curved rails, mooring lines and a gored canvas envelope, and the sea chests, which are painted with tarred bands and a gilt hasp. This replaces the BoxMesh, SphereMesh and CylinderMesh stand-ins. - Terrain shader: tussocks and wind-dried patches in the grass, shingle on the sand, lichen on the rock. The detail fades out past about 150 m. - Two new Palette colours, `WINDOW_PANE` and `OPENED_DULL`, are listed in STYLE.md, which also has a new "World art" section. PROVENANCE.md now names the code generators. **Tests** - New `test_world_art` (9 tests). It fails on any primitive stand-in mesh class, any placeholder resource, or placeholder wording under `src/` or `assets/`. It also checks that: - every POI on seed 2 is dressed within its parts' bounds, and is the same on every build; - windows aren't solid; - the lamp has an emissive surface; - wear and build stage thresholds are right; - piece meshes stay inside their boxes, and battered or half-built pieces show less; - the structure view rebuilds when a piece's state changes; - the barge and chest models have the right size. - `make check`: 231 scripts parsed, 620 tests passed, self-check and smoke OK. **Captures reviewed** (software rendering, so they show what is drawn, not how fast): - POIs: `poi_hamlet`, `poi_dock`, `poi_lighthouse`, `poi_quarry`, `poi_salt_works`, `poi_shrine`. - Building: `build_fort` and the new `build_states` test card, which has a row per material and a column each for half built, intact, worn and battered. - `vessels` (new): the barge from outside, plus shut and opened chests. - Biomes and terrain: `props_highland`, `props_beach`, `client_glide`. - `client_barge`: the deck as a passenger sees it. New targets: `make poi-captures` and `make build-captures`. Fixed along the way: - The build capture's helper that finishes building skipped every other piece, because it changed the list while looping over it. - The ridge cap stood out of its roof part. - Iron, with only four bands, could come out "battered" with none knocked out. **Follow-ups / not done** - Roofs are still flat, because the roof collision box is a flat slab. Pitched roofs would need sim changes. - Foliage and rocks keep their existing low-poly meshes (`PropView`). They are generated and per-vertex coloured, and this issue didn't change them. - The barge's look follows the current sky-barge fiction. #72 may change it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: claude/tidewall#45