Thank you! it works)

05.11.08, 18:27, "Jean-Se'bastien Guay" <[EMAIL PROTECTED]>:

> Hi Max,
> > How should I reset position *OR* rotation *OR* scale using MatrixTransform
> Decomposing the matrix is not that reliable. Keep them separately, or 
> use PositionAttitudeTransform.
> Remember that mt->setMatrix(osg::Matrix::scale(...) * 
> osg::Matrix::rotate(...) * osg::Matrix::translate(...)) is functionally 
> equivalent to one MatrixTransform with scale, with a child 
> MatrixTransform with rotation, and another child MatrixTransform with 
> translate (or some permutation, I can never remember).
> J-S
> -- 
> ______________________________________________________
> Jean-Sebastien Guay    [EMAIL PROTECTED]
>                                 http://www.cm-labs.com/
>                          http://whitestar02.webhop.org/
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-- 
Яндекс.Почта. Поищите спам где-нибудь еще http://mail.yandex.ru/nospam 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to