Hi Martin, these are just hints. Have a look at /** Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has.*/ virtual void accept(PrimitiveFunctor& pf) const; in ShapeDrawable
Maybe there is a way to traverse all the primitives, and then create Geometry from it and export the created Geometries instead of the whole HeightFiled. Just a hint that might help Nick On Sun, Apr 28, 2013 at 9:56 PM, Martin Záleta <zal...@atlas.sk> wrote: > Hi, > > Sadly, exporting a HeightField geometry into .flt likewise produces just > an almost empty file. I kinda suppose it's because the geometry in > HeightFields isn't represented by polygonal meshes, so OSG can't really do > anything to export this data straight away other that maybe except save > those values into an image file like a heightmap. Still, it's just a guess > though, so if there's any other way, just let me know. > > Thanks anyway! > > Cheers, > Martin > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=53853#53853 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org