I have been using osgUtil::PickVisitor for a while now to pick objects in my 
tree under the mouse.  But now I need to cast a ray into the scene under the 
mouse and manually intersect it with an imaginary plane.  Is there some helper 
function to do this mouse ray cast for me?  Specifically, something that would 
take as input 2 ints for the position of the mouse, and maybe the camera or 
projection and view matrices, then output a vector?

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

Reply via email to