Water: export pools, hot tubs, fountains, waterfalls and standing water with sixng water --pools #436

Manually merged
github merged 3 commits from github-bot/gh-436 into gh-pr/436/base 2026-11-27 03:15:18 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-27 02:17 UTC · original
holdmysocks:six-pools → master · +316 −33 · 3 files · 3 commits · merged 2026-11-27 03:11 UTC

Adds sixng water --pools, which exports the small water bodies left out of the inland export: pools, hot tubs, fountains, waterfalls, standing water and other small water. They are written to pools/pools.json and pools/pools.glb, placed in world space.

  • A drawable counts when its name marks it as water and one of its LOD 0 geometries draws with a water shader:
    • water_micro_geom, standard_alpha_water or standard_alpha_waterfall
    • or any shader in the water render bucket, which adds water_bucket.
  • Only the water geometries are kept, so the deck and walls around a pool are left out.
  • Placement is the same as for inland water: map-file entities, not interiors.
  • Results on the real install: 2,283 placements of 2,259 drawables.
    • 1,353 pools, 500 standing water, 119 water effects (spray and splash meshes, not surfaces), 94 hot tubs, 86 other water, 54 tanks, 41 fountains, 17 waterfalls, 16 ditches and 3 ponds.
    • Pools sit a median 0.13 m above the water height map, and standing water 0.07 m below it.
    • 150 named drawables are not placed outside interiors.
  • Each placement gives its shaders, surface height, area, box, mesh and the ground under it. pools.json also has a summary for each kind.
  • The inland export now shares one mesh loader with pools. Its output is unchanged: 958 tiles, the same kinds.
  • A unit test covers the name filter.

Tests: cargo check --workspace --all-targets and cargo test -p sixng-core -p sixng-gui --release pass. The export was run on the real install, and a map plot of the placements looks right.

**@⁠holdmysocks** on GitHub · 2026-11-27 02:17 UTC · [original](https://github.com/holdmysocks/SixNG/pull/436) `holdmysocks:six-pools` → `master` · +316 −33 · 3 files · 3 commits · merged 2026-11-27 03:11 UTC Adds `sixng water --pools`, which exports the small water bodies left out of the inland export: pools, hot tubs, fountains, waterfalls, standing water and other small water. They are written to `pools/pools.json` and `pools/pools.glb`, placed in world space. - A drawable counts when its name marks it as water and one of its LOD 0 geometries draws with a water shader: - `water_micro_geom`, `standard_alpha_water` or `standard_alpha_waterfall` - or any shader in the water render bucket, which adds `water_bucket`. - Only the water geometries are kept, so the deck and walls around a pool are left out. - Placement is the same as for inland water: map-file entities, not interiors. - Results on the real install: 2,283 placements of 2,259 drawables. - 1,353 pools, 500 standing water, 119 water effects (spray and splash meshes, not surfaces), 94 hot tubs, 86 other water, 54 tanks, 41 fountains, 17 waterfalls, 16 ditches and 3 ponds. - Pools sit a median 0.13 m above the water height map, and standing water 0.07 m below it. - 150 named drawables are not placed outside interiors. - Each placement gives its shaders, surface height, area, box, mesh and the ground under it. `pools.json` also has a summary for each kind. - The inland export now shares one mesh loader with pools. Its output is unchanged: 958 tiles, the same kinds. - A unit test covers the name filter. Tests: `cargo check --workspace --all-targets` and `cargo test -p sixng-core -p sixng-gui --release` pass. The export was run on the real install, and a map plot of the placements looks right.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 02:26:35 +00:00
github-bot changed target branch from master to gh-pr/436/base 2026-11-27 03:15:17 +00:00
github manually merged commit 4dac4e834d into gh-pr/436/base 2026-11-27 03:15:18 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.