Hello Glenn Waldron I tried pos1 = P1 * modelviewMat * projectionMat, which gives me different results, but still, some of the value are out of the range (-1,1).
I thought that P1 * modelviewMat * projectionMat and projectionMat * modelviewMat * P1 would give me the same results, but they are different actually. Would you tell me the difference between them? Thanks! Ying [quote="gwaldron"]Ying, I think your multiplication order is backwards; try pos1 = P1 * modelviewMat * projectionMat; Glenn Waldron / @glennwaldron ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=60440#60440 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

