Hello, Sorry for this dumb question, but somehow I cant find the answer in the archives or I am just searching for the wrong thing.
Anyway, I want to transform my coordinates with a Matrix. I have a matrixTransform (lets call it T) and I need to multiply that with a MatrixTransform (lets call it M) that rotates by lets say 45° around the X-Axis and then scales the X,Y and Z values. But lets just concentrate on the rotation for now. I tried to use preMultRotate(quat) on the Matrix I got from T->getMatrix() after updating the w Value of the quat I got back from T->getMatrix().getRotate(); but that doesnt seem to work. Its probably a simple problem, but I would still be thankful for answers. So whats the best way to Multiply the TransformMatrix with another Transform Matrix or Two normal Matrices ? And what Method should I use? Also I noticed that the preMult and postMult methods all have return type void, and the API isnt very helpful, so any general information about how to achieve this in OSG would be greatly appreciated, Thanks! David ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17213#17213 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

