[osg-users] Picking objets

2011-07-28 Thread Carlos Sanches
Hi ! I m trying to detect wich object is selected with LineSegmentIntersector . I m using the example osgpick to help. The problem is that I can only see where the line is intersected but I want to execute some command only if a test objet is intersected. For example if I have two spheres A and

Re: [osg-users] Picking objets

2011-07-28 Thread Jason Daly
On 07/28/2011 11:31 AM, Carlos Sanches wrote: Hi ! I m trying to detect wich object is selected with LineSegmentIntersector . I m using the example osgpick to help. The problem is that I can only see where the line is intersected but I want to execute some command only if a test objet is