On 12/14/2011 7:26 AM, Jesper D. Thomsen wrote: > 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.
Well, OSG can save to a few formats. Explore which ones support saving, and then if you can convert from one of those, through a modeling or conversion tool, into SVG or another 2D vector format. Alternately, if you used a 3D capture tool: http://www.planetpdf.com/creative/article.asp?ContentID=review_adobe_acrobat_3d&page=1 http://www.3d-test.com/interviews/OGLE_1.htm http://www.deep-shadows.com/hax/3DRipperDX.htm you might be able to convert from one of its formats to something you can use. -- Chris 'Xenon' Hanson, omo sanza lettere. [email protected] http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

