Hi, we have an issue with an underground point cloud, whereby dependent on the camera viewer position, it incorrectly displays the model above ground.
The screenshots attached demonstrate
Initial flyTo - with point cloud positioned correctly underground
Zoomed out - model now appears above the terrain imagery surface
Is this possibly a viewer setting that we haven’t configured correctly? The expected behaviour was that the model would be hidden under the terrain imagery layer when we navigate above the surface.
There are two possibillities coming in my mind for explanation:
the setting viewer.scene.globe.depthTestAgainstTerrain is false (default) and must be true => viewer.scene.globe.depthTestAgainstTerrain = true;
If this setting is false, you can see tilesets through the terrain.
If you zoom out far enough, the terrain gets more and more like the ellipsoid and the points are in fact above the terrain. But I think that is not the case here.