Hi, AFAIK, osg is not capable to export geometry to SVG. I used gl2ps[1] together with osg to export some geometry to SVG. Worked quite well.
cheers, Stephan [1] http://geuz.org/gl2ps/ Am 14.12.11 15:26, schrieb Jesper D. Thomsen: > Hi guys, > > I have a question regarding exporting to SVG from OpenSceneGraph. > In our software product we use OpenSceneGraph for both a model view window > and for a charting component. So far we have exported images from the > charting component as bitmap images (by just rendering them to an offscreen > pixelbuffer in the required resolution). We have however had some requests > for exports from our charting component in a vector format compatible with > the Microsoft Office software package (which pretty much means EMF files). > > Since EMF is very Microsoft-specific, I was thinking of using SVG as an > intermediate format, and then using some converter package to create the EMF > output. > I saw SVG mentioned on the OSG mailing list earlier, but my question is > whether there is any way to render to vector SVG from OpenSceneGraph (I kind > of expect a hard "no" here)? > > The graph contents can be both 2D and 3D graphs and the 3D graphs can contain > shaded, but non-textured, 3D-surfaces. > > Thanks in advance. > > Jesper D. Thomsen > AnyBody Technology > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org