Re: eye viewpoint vector

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Mon, 5 Jan 1998 17:14:35 -0800


On Jan 5, 3:17pm, Volz, Bill (wrvo) wrote:
> Subject: eye viewpoint vector
> Anyone know how to obtain the vector that points along the eye direction
> (perpendicular to the screen)? I know it in there somewhere, but where.
> Could I take two points in the view system ( say (xcenter,ycenter,1) and
> (xcenter,ycenter,2), where [xy]center is the center of the viewport) and
> inverse transform and then subtract them to get the vector? Is there an
> easier way?

In Performer transform 0, 1, 0 through the pfChannel matrix.

Use the vector transform not the point transform.

Cheers,Angus.

-- 
"They can't break you if you don't have a spine."
                                      - Wally.

======================================================================= 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:56:31 PDT

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