home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi.graphics
- Path: sparky!uunet!seas.gwu.edu!favre
- From: favre@seas.gwu.edu (Jean Favre)
- Subject: Re: Perspective
- Message-ID: <1992Dec31.160144.2910@seas.gwu.edu>
- Organization: George Washington University
- References: <C01sFL.3q1@world.std.com> <1hsp6vINNql6@fido.asd.sgi.com>
- Date: Thu, 31 Dec 1992 16:01:44 GMT
- Lines: 25
-
- In article <1hsp6vINNql6@fido.asd.sgi.com> kurt@cashew.asd.sgi.com (Kurt Akeley) writes:
- >--
- >
- >I believe this is how the perspective matrix is computed:
- >
- > cot(fov/2)
- > ---------- 0 0 0
- > aspect
- >
- >
- > 0 cot(fov/2) 0 0
- >
- > [stuff deleted...]
-
- Shouldn't this be "cot(fov/20)", since the fov is given in tenths of degrees?
- Page C-4 of the Graphics Library Programming Guide shows the same matrix
- Kurt Akeley typed in, except for this typographic error.
-
- I'm just trying to help.
- Good luck.
-
- --
- Jean M. Favre. EE&CS Dept. The George Washington University
- (202) 994 5917
- favre@seas.gwu.edu
-