Hi Sanat,

You can use the dot plugin to write out a .dot file for the scene
graph and then use the 3rd party application dot from graphviz to
convert this to an image.

    http://www.graphviz.org/

The OSG's present3D application has a code segment that support for
visualizing scene graphs by writing the scene graph out to a .dot
file, then running dot via system(..) call and then reads the image
generated by dot back in and assigns it to a textured quad.  See
src/osgPresentation/SlideShowConstructor.cpp's
SlideShowConstructor::addGraph(..) implementation.

Robert.

On Wed, May 25, 2011 at 10:04 PM, Sanat Talmaki <sanat.sch...@gmail.com> wrote:
> Hi,
>
> I am building a GUI where users can load individual cad models and then save 
> out the built up object as a single osg model.
>
> I am interested in showing the user a symbolic view of the scene graph 
> similar to a flow chart where every node that is added by the user in the 
> main window is shown as an update in the secondary window. I guess somewhat 
> similar to osgedit (which I tried but couldn't build as it seems it is quite 
> out of date?)
>
> I was looking for some tips on how I can get started as I am not sure where 
> to get started or if any of the examples show a similar functionality.
>
> Thank you
>
> Sincerely,
> Sanat
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39720#39720
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to