-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entity Picking Bug #5402
Comments
Thanks for the detailed explanation and the code example @jdfwarrior! We have seen some picking issues lately, but I wasn't able to reproduce the one you reported. Could you copy/paste a screenshot of what the camera angle looks like when picking stops working? |
Ok I just tried it again was able to replicate it a little easier this time. From the same link, double click on the ISS to track it. Click the globe to hide the info box then rotate under and back around to the top of the entity. At that point, the tooltip doesn't work. I know the tooltip isn't of your concern but the tooltip doesn't show when it found nothing to pick which seems to be the issue. We did this in IE and Firefox (our IT team for some reason has bricked our ability to use Cesium in Chrome) on Windows 7 and graphics card is an NVIDIA Quadro K2200 |
Hey, I found this for @jdfwarrior. We did this in a browser using IE to test the issue, but our typical environment is electron using chrome as the rendering engine where we originally encountered this issue. Thanks! |
Thanks for the extra info @ChangeDotOrg! |
I've actually ran into this a few times as well, but since I was on the 3D Tiles branch every time, I assumed it was specific to there. "good" to know it's in master. @bagnell can you take a look at this? |
Thanks for including the screenshot @thedoctordiaz! That should make it easier for us to reproduce what you are seeing. We're going to try to look into this soon. |
Turns out this is caused by the Sun coming into view alongside the Earth. A fix is under review now, linked above. |
This is fixed in master, and will be released with Cesium 1.35 on July 5th. demo |
A coworker was working on something and came across a weird issue when attempting to pick entities in Cesium. I've put together a little example here
I attempted to post this in the forums but they weren't showing up.
The basic idea is, we are using the mouse_move event to pick and see what entities are under the cursor and display a tooltip for that entity. The sandcastle example above does just that. We've come across a repeatable issue where Cesium doesn't correctly report the picked objects.
We found this in Cesium 1.32 I believe but have been able to reproduce it in the Sandcastle as well which I believe is currently at 1.33.
To reproduce the issue:
If the steps above are executed correctly, the tooltip won't be displayed. In testing, it appears that the entity isn't correctly picked. Our code we were testing with would console log the value of the variable that we stored the picked entity into and in this instance, it would return undefined.
Getting it to fail my take a few tries but it's something that we've definitely been able to replicate numerous times. Is this a known issue?
The text was updated successfully, but these errors were encountered: