Map 3D: far-field blocks wait only for buildings still loading #397

Manually merged
github merged 2 commits from gh-pr/397/head into gh-pr/397/base 2026-11-26 20:33:11 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 19:07 UTC · original
holdmysocks:six-map3d-roofblocks → master · +15 −2 · 1 files · 2 commits · merged 2026-11-26 19:25 UTC

Near the camera, the 3D map's far field lies flat under the streamed buildings. In 128 m areas where under 90 % of the visible buildings are loaded, it keeps the rooftop height blocks, so nothing looks missing while those buildings load.

The bug. Under memory pressure the streamer trims models and no longer asks for far ones, so those buildings never arrive. Their areas then kept the blocks for good, and smooth terrain-coloured hulls stood over and around the buildings that were drawn. This was seen at the rs pose after a rebake: the busier map reaches the soft memory cap there.

The fix.

  • Only buildings that are queued or loading now count as missing.
  • When the request list was longer than the queue holds, every missing building still counts, as before.
  • The same readiness map sets the short grace time for placements that left their band. That grace now also ends once nothing more is coming.
**@⁠holdmysocks** on GitHub · 2026-11-26 19:07 UTC · [original](https://github.com/holdmysocks/SixNG/pull/397) `holdmysocks:six-map3d-roofblocks` → `master` · +15 −2 · 1 files · 2 commits · merged 2026-11-26 19:25 UTC Near the camera, the 3D map's far field lies flat under the streamed buildings. In 128 m areas where under 90 % of the visible buildings are loaded, it keeps the rooftop height blocks, so nothing looks missing while those buildings load. **The bug.** Under memory pressure the streamer trims models and no longer asks for far ones, so those buildings never arrive. Their areas then kept the blocks for good, and smooth terrain-coloured hulls stood over and around the buildings that were drawn. This was seen at the rs pose after a rebake: the busier map reaches the soft memory cap there. **The fix.** - Only buildings that are queued or loading now count as missing. - When the request list was longer than the queue holds, every missing building still counts, as before. - The same readiness map sets the short grace time for placements that left their band. That grace now also ends once nothing more is coming.
Near the camera the far field lies flat, except in 128 m areas where under
90 % of the visible buildings are loaded: those keep the rooftop blocks
until they stream in. Buildings the memory limits leave out never arrive,
so after a trim the blocks stayed for good, standing over the buildings
that are drawn. Only buildings that are queued or loading now count as
missing.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:33:09 +00:00
github manually merged commit 2e84fea582 into gh-pr/397/base 2026-11-26 20:33:11 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.