art wrote: > as in my case, I always do derive a non-model class from osg::Group and use > it as a base class of the non-model object. Deriving from Group gives you the > possibility to include the object somewhere in the scene graph if it is > required, so that the nodes to which it belongs can be placed as childs to > this object.
Would visitors still apply to it as with any other node in the graph - I don't see how that helps? > Other idea would be to derive your objects from osg::Referenced and place > them as user data into any node you need, see osg::Object::setUserData(). Would they still get rendered? Martin ps. TheButler - did you mean to post your message as a reply to this thread? ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=12023#12023 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

