mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 10:12:18 +00:00
fix(annotations): keep an arrow whose unsampled far end is past the 0 m horizon (#1277)
An endpoint outside the frustum is not sampled and projects at its 0 m stand-in height. The horizon test then judged that stand-in, so an arrow whose far end lies beyond the sea-level horizon but above it at its real height disappeared with its label. Such an endpoint now skips the point horizon test; the height-range test still drops endpoints that are provably hidden, and settled or in-frustum anchors keep the point test. Adds a regression with a real frustum and occluder (camera 100 m up, far end 56 km away on 100 m terrain). CURRENT-STATE and the changelog now say the 32-sample budget applies per projection pass, and the redundant helper comment in the test is gone.
This commit is contained in:
1 parent
8767eb23ab
commit
40daecadbe
4 files changed
+112
-13
No files matched your search
@@ -1,4 +1,5 @@
|
||||
- Stop screen annotations sampling surface height for marks that are hidden,
|
||||
behind the camera or over the horizon. Visible marks still waiting for
|
||||
terrain share 32 samples per projection pass and retry once a second, so a
|
||||
large board no longer stalls the frame (asturksever, #1277).
|
||||
terrain share 32 samples per projection pass and retry once a second, so
|
||||
drawing a large board no longer stalls the app for seconds (asturksever,
|
||||
#1277).
|
||||
Reference in new issue
Block a user