[osg-users] clipping the Intersectors

2012-04-24 Thread Andy Skinner
Should we expect the picking Intersectors to look at the clipping planes set up by ClipNodes and Scissors? We can clip the results, but it seems like the sort of thing the Intersectors would be good at. Basically, we've been getting points picked that should have been clipped by a clip box.

Re: [osg-users] clipping the Intersectors

2012-04-24 Thread Robert Osfield
Hi Andy, One could adapt LineSegmentIntersector and IntersectionVisitor to take account of ClipNodes and Scissor tests, but would require tracking of state and clipping the intersector against the Scissor or ClipPlane (stored at the ClipPane). In the case of a Scissor test this could be treated