Hey guys thanks for the reply's, sadly this post took a while to be accepted so 
in the mean time, I basically made a node printer that prints the structure of 
my SG to the console using --- to indicate depth level. 

I have done it by implementing a depth tracker function in my visitor, 

if last_node is a parent +1 to depth
elseif last_node is a child -1 to depth
else do nothing

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53395#53395





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to