Dr Colin Bridgewater (crccobr++at++nocrc.abb.no)
Mon, 23 Mar 1998 18:43:31 +0100
My one-fiftieth-of-a-dollar's worth:
Binoy Marvar wrote:
> Hi pfAll,
> Please help me convert the the Euler angles (heading, pitch, and
> roll) of the pfChannel to its respective direction vectors.
Got these from the Performer programing guide:
Heading - rotation about the local Z axis, vector: {0.0, 0.0, 1.0}
Pitch - rotation about the local X axis, vector: {1.0, 0.0, 0.0}
Roll - rotation about the local Y axis, vector: {0.0, 1.0, 0.0}
What is it you want to do ? Do you want to get a view matrix from the
values of H-P-R ? Do you want to recover the H-P-R values from such a
matrix ? Hope this helps to clarify your question a bit ....
Best wishes
Colin
_______________________________________________________________________
Dr Colin Bridgewater crccobr++at++nocrc.abb.no Marine Oil and Gas Dept
ABB Teknologi AS, Bergerveien 12, PO Box 91, N-1361 BILLINGSTAD, Norway
work tel: +47 66 84 35 36, fax: +47 66 84 43 90, home: +44 1189 671713
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:04 PDT