PolyLine visible through the ground.


I have a process, that create some verticals PolyLines to describe a flight path.

For some flights, thoses PolyLines pass through the ground because the height is not always equal to the elevation.

But, the problem is the underground PolyLines parts are visibles. It is a z-buffer problem?

Is there a way to fix that?

Thanks in advance.

By default, the terrain (or ellipsoid) surface does not obstruct visiblity of primitives. To change that, set the ‘depthTestAgainstTerrain’ property on CentralBody to true. It’s possible you will see other artifacts by doing this, though.



Thank you :wink: