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

Terrain and sky disappear with camera height near zero #2271

Closed
pjcozzi opened this issue Nov 11, 2014 · 8 comments
Closed

Terrain and sky disappear with camera height near zero #2271

pjcozzi opened this issue Nov 11, 2014 · 8 comments

Comments

@pjcozzi
Copy link
Contributor

pjcozzi commented Nov 11, 2014

Discussion, code example, and partial workaround: https://groups.google.com/forum/#!topic/cesium-dev/87rvANHNnjs

Terrain tiles are horizon culled (which also affects subsurface). The sky command is executed so the shader is most likely returning an alpha of zero.

@pjcozzi pjcozzi changed the title Terrain and sky disappear with camera height <= 0 Terrain and sky disappear with camera height near zero Nov 11, 2014
@pjcozzi
Copy link
Contributor Author

pjcozzi commented Nov 11, 2014

They start to disappear at about ~1 meter height.

@whalleyms
Copy link

Same problem here. In the geographic area where I am doing most of my simulation the undulation value is -31.99m and most of the terrain is at or near sea level. That means that the reported WGS84 altitude at MSL is -32. The problem above limits me to rendering scenes at altitudes above ~33m. Since I'm using Cesium as a graphics head for a helicopter simulation this is a real show-stopper.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Jan 19, 2015

@WarpDrive
Copy link

Only relatively flat tiles disappear. https://groups.google.com/d/msg/cesium-dev/OON3DghJS-4/csZA-Q6pF5gJ

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Jun 4, 2015

CC #2415

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Jun 12, 2015

It's easy to reproduce this, by zooming to the "Dead Sea" and then zooming in a bit more.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Sep 10, 2015

@bagnell can you look at this and #2415 in time for 1.14?

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Sep 16, 2015

@bagnell can you please reply to the Cesium forum threads in this issue, and let them know that this fix will be in Cesium 1.14 on October 1?

@pjcozzi pjcozzi closed this as completed Sep 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants