How to present vector when under the Terrain

Hi all,

I have a trajectory czml file which the altitude is 0, and attempt to test it in Cesium 1.20. When I call the terrain model by code, the red lines and billboards can be shown completely (shown.png). But if I select the terrain model from baseLayerPicker, the red lines and billboards would be hidden by terrain model. What is the reason? How should I do if I want to select the terrain model from baseLayerPicker and display the czml file properly at the same time?

Thanks a lot~


We don’t currently have support for visualizing lines on terrain. It is part of our ‘Vector Data on Terrain’ roadmap, and we hope to have this functionality complete within the year. There are just a few difficult problems we need to solve to make sure we draw everything as efficiently as possible. Keep an eye on this issue for updates:




I solve the problem which is set scene.globe.depthTestAgainstTerrain to false each time when I change the base layer. Thanks for you and your colleagues’ assistance~



Hannah Pinkos於 2016年4月16日星期六 UTC+8上午12時02分58秒寫道: