Hi Cristima, You'll need to implement the Drawable::accept(PrimtiveFunctor&) method to enable the standard intersection routes etc. to be able to query your geometry. Have a look at the Geometry::accept(PrimitiveFunctor&) and ShapeDrawable::accept(PrimitiveFunctor&) to how it's done.
Robert. On Wed, Apr 29, 2009 at 5:37 PM, Cristina <cristina.pap...@meggitt.com> wrote: > Hi, > > Is there any intersection callback that we can assign to a node, to be able > to perform intersection with custom render drawables ? > > Regards, > Cristina > > Thank you. > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=11055#11055 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org