Hi Ilia, I recently add support for reading and writing osgTerrain::NoDataValue in .ive plugin, but I didn't have the time to add it in .osg. What is going amiss, is that it is not implemented at all :) but it should be quite staight forward to do it
Be also aware that even if gdal and osgTerrain can handle noda values, VirtualPlanetBuilder is unable to do so (probably because it relies on osg::HeighField in a first step of computation) Luc Luc FRAUCIEL - BRGM Unité Calcul, 3D et réalité virtuelle Service Systèmes et Technologies de l'Information 3, av C. Guillemin BP 36009 - 45060 Orléans Cedex 2, France Tél. 02 38 64 35 65 Fax 02 38 64 39 70 > -----Message d'origine----- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] De la > part de Robert Osfield > Envoyé : lundi 8 septembre 2008 10:57 > À : OpenSceneGraph Users > Objet : Re: [osg-users] troubles with osgTerrain::NoDataValue > > HI Ilia, > > On Sun, Sep 7, 2008 at 9:11 PM, Korolyov Ilia <[EMAIL PROTECTED]> 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. > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce > negraph.org > ********************************************************************************************** Pensez à l'environnement avant d'imprimer ce message Think Environment before printing Le contenu de ce mél et de ses pièces jointes est destiné à l'usage exclusif du (des) destinataire(s) désigné (s) comme tel(s). En cas de réception par erreur, le signaler à son expéditeur et ne pas en divulguer le contenu. L'absence de virus a été vérifiée à l'émission, il convient néanmoins de s'assurer de l'absence de contamination à sa réception. The contents of this email and any attachments areconfidential. They are intended for the named recipient (s) only. If you have received this email in error please notifythe system manager or the sender immediately and do not disclose the contents to anyone or make copies. eSafe scanned this email for viruses, vandals and malicious content. ********************************************************************************************** _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org