-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Description
What happened?
In 2D / CV modes, many picks are undefined when they shouldn't be. (See comments below for more info - original issue description misattributed issue as a regression from recent PR).
This comes from the terrain picking performance PR, which now uses an incrementally constructed quadtree to accelerate picks.
1. It does not happen when the quadtree is limited to a single (root) node.
2. The fact that it does not happen in 3D mode tells me the issue is likely related to the computation or use of the 2D transform here.
edit- that... no longer seems to be true. Not sure if I'm doing something different now or then, but even if I set the maximum quadtree level to 0, the issue still occurs now.
Reproduction steps
- Sandcastle demo
- Open console
- Zoom out
- Move mouse, observe
undefinedlogged in some regions of the map....
Sandcastle example
No response
Environment
Browser:
CesiumJS Version:
Operating System:
rileyhowley-seequent