Swaminathan N. (swami++at++evl.uic.edu)
Sat, 19 Apr 1997 11:14:26 -0500 (CDT)
> I guess maybe you are confusing the traversal matrix and the pfDCS matrix. The
> DCS matrix is not applied to the traversal matrix while in pre-callback mode,
> as Mr Leclerc pointed out. Thus your DCS matrix could be changing, but the
> pre-traversal matrix remains identity. I've used trav->getMat(mat) quite
> successfully (meaning, it did what I thought and wanted it do). In fact a code
> stub in preCB_DCS looks like
>
> pfMatrix traversal
> trav->getMat(traversal);
> pfMatrix m;
> pfdcs->getMat(m);
> traversal.preMult(m);
Oops, I just went back and checked and found that the pfDCS matrix (which was
just a scale factor) was in fact included in trac->getMat(). My multiplying
this just squared the matrix. So, now I'm totally confused. Is trav->getMat()
supposed to include the pfDCS's matrix? Is this a bug, programmer error or
just plain stupidity on my part.
Thanks
Swami
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
v Swaminathan Narayanan ^
v swami++at++evl.uic.edu ^
v Office: 996-3002 ^
v Home: 850-2726 ^
v http://www.evl.uic.edu/swami ^
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
=======================================================================
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:05 PDT