Hello osg-users,

I'm building some kind of scene editor (place objects on a terrain
database, set their properties ...). Now i want to save the scene in a
file (osg, ive, ac...)  but there are a lots of node of in my graph that
i don't need in the final file (manipulators, labels, highlights
effects ...). My first plan was to use NodeMask for remove those node at
writing. After a search in osgDB i found nothing about nodeMask in
osgDB ;-(
I also looked around WriteFileCallback but it's seems wrong because they
can't traverse the graph.
What's the easiest way to do this with osg 2.8.3 ? Make a custom
ReaderWriter ?

Thank you!

Antonin Linares


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

Reply via email to