Thanks David, fix looks appropriate, now merged and submitted to svn/trunk. Cheers, Robert.
On 31 October 2012 16:49, David Longest <[email protected]> wrote: > Hello,**** > > ** ** > > When drawing, a transform with an absolute reference frame will ignore the > calculated model / view matrices up to that point. The IntersectionVisitor > would instead keep the view matrices calculated up to that point even > though the Transform class will throw out the calculated model matrix via > “computeLocalToWorldMatrix.”**** > > ** ** > > The change I made will push an identity matrix as the view matrix when > running into a transform with an absolute reference frame and will pop the > matrix off after the traverse.**** > > ** ** > > To test this, I created a camera with a perspective view and added a > transform with some geometry in it. Afterwards, I set the transform’s > reference frame to ABSOLUTE_RF and spun the camera around using the > trackball manipulator. When trying to pick with a LineSegmentIntersector, > it would not pick the geometry in the transform with the reference frame > set to ABSOLUTE_RF.**** > > ** ** > > David**** > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
