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&view=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
[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