[osg-users] Output Scenegroup for Debug purposes

Danyel Kemali danyelkemali at gmx.de
Mon May 16 09:22:47 PDT 2016


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








More information about the osg-users mailing list