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: Problem with z-buffer scaling
- Message-ID: <21150@sbsvax.cs.uni-sb.de>
- Date: 7 Sep 92 11:39:59 GMT
- Sender: news@sbsvax.cs.uni-sb.de
- Lines: 17
-
- 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).
- Some special objects are drawn in feedback mode in order 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 problem 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 an error in principle in the described
- method?
-
- Thanks for help!
-