I am not sure about matrix layout convention used in OSG, but if it uses OpenGL convention you can take third row of camera's view matrix (or third column otherwise).
PS. Supposing that row (column) index starts with 1. 2009/4/27 Mangu Liok <[email protected]> > Hi, > > If I want to know the normal of my screen (for lighting issues) does using > viewer.getCamera->getViewMatrixAsLookAt(eye,center,up) will give it to me as > 'eye'?? > > Thank you. > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=10906#10906 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

