I have a vehicle that I can drive around the world, the camera is following that vehicle (keeping it always in view), and I have the terrain meshes loaded. The issue that I am experiencing is that if I am on one side of a hill and another vehicle (3D model) is on the other side of the hill, I can still see it through the terrain. The same happens for billboards and labels.
You can access the app by going to https://youbeq.com (you have to register first in order to use it).
I just deployed the Cesium version today to the production server. I'm doing the first public testing (fingers crossed for no weird bugs appearing), and next week will start announcing the switch from GE to Cesium.
Looks like the base layer picker widget (which you are not using) sets this to true so I mistakenly thought the default was true.
Kevin - are we sure we want to expose this instead of just setting it based on the terrain provider? What is the use case? Work around artifacts in a particular app we built? Or perhaps we set this based on the terrain provider and an optional user override. Let’s discuss in #2160.
Did this change make it into the standard? I also remove the picker and had to set the property depthTestAgainstTerrain to true to not have my models being seen through terrain.
To the best of my knowledge, we have implemented the change that Patrick outlined in his most recent comment. For some more context, I recommend looking at the following two GitHub issues: