World to screen coord transforms

New Message Reply Date view Thread view Subject view Author view

wrvo (WRVO++at++chevron.com)
Fri, 13 Mar 1998 13:52:12 -0800


I need to transform a world coordinate point to screen coordinates. I know
that I need to call XformPt3 on the point, but I can't figure out where the
matrix (or matrices) come from. I tried pfGetChanViewMat and
pfGetChanOffsetViewMat, but they dont give the correct results. It seems
that I need to be transforming by two matrices - one from world to local
coords and then again from local to screen coords.

A small snippet of code would be wonderful and appreciated.

Thanks,
Bill Volz

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:01 PDT

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