Hi Luc,

I've just done a quick review of the .osg plugin and it doesn't
implement the writeHeightField(..) method that is required of the
ReaderWriter to support osgDB::writeHeightFieldFild() to a .osg file.
 Install gdal won't help you here if you want to write to .osg.

The .osg plugin doesn support writing of nodes that contain
heightfields - such as osgTerrain based scenes or ShapeDrawable based
ones.

Altermatively the ReaderWriterOSG could easily be extended to add the
writeHeightField() method, this should be quite straight forward as
the plugin itself has support for osg::HeightField, just not the high
level wiring.  What you are requesting is not something that has been
requested before.

Robert.

On Fri, Aug 22, 2008 at 8:52 PM, Luc Heischbourg
<[EMAIL PROTECTED]> wrote:
> Hi @all,
>
> I have tried to save an osg::Heightfield into a file, but it has not
> succeeded. Have used the function osgDB::writeHeightFieldFile(*hf, "C:\
> \heightfield.osg")).. is the extension wrong or should I install
> further plugins (gdal plugin)?
>
> sincerely yours,
> Luc
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to