Use a IntersectionVisitor + PolytopeIntersector. See osgkeyboardmouse example.
On 9/28/07, Michele Bosi <[EMAIL PROTECTED]> wrote: > Hi all, > I am currently working on an application where the user needs to > select some lines using the mouse. I already succeeded in picking > objects made of triangles using the convenient functions found in > osgViewer (computeIntersections), however it seems not possible with > it to pick lines. Is there any way to do so? > > Thanks, > Michele > _______________________________________________ > 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

