-
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
Globe incorrectly occludes things behind it when using smaller ellipsoid #8683
Comments
It's definitely coming from the globe, since removing the globe entirely (with globe: false) fixes it. But setting |
Maybe depth plane related? What happens if this line is commented out: Line 2310 in d48ac3e
|
The problem is |
Same with |
Also, if you really want to modify the ellipsoid in Cesium, you are probably better off doing:
before you do anything Cesium related. That's currently the only way to ensure that all data and calculations actually use the custom ellipsoid (such as loading entities that require ellipsoid-based conversions). |
Thanks @mramato . That was the first thing I tried here. I added a link to the the forum discussion where this came up in the OP. |
EDIT: In the original post, PA is floating, in this one it's properly on the ellipsoid |
@OmarShehata I'll submit a PR with the |
Congratulations on closing the issue! I found these Cesium forum links in the comments above: https://groups.google.com/forum/#!topic/cesium-dev/pDezVst5b_I If this issue affects any of these threads, please post a comment like the following:
|
When using a smaller Ellipsoid, the globe incorrectly occludes entities behind it. Sandcastle example.
It almost seems like there's a rectangle around the globe that occludes entities behind it:
The effect disappears if you set the radius up to Earth-size (comment out the second line in the Sandcastle).
This came up in this forum thread where the use case was visualizing different planets.
The text was updated successfully, but these errors were encountered: