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

2018-01-30 Thread Adrian Jelffs
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, mapNode

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

2018-01-29 Thread Chris Hanson
Would the vertical offset do what you want? https://github.com/gwaldron/osgearth/blob/master/src/osgEarth/TerrainOptions#L51 Depends on how your objects are clamped to the surface. On Mon, Jan 29, 2018 at 4:04 PM, Adrian Jelffs wrote: > Hi, > > I have an application where I have a base layer a

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

2018-01-29 Thread Adrian Jelffs
Hi, I have an application where I have a base layer and a survey layer overload using OSG Earth. I then add other objects on top. I would like to change my survey layer to have a fixed vertical offset of -1m. Basically lowering the survey layer so the other objects don't sit exactly on the sur