[osg-users] troubles with osgTerrain::NoDataValue

Robert Osfield robert.osfield at gmail.com
Mon Sep 8 01:57:05 PDT 2008


HI Ilia,

On Sun, Sep 7, 2008 at 9:11 PM, Korolyov Ilia <ya-breeze at ya.ru> wrote:
> Hello
>
> For Earth 3D model building we using osgTerrain::TerrainTile with
> osgTerrain::HeightFieldLayer and osgTerrain::NoDataValue operator.
> When we show scene immediately - it looks ok.
>
> When we saving 3D model into *.osg file, osgTerrain::NoDataValue is not
> saved. So, when we load file back, data validation is broken. What we
> need to do?

You need to dig out the sources for osgTerrain .osg to be found in
src/osgPLugins/osgTerrain/ and see what is going amiss with the non
data value.

Robert.



More information about the osg-users mailing list