Skip to content
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

disableDepthTestDistance bug when globe is tilted #5501

Closed
rahwang opened this issue Jun 19, 2017 · 6 comments · Fixed by #5735
Closed

disableDepthTestDistance bug when globe is tilted #5501

rahwang opened this issue Jun 19, 2017 · 6 comments · Fixed by #5735

Comments

@rahwang
Copy link
Contributor

rahwang commented Jun 19, 2017

Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/gn56Qo60i4s

When disableDepthTestDistance is set to a small number, it works as expected until the globe is rotates, then entities regardless of distance seem to ignore the depth test.

Here's a sandcastle example:
http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Hello%20World.html&label=Showcases&gist=49ebc4d710383cfd2fec9d1fc4ed650b

@emackey
Copy link
Contributor

emackey commented Jun 19, 2017

Also, if you zoom into the Earth in the above demo, and look up at the sky, you'll see dots from behind the camera mirrored into the sky.

@emackey
Copy link
Contributor

emackey commented Jun 19, 2017

This is zoom-in only, no globe rotation. Note the "second batch" of dots show up in the earlier part of this anim, I think the depth cone gets disabled or something there. Then a "third batch" starts drifting down from the sky, they seem like they're supposed to be behind the camera or something, certainly not above.

dotsandmoredots

@emackey
Copy link
Contributor

emackey commented Jun 21, 2017

The "floating down from the sky" bug is actually duplicate with #5331.

But, the "visible on the other side of the globe" aspect shown here is not mentioned there. It may be a separate but related bug.

@mramato
Copy link
Contributor

mramato commented Jun 28, 2017

I'm running into this on a regular basis now as well.

@pjcozzi
Copy link
Contributor

pjcozzi commented Jun 28, 2017

This could be the depth plane. Have you tried with terrain and depth writes enabled?

@cesium-concierge
Copy link

Congratulations on closing the issue! I found these Cesium forum links in the comments above:

If this issue affects any of these threads, please post a comment like the following:

The issue at #5501 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium!
Or get it now in the master branch on GitHub https:/AnalyticalGraphicsInc/cesium

I am a bot who helps development running smoothly! Have a great day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants