Marcus Barnes (marcus++at++multigen.com)
Mon, 10 Mar 1997 17:04:23 -0800
I was recently reworking some DOF code in the loader and found that the this
subject is documented incorrectly in the OpenFlight spec. and also in the
loader's readme file (it paraphrases the spec.)
I'll be making sure it gets corrected in both documents. In the meantime,
here's what the next readme file will say:
""begin quote""
----------------------------------------------------------
| Order of transformations |
----------------------------------------------------------
The order in which the DOF transformations are applied (multiplied) by
MultiGen is fixed, as follows:
Result = [ Put * S * R * T * Inverse Put ]
Translations and scales are straightforward. The order of rotations in
a DOF is identical to Performer's heading, pitch and roll rotations that
are encapsulated in a pfCoord (these are referred to as Euler angles).
The only difference may be the terminology. Older versions of MultiGen
used the terms twist, azimuth and inclination to denote heading, pitch
and roll respectively in Performer.
The Performer man page on pfMakeEulerMat(3) or pfDCS(3) have a concise
description of how a set of Euler angles are composited into a rotation
matrix. In addition, the matrix equivalent of a pfCoord, containing both
transformations and rotations, can be calculated using
pfMakeCoordMat(3).
""end quote""
Regards.
--
+ Marcus Barnes, Technical Staff mailto:marcus++at++multigen.com +
+ Multigen Inc. http://www.multigen.com +
+ 550 S. Winchester Blvd. phoneto:1-408-556-2654 +
+ Suite 500 San Jose CA 95128 faxto:1-408-261-4102 +
=======================================================================
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:54:52 PDT