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

3dtiles was disappear at some angles #7859

Closed
caipeng-hrv opened this issue May 22, 2019 · 3 comments
Closed

3dtiles was disappear at some angles #7859

caipeng-hrv opened this issue May 22, 2019 · 3 comments

Comments

@caipeng-hrv
Copy link

Can someone tell me what happened in the below pictures?
appear
disappear

@OmarShehata
Copy link
Contributor

OmarShehata commented May 22, 2019

@caipeng-hrv hard to tell without seeing the application or at least an animation, but my best guess is that this tileset is actually underneath the surface, but it's visible because globe depth testing is off by default.

You can try turning it on with:

viewer.scene.globe.depthTestAgainstTerrain = true;

You can also move your tileset above the surface either with CesiumJS like in this example: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=3D%20Tiles%20Adjust%20Height.html

Or with the Cesium ion location widget if your 3D Tiles are hosted on ion. Please let me know if that fixes your issue!

In the future, please keep general questions like this in the forum (https://groups.google.com/d/forum/cesium-dev) and specific bug reports and feature requests on GitHub.

@caipeng-hrv
Copy link
Author

@OmarShehata thank you very much, I am sorry to reply you so long.
I will try your method , and tell you the result.

@OmarShehata
Copy link
Contributor

I'm closing this because I believe it's caused by the same issue here: #7879

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

No branches or pull requests

2 participants