home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sgi / graphics / 67 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.4 KB  |  35 lines

  1. Newsgroups: comp.sys.sgi.graphics
  2. Path: sparky!uunet!enterpoop.mit.edu!world!tjh
  3. From: tjh@world.std.com (Tim Hall)
  4. Subject: Perspective
  5. Message-ID: <C01sFL.3q1@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. Date: Wed, 30 Dec 1992 01:06:56 GMT
  8. Lines: 25
  9.  
  10. How is the perspective matrix computed in GL?  I'm familar with the
  11. Foley / Van Dam stuff where the diagonal is 1's and then using 1/d
  12. (d = distance to viewing plane) etc. etc.  I just assumed that this
  13. would be the case after calling "perspective" and "d" would be found
  14. from the view angle.  However this was not the case as the values
  15. in the diagonal where not all 1.  (Doing a getmatrix after a perspective
  16. call).
  17.  
  18. Anyhow, why I ask and have the attention of all you graphics people, is
  19. because I've been trying to match up the images from my raytracer to the
  20. images produced using the GL.  For small view angles the images match up
  21. fairly well.  For large viewangles my images are slightly larger.  Sort
  22. of like the eye point is a bit too close or the view angle a bit too small.
  23. (Yeah I've checked out both of those)  So now I figure I'm missing a key
  24. concept on perspective.  But it all seems so easy.........
  25.  
  26. Thanks.
  27.  
  28.  
  29.  
  30. -- 
  31. -Tim Hall
  32. I felt the water coming up to my chin, up to my nose.  When I woke up
  33. my body was all greasy from the holy oil.  I remember being disappointed
  34. I was still alive.  -Harry Call
  35.