Re: [osg-users] Output Scenegroup for Debug purposes
Hi, thx for the quick response, i guess that works out perfectly for me. I'll have a look at it asap. :D ... Thank you! Cheers, Danyel [/quote] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67119#67119 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Output Scenegroup for Debug purposes
Hi Danyel, Hi, i'm new to OSG and i was wondering if there is a simple way to "graphically" output a scenegroup with all nodes. I tried using osgDB::writeNodeFile(*Node, "saved.osg"); but obviously this just a serialization of the very one node I'm inputting. osgDB::writeObjectFile(*Node,"saved2.osg"); outputs already a structure, but it's very confusing. Hopefully one of you has a hint for me on how doing this output most effectively. Saving a node will save the node with it's children. You can use the graphviz output format (.dot) to get the structure. See http://forum.openscenegraph.org/viewtopic.php?t=1968=previous for some older topic on this. As a side node: osg is the deprecated format. Use osgt, osgx or osgb for text, XML and binary formats. Cheers Sebastian ... Thank you! Cheers, Danyel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67117#67117 ___ 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
[osg-users] Output Scenegroup for Debug purposes
Hi, i'm new to OSG and i was wondering if there is a simple way to "graphically" output a scenegroup with all nodes. I tried using osgDB::writeNodeFile(*Node, "saved.osg"); but obviously this just a serialization of the very one node I'm inputting. osgDB::writeObjectFile(*Node,"saved2.osg"); outputs already a structure, but it's very confusing. Hopefully one of you has a hint for me on how doing this output most effectively. ... Thank you! Cheers, Danyel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67117#67117 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org