[osg-users] Picking/Intersections with lines

Robert Osfield robert.osfield at gmail.com
Fri Sep 28 11:57:49 PDT 2007

Use a IntersectionVisitor + PolytopeIntersector. See osgkeyboardmouse example.

On 9/28/07, Michele Bosi <michele.bosi at gmail.com> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list