Hi, How do I get the transform matrix of the Producer::Camera with world coordinates in a scene? I use the following line of code: const Producer::Matrix::value_type* matrix(camera->getViewMatrix()); Is this statement correct to get the transform matrix of the camera representing the world coordinates?
I have to use this transform matrix to compute a new matrix. Typically a transform matrix has the following appearance. r = rotation s = shear g = scale t = transform X Y Z W X (rg , rs , rs , t) Y (rs , rg , rs , t) Z (rs , rs , rg , t) W( 0 , 0 , 0 , 1) - Homogeneous coordinates The martix I get with the statement above is different to this martix. Which form has the martix I get with this statement: const Producer::Matrix::value_type* matrix(camera->getViewMatrix()); Thanks and regards Bernd _______________________________________________________________________ Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220 _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/