Weather: avatar gets a snow coat while standing indoors (exposure leak made visible by #1160's fill cap) #1165

Open
opened 2026-10-27 20:15:51 +00:00 by sky_line · 0 comments
Owner

Follow-up to #1130 / PR #1160 (avatar snow) and #1037 / PR #1161 (indoor snow). Owner test 2026-10-27 with both PRs merged locally: snow no longer appears early on furniture indoors (#1161 works), but the owner's avatar got covered in snow while standing inside the house (parcel snow).

Why it shows now: the avatar coat fills each rest-pose cell by its exposure (sAvg from the shelter / occlusion maps) x the snowfall rate (clean_weather_accum.comp, the snowOn block).

  • Before #1160: a cell filled at most up to the world's open-sky depth (sp.c.x).
  • After #1160: it fills toward the full coat (sp.e.w) at the fresh snowfall rate.

Indoors the exposure should be ~0, so nothing should fill. A coat means the avatar's exposure is not 0 inside. Either:

  • the avatar's shelter misses the roof (the near occlusion cascade's coverage / resolution around the avatar, or the roof faces are not in the map); or
  • it leaks at window / door edges or under soft shelter edges.

The old low cap hid a small leak. The new cap and the high rate make it a full coat.

To check:

  • log or visualise sAvg for the own avatar standing indoors (it should be ~0 under a roof);
  • compare the avatar's shelter lookup with the ground/furniture grid that #1161 fixed (the same occlusion map, but a different lookup);
  • check whether an exposure threshold (no fill below a small epsilon) is appropriate, as opposed to fixing the shelter itself.

Test: parcel snow, stand indoors under a roof for a few minutes: no coat. Walk out: the coat builds. Walk back in: the coat melts under cover (#903). Also check standing next to a window.

Follow-up to #1130 / PR #1160 (avatar snow) and #1037 / PR #1161 (indoor snow). Owner test 2026-10-27 with both PRs merged locally: snow no longer appears early on furniture indoors (#1161 works), but **the owner's avatar got covered in snow while standing inside the house** (parcel snow). **Why it shows now:** the avatar coat fills each rest-pose cell by its exposure (`sAvg` from the shelter / occlusion maps) x the snowfall rate (`clean_weather_accum.comp`, the `snowOn` block). - **Before #1160:** a cell filled at most up to the world's open-sky depth (`sp.c.x`). - **After #1160:** it fills toward the full coat (`sp.e.w`) at the fresh snowfall rate. Indoors the exposure should be ~0, so nothing should fill. A coat means the avatar's exposure is not 0 inside. Either: - the avatar's shelter misses the roof (the near occlusion cascade's coverage / resolution around the avatar, or the roof faces are not in the map); or - it leaks at window / door edges or under soft shelter edges. The old low cap hid a small leak. The new cap and the high rate make it a full coat. **To check:** - log or visualise `sAvg` for the own avatar standing indoors (it should be ~0 under a roof); - compare the avatar's shelter lookup with the ground/furniture grid that #1161 fixed (the same occlusion map, but a different lookup); - check whether an exposure threshold (no fill below a small epsilon) is appropriate, as opposed to fixing the shelter itself. **Test:** parcel snow, stand indoors under a roof for a few minutes: no coat. Walk out: the coat builds. Walk back in: the coat melts under cover (#903). Also check standing next to a window.
sky_line added this to the Slipstream project 2026-10-27 20:15:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#1165
No description provided.