From: Corner, Steve (S.Corner++at++tees.ac.uk)
Date: 09/28/2001 01:09:59
The C function definition is:
void pfDCSRot(pfDCS, heading, pitch, roll);
heading is rotation about Z (up|down) axis;
pitch is rotation about X (left|right) axis;
roll is rotation about Y (forward|backward) axis;
The tranformation matrix is formed in this order roll*pitch*heading
S.
-----Original Message-----
From: Thomas Proell [mailto:thomas.proell++at++ei.tum.de]
Sent: 27 September 2001 21:37
To: info-performer++at++sgi.com
Subject: Don't understand rotations
Hi all!
Whenever I rotate an object with 'pfDCSRot' I wonder what will happen.
I think, the first parameter tells the Performer to rotate around the
z-axis, the second parameter rotates the object around the x-axis and
the last parameter rotates around the y-axes. Is this correct?
Okay, but what happens, if I use several parameters at the same time? In
which order will the rotations happen? First around z, then x then y?
And what about the axis? Do they move, too?
I hope you can help. I'm really confused now :-(
Thomas
-----------------------------------------------------------------------
List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
Open Development Project: http://oss.sgi.com/projects/performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
-----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Fri Sep 28 2001 - 01:11:02 PDT