Re: [info-performer] Getting translation and rotation values from a 4x4 matrix

New Message Reply Date view Thread view Subject view Author view

From: Paolo Farinelli (paolo++at++sgi.com)
Date: 03/28/2003 15:44:15


Hi,

Try using: void pfMatrix::getOrthoCoord( pfCoord*coord );

Note that if your DCS lies under other DCSs, you may have
to walk up the DCS's ancestors and compute the combined
transformation matrix (assuming this is what you want).

Hope this helps,
Paolo

Dr.Ganagi wrote:

>Hi,
>
>We are animating viewpoints in our application. These viwpoints are
>generated from scene DCS nodes. We are not able to get translation and
>rotation (hpr) from the DCS matrix.
>
>If anyone has got a way to get translation and rotation values from a 4x4
>matrix, please suggest us.
>
>Thanks in advance,
>Ganagi
>
>-----------------------------------------------------------------------
> List Archives, Info, FAQ: 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
>-----------------------------------------------------------------------
>
>

-- 
Paolo Farinelli                                           paolo++at++sgi.com
Member of Technical Staff, OpenGL Performer              1-650-933-1808
Silicon Graphics        1600 Amphitheatre Pkwy, Mountain View, CA 94043


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Mar 28 2003 - 15:44:24 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.