garage44.eu/jeroen/cartopolis

logclone: git clone https://garage44.eu/jeroen/cartopolis.git

.. /docs/attempts/2026-11-02-s563-warm-low-sun-light-and-clear-haze.md

raw


session: s563 code: refs/attempts/s563 (b1790ce26c91d7ced771dcfba46e41a114430bb9) started: 2026-11-02 filed: 2026-11-30 triggers: crates/cartopolis/src/systems/map/sky.rs, crates/cartopolis/src/systems/player/free_camera.rs, systems::sky, overcast, distance_fog, fog_visibility_m, cloud_cover, fog_density

Warm low-sun light: scattered cloud keeps the sun, and a clear default haze

Asked

The session was reviewing the about-cartopolis talk slide by slide. For the title slide's background the person found the city render's light poor, then said of four captures at different times and dates: "Dit is geen avondlicht. De kleur blijft blauw", and asked to find out why the screenshots hardly change colour. Told the choice, they chose to fix the light here rather than in a separate session, then chose "nevel bij lage zon" and "Ja, herverdelen" for the haze scale.

Tried

Two changes, each measured on mac-2 (real GPU, CARTO_QUALITY=desktop) from 450 m south-west of Groningen's centre, noon and a June sun at 2–10°:

A warmer or dimmer haze colour at a low sun (S563_GOLD/S563_DIM sweep knobs, never committed) was tried and not kept: thinning the haze did more.

How far it got

Both commits passed cargo test -p cartopolis --lib for sky:: and free_camera:: (50 passed) and cargo fmt --check on mac-2. Before/after captures were shown and the person picked the 6° June capture made with them as the talk's title background; the talk's slides 1, 7 and 19 use renders made with this code. Not run: the full landing gate, and no other views (the cloud-shots.toml noon-to-night sweep the cloud notes ask for was not run). Clouds at 0.7 cover under a low sun still lit the city fairly bright.

Why it did not land

Simply left. The session then went on with the talk for days; when asked (2026-11-06) whether to land these two fixes and finish, the session ended before the answer was recorded. The person never said not yet.

Worth keeping

Both changes are small and independent; a later session can cherry-pick 3a1f9475 (overcast) and b1790ce2 (haze) from the attempts ref, rebase (main has moved a month, sky.rs likely too), run the gate, and before landing show the cloud-shots sweep beside Dutch references, as judge-lighting-against-dutch-references asks. Live weather keeps its densities, so its clear-day floor 0.05 becomes ~33 km and full humid haze (0.25) ~11 km: worth a look that this still reads as weather.