Take the results from the PolytopeIntersector, project them to screen
space, measure the distance from your mouse XY to the projected point, sort
the result set by this metric and take the closest.
On Fri, Dec 23, 2016 at 3:22 AM, Robert Osfield
wrote:
> HI Bruno,
>
> For a point cloud you may b
HI Bruno,
For a point cloud you may be best to implement your own
osgUtil::Intersector, the design is meant to facilitate this,
LineSegmentIntersector and PolytopeIntersector are both examples of
subclasses from Intersector so you could use these as inspriation.
Robert
On 22 December 2016 at 17:
Hello,
I have a point cloud and need to get the intersection of my mouse with that
point cloud. For that I use a PolytopeIntersector. I use this intersector
because I found out that a LineSegmentIntersector will not do the trick.
I set the polytope width and height to 5.0 and therefore I get lots
3 matches
Mail list logo