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
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):
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
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.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).StructureViewrebuilds 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.WINDOW_PANEandOPENED_DULL, are listed in STYLE.md, which also has a new "World art" section. PROVENANCE.md now names the code generators.Tests
test_world_art(9 tests). It fails on any primitive stand-in mesh class, any placeholder resource, or placeholder wording undersrc/orassets/. It also checks that: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):
poi_hamlet,poi_dock,poi_lighthouse,poi_quarry,poi_salt_works,poi_shrine.build_fortand the newbuild_statestest 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.props_highland,props_beach,client_glide.client_barge: the deck as a passenger sees it.New targets:
make poi-capturesandmake build-captures.Fixed along the way:
Follow-ups / not done
PropView). They are generated and per-vertex coloured, and this issue didn't change them.