home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13410 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.2 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: Need help for z-buffer problem on INDIGO
  5. Message-ID: <21181@sbsvax.cs.uni-sb.de>
  6. Date: 9 Sep 92 08:03:23 GMT
  7. Sender: news@sbsvax.cs.uni-sb.de
  8. Lines: 21
  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) and
  13. the viewing transformation lookat.
  14. Some special objects are drawn in feedback mode to get the screen-
  15. coordinates. After some specific algorithms, these objects are
  16. drawn into the landscape with the orthographic projection ortho
  17. (... znear=1.0, zfar=10000.0 ).
  18.  
  19. Now my proplem is, that the hidden surface algorithm doesn't work
  20. correctly in the second part.
  21. I think, that the scaling of the z-buffer isn't the same in the
  22. two types of projections.
  23.  
  24. My questions: How does the scaling of z-buffer work?
  25.               Is there a way to convert z-buffer values, get by 
  26.               feedback, into eye-coordinates?
  27.               Is there an error in principle in the described
  28.               method?
  29.  
  30. Thanks for help! 
  31.