Hi Martin,

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.

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().

Cheers,
Art

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12018#12018





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to