Also consider using the osg::TriangleIndexFunctor for iteratoring through the drawables, it simplifies the job quite a bit.  Have a look at the src/osgUtil/IntersectVisitor.cpp for an example of both a visitor and the functor being used in action.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to