Hi, I know why there is a difference in behavior between the two different ways of settings DO_NOT_COMPUTE_NEAR_FAR. In principle the results should be the same. Try putting some debugging messages in the computerIntersections method to see what projection matrix it is used in each case, this might give you a bit more of a clue as to the cause.
Robert. On 2/10/07, Panagiotis Papadakos <[EMAIL PROTECTED]> wrote:
I have a problem with computeIntersections, which I am using to see if I pick an object or not. The problem is that it is not working when I set the setComputeNearFarMode to DO_NOT_COMPUTE_NEAR_FAR using the following code and at the same time use anaglyphic stereo. m_viewer->getCullSettings().setComputeNearFarMode(osgUtil::CullVisitor::DO_NOT_COMPUTE_NEAR_FAR); If I set the environmental variable OSG_COMPUTE_NEAR_FAR_MODE to DO_NOT_COMPUTE_NEAR_FAR picking in stereo works as expected. Am I missing something? -- Papadakos Panagiotis _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
