[osg-users] Add fixed vertical offset to survey layer

Adrian Jelffs adrian.jelffs at makai.com
Tue Jan 30 13:48:58 PST 2018


Chris,

That worked great!! Thank you for the link, I just couldn't find it in the documentation.

This is my example code:


Code:

osgEarth::TerrainOptions terrainOptions;
terrainOptions.verticalOffset() = -5;
mapNodeOptions.setTerrainOptions(terrainOptions);
_mapNode = new MapNode(_map, mapNodeOptions);




Cheers

Adrian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72893#72893







More information about the osg-users mailing list