Water export: fog atlas, water height map, shoreline grid, ocean and wave settings (SIX-197) #254
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!254
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/254/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-25 06:49 UTC · original
holdmysocks:six-197-water→master· +1390 −0 · 4 files · 2 commits · merged 2026-11-25 06:59 UTCAdds
sixng water: the water system of the world, placed in world space (SIX-197).What it exports (
-o <dir>writes<dir>/water/)--fog-pxtexels per 512 m cell, default 32), the fallbacks, andcells.jsonwith both terms per cell and their source (tile or fallback).--height-px, default 128 = 4 m),--height-tilesfor every tile at 1 m. Height = (v − 0.5) × 1600 m.GridAtlasInfogrids,OceanSimPresets,OceanWaveCalmingCurves,PatchConstantsandShoreWavePlacementDataas JSON.water_*timecycle key: 71 variables over the 27 weather cycles (per region and time sample) and the 302 modifiers that set any.Placement. All layers share a 32 × 66 grid of 512 m cells. Tiles are dictionaries stored in decimal-string order of their cell numbers; which cells have one is not stored. The export aligns the stored tiles with the string-ordered cells against each grid's fallback texture, then checks every shared edge.
Counts and checks on the install
sixng heightmap): slope 1,599 m, offset −1.1 m, correlation 0.998 over 4.7 M land samples.ShoreWavePlacementData: wave group 99.6 % of 21,157 samples, the type-4 flag 8,961 / 8,965; correlations 0.84 (distance across the band), −0.90 / 0.88 (G / A against the direction), 0.69 (R against the along-shore coordinate).water_clip_*units (open-sea extinction (8.05, 6.64, 6.65) against the cycles' (11.19, 6.60, 6.60)); inferred.SW_4KB_Sblocks; the module untiles them with the Gfx10 layout.texture.rsis unchanged.Open
OceanSimPresetsentry for a place is not decoded.Format description: module docs of
crates/sixng-core/src/water.rsand the new README paragraph. About 30 s per run; needs the common, textures and levels indexes at the current index version.