pfDCS::setMatType()

New Message Reply Date view Thread view Subject view Author view

Scott Herod (herod++at++evt.com)
Fri, 12 Feb 1999 10:07:20 -0700


Hello,
  I'm using a DCS attached above geometry to move the
geometry about and allow for rotations, non-uniform scalings,
and translations. As such I specify for the DCS

  dcs->setMat( mat );
  dcs->setMatType( PFMAT_TRANS | PFMAT_ROT | PFMAT_NONORTHO );

I've recently noticed that PFMAT_NONORTHO does not force the
DCS to recompute it's bounding sphere. Is this simply a
documentation error? I would assume that a non-uniform
scaling would include the possibility of having a uniform
scaling.

Secondly, while testing this I added the matrix code to
something that already used

  dcs->setRot( 0.0f, 0.0f, 25.0f*t );

where t = pfGetTime();. According to the pfDCS man page,
I should not do this since I have non-uniform scaling (in
my test). If I left the setMatType code in, the setRot
over-rode my scaling. Without the setMatType, the setRot
replaced my scalings. This is true regardless of whether
I had uniform or non-uniform scalings as long as I had
PFMAT_NONORTHO specified in setMatType.

This is "xsPerformer2.2.3 Execution Environment".

Scott Herod
scott++at++evt.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Feb 12 1999 - 09:07:37 PST

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