1. A concise explanation of the problem you're experiencing.
I am trying to display a geojson file on my 3DTiles and everything works fine, except for some areas where the json seems to be "leaking" when moving and rotating the camera. See photos attached: json3 represents what my json is supposed to look like, and the other two illustrates the problem when moving the camera.
I checked the json and everything looks fine. Also I tried to shift all my entities from 1 meter to the left and everything rendered perfectly.
Do you think it might be a problem with my 3D tileset ? Have you encountered something similar before ?
Many thanks for your help!
4. The Cesium version you're using, your operating system and browser.
Windows 8 Chrome/Firefox
tvb.json (515 KB)
Thanks for providing these example screenshots! Is this tileset hosted on ion? If so, are you able to provide a Sandcastle code example (https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/) of the tileset that I can take a look at? (You can also email me at firstname.lastname@example.org if you prefer not to share a link publicly).
I think my best guess off the top of my head is that the tileset itself, or part of it, may be underground, and it’s showing because depth testing may be turned off. To confirm this, try setting:
viewer.scene.globe.depthTestAgainstTerrain = true;
And see if it makes it any better. You can also try lifting the tileset up as shown in this code example to see if that helps:
This is less likely to be the issue, but worth double checking, it might be a logarithmic depth buffer issue. Try turning it off as suggested by Gary here:
Let me know if that helps!
Hi Omar and thanks for your quick response!
Unfortunately the tileset isn't hosted in ion but in our local server, and I can't provide you with any link as it's really heavy (approx. 200Go).
I tried setting viewer.scene.globe.depthTestAgainstTerrain = true; and viewer.scene.logarithmicDepthBuffer = false; but it doesn't seem to make any difference. I will try to lift my tileset as shown in the sandcastle and give you feedback.