Getting the correct matrix from pfDCS or pfSCS
Nicolas Gauvin (nicolas++at++cae.ca)
Fri, 19 Jan 1996 19:13:58 -0500
I noticed that when I request the pfMatrix of a pfDCS via getMat and getMatPtr
it seems that the transformations (setRot, setTrans and setScale) that I may
have requested earlier have not yet been applied on the matrix. I end up having
the matrix from the previous frame. I guess for performance reasons Performer
computes the matrix only once somewhere before culling starts. I would be
interested to know where this happens exactly. Some of the viewpoints that I
have to set up depend on those matrices. Is there a way to force Performer to
update those matrices somewhere in APP before culling begins?
Regards,
--
___/ | ___/ Nicolas Gauvin e-mail: nicolas++at++cae.ca
/ / | / Software Developper voice: (514) 341-2000 x2275
/ / | __/ CAE Electronics Ltd. fax: (514) 340-5496
/ ___ | / 8585 Cote De Liesse, P.O. Box 1800
_____/ _/ _| _____/ Saint-Laurent, Quebec, Canada, H4L-4X4
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:52:16 PDT