if map has two TerrainLayer ,how map reconcile each elevation? where is souce code in?

classic Classic list List threaded Threaded
2 messages Options
ldj ldj
Reply | Threaded
Open this post in threaded view
|

if map has two TerrainLayer ,how map reconcile each elevation? where is souce code in?

if map has two TerrainLayer ,how map reconcile each elevation? where is souce code in?
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: if map has two TerrainLayer ,how map reconcile each elevation? where is souce code in?

ldj,

The last elevation layer to appear has the highest priority. If osgEarth finds a valid elevation there, it uses it. If it finds no data, it drops down to the next elevation, and so on.

Code is in ElevationLayerVector::populateHeightFieldAndNormalMap.
Glenn Waldron / Pelican Mapping