Hi Forest, The osg::Drawable class has an accept(PrimitiveFunctor&) method that is used to extract the geometry information in a way that the IntersectionVisitor can use, so if you want picking support then you'll need to implement this.
Robert. 2008/7/25 forest37 <[EMAIL PROTECTED]>: > hi,all > > when i use the function computeIntersections to pick a drawable in the > scene,it's Ok when i use osg::ShapeDrawable to build the scene。but the > computeIntersections doesn't work when i use self drawing, > I derive a class from osg::Drawable,and overwrite the function > computeBound() and drawImplementation(). > why doesn't it work? > > thanks for any hint > > forest > > > > > ________________________________ > 22元超值饭面,8.5折纯珍比萨,必胜宅急送网上点餐优惠多 > _______________________________________________ > 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

