Hello,
I have a scene and I am using a Perspective Projection. I was using a Ortho projection before. Now, I am creating a new camera manipulator, in which I need to update the camera zoom, and update the camera in that precise moment, in order to check my scene for intersections of a ray from the mouse (in a way similar to setCenterByMousePointerIntersection) . In Ortho mode, I used camera->setViewMatrix(getInverseMatrix()); But this does not work in Perspective projection mode? I get successful scene intersections before I set the Camera's view matrix, but after that line of code, intersecting Is this the problem?
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org