home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!sbsvax!sbusol.rz.uni-sb.de!et11hkh
- From: et11hkh@sbusol.rz.uni-sb.de (Rainer Zewe)
- Newsgroups: comp.sys.sgi
- Subject: Need help for z-buffer problem on INDIGO
- Message-ID: <21181@sbsvax.cs.uni-sb.de>
- Date: 9 Sep 92 08:03:23 GMT
- Sender: news@sbsvax.cs.uni-sb.de
- Lines: 21
-
- I developed a program to render a landscape on an SGI-INDIGO.
- In the first part of my program, I'm drawing the landscape,
- using the perspective projection( znear=1.0, zfar=10000.0) and
- the viewing transformation lookat.
- Some special objects are drawn in feedback mode to get the screen-
- coordinates. After some specific algorithms, these objects are
- drawn into the landscape with the orthographic projection ortho
- (... znear=1.0, zfar=10000.0 ).
-
- Now my proplem is, that the hidden surface algorithm doesn't work
- correctly in the second part.
- I think, that the scaling of the z-buffer isn't the same in the
- two types of projections.
-
- My questions: How does the scaling of z-buffer work?
- Is there a way to convert z-buffer values, get by
- feedback, into eye-coordinates?
- Is there an error in principle in the described
- method?
-
- Thanks for help!
-