Classification:  UNCLASSIFIED 
Caveats: NONE

What I really need to do is rotate a three different angles in different
planar directions about one axis, how would I use one of those matrix
functions to do that. 

To put it simpler, I want to rotate the x-y axis off the z, the y-z off
the x, and the x-z off the y. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Friday, February 02, 2007 7:47 AM
To: osg users
Subject: Re: [osg-users] rotation (UNCLASSIFIED)

n 2/2/07, Whitfield, John M. (SED/TMI)
<[EMAIL PROTECTED]> wrote:
> Classification:  UNCLASSIFIED
> Caveats: NONE
>
> Does anyone know the meaning of the parameters being input in this and

> other rotation functions?
>
> Matrixd osg::Matrixd::rotate  (  value_type  angle1,
>   const Vec3d &  axis1,
>   value_type  angle2,
>   const Vec3d &  axis2,
>   value_type  angle3,
>   const Vec3d &  axis3
>  )  [inline, static]

Its simply as set of three rotations about three axis.  The angles are
in degrees.  Its equivilant to

  osg::Matrix::rotate(angle1, vec1) * osg::Matrix::rotate(angle2,
vec3)  * osg::Matrix::rotate(angle3, vec3)

Its typically used for doing things like euler angles.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
Classification:  UNCLASSIFIED 
Caveats: NONE

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to