home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13359 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.0 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!sbsvax!sbusol.rz.uni-sb.de!et11hkh
  2. From: et11hkh@sbusol.rz.uni-sb.de (Rainer Zewe)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Problem with z-buffer scaling
  5. Message-ID: <21150@sbsvax.cs.uni-sb.de>
  6. Date: 7 Sep 92 11:39:59 GMT
  7. Sender: news@sbsvax.cs.uni-sb.de
  8. Lines: 17
  9.  
  10. I developed a program to render a landscape on an SGI-INDIGO.
  11. In the first part of my program, I'm drawing the landscape
  12. using the perspective projection (znear=1.0, zfar=10000.0).
  13. Some special objects are drawn in feedback mode in order to get
  14. the screen coordinates. After some specific algorithms, these
  15. objects are drawn into the landscape with the orthographic
  16. projection ortho (.. znear=-1.0, zfar=-10000.0).
  17.  
  18. Now my problem is, that the hidden surface algorithm doesn't
  19. work correctly in the second part. I think that the scaling of
  20. the z-buffer isn't the same in the two types of projections.
  21.  
  22. My questions: How does the scaling of z-buffer work?
  23.               Is there an error in principle in the described
  24.               method?
  25.  
  26. Thanks for help!
  27.