Guy Premont (silicon-worlds++at++calva.net)
Wed, 25 Jun 1997 12:33:30 +0200
I have a simple mathematical problem with pfMatrix and pfDCS : I would
like to have a pfDCS:: or pfMatrix::getScale() function!
In my app (Performer 2.0.2), my database is read from a config file wich
defines all pfDCS, pfSCS, pfLOD, etc... I want to record the initial
values of the pfDCS set in the config file for rotation, translation and
scaling. Rotation and translation are easy to obtain with
dcs->getMatPtr()->getOrthoCoord(&coord).
However, the scaling applied to the pfDCS is lost in the pfMatrix. I
think I could get the uniform scaling with the determinant of the
pfMatrix, but non uniform scaling in X Y and Z are harder to get back.
How could I do it?
Guy
===========================================
Silicon Worlds S.A.
12, rue de Chatillon 75014 Paris France
Tel: +33 (01) 53.90.11.11
Fax: +33 (01) 53.90.11.12
===========================================
=======================================================================
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:55:30 PDT