mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 10:12:18 +00:00
fix(annotations): sample arrow, route and area points outside the view (#1277)
A point of an arrow, route or area outside the view frustum was not sampled and stood in at 0 m, so a partly visible arrow could hide, point at the wrong place or vanish behind the eye. Such points are sampled again within the 32-sample budget and the one-second retry, as on main; lone points outside the view still skip sampling. The 0 m stand-in exceptions are removed. Also from review: shared viewPlanes for transit and the renderer, a −430..9000 m segment test against the view planes, tighter tests and shorter docs.
This commit is contained in:
1 parent
95aa7ae29e
commit
fdf7ed93ce
7 files changed
+408
-265
No files matched your search
@@ -1,5 +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
|
||||
drawing a large board no longer stalls the app for seconds (asturksever,
|
||||
#1277).
|
||||
- Drawing a large board of screen annotations no longer stalls the app for
|
||||
seconds: marks behind the camera, past the horizon or out of view no longer
|
||||
sample the surface height under them, and marks still waiting for the map
|
||||
surface to load share a small sampling budget and retry once a second
|
||||
(asturksever, #1277).
|
||||
Reference in new issue
Block a user