I had something like this - it was crude but had functionality not unlike Performers graph viz tool ,however I stored relevant info in osg::Node, Not getting too far into implementation details - I had to run two nodeVisitors - One to gather info on the scenegraph and the other to build and display it nicely on the screen. Pic is from an earlier OSG 2.1.9 version, haven't altered 2.8.0 to cater for graph visualization.
Paul Martz wrote: > The tool I had for that was kind of cool because it actually used 3D > sphereoids and osgText labels, so you could spin the resulting graphs around > in 3-space with the cool cube mapping and it looked quite impressive. > Unfortunately, the tool was somewhat limiting; the graphs you see in the > book are quite simple and that's a reflection of the tool's limitations. > Making it as general-purpose as GraphViz would've really taken a lot of > work. What I'd really like to see is a plugin interface to GraphViz that > would let me draw my own graph nodes, labels, and arrows. > > Paul Martz > Skew Matrix Software LLC > http://www.skew-matrix.com > +1 303 859 9466 > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Cory > Riddell > Sent: Tuesday, March 24, 2009 2:25 PM > To: OpenSceneGraph Users > Subject: [osg-users] graph visualization tools? > > I am about to write a little Python tool for myself to take an osg file, > extract basic node information, and create a .dot file for graphviz. I want > very simple tree diagrams like Paul Martz made in the quick start guide (he > had green, yellow, and pink ovals for nodes). > > I'm guessing this is something that might already be floating around out > there but I haven't been able to find it. If you know of such a tool, I > would appreciate a link to it. > > Thanks, > Cory Riddell > _______________________________________________ > 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 > > IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.
<<inline: graph.jpg>>
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

