home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi.graphics
- Path: sparky!uunet!think.com!ames!sgi!fido!zola!arthur
- From: arthur@sgi.com (Arthur Evans)
- Subject: Re: Indigo XS24 Sphere library z-buffering problems
- Message-ID: <tk21c0o@zola.esd.sgi.com>
- Sender: news@zola.esd.sgi.com (Net News)
- Reply-To: arthur@chiba (Arthur Evans)
- Organization: Silicon Graphics, Inc.
- References: <92349.141625SML108@psuvm.psu.edu>
- Date: Tue, 15 Dec 92 02:58:32 GMT
- Lines: 28
-
- In article <92349.141625SML108@psuvm.psu.edu> SML108@psuvm.psu.edu writes:
- >Hi, a program I am developing which uses the sphere library runs just
- >fine on an IRIS 4D/220 VGS, but when I run it on a nearby Indigo XS24,
- >the SPH_HEMI seems to get set true by default with SPH_ORIENT set to
- >FALSE (It draws hemispheres which show up as you rotate objects on
- >the screen). If I set SPH_HEMI and SPH_ORIENT to TRUE, this problem
- >goes away, but then z-buffering goes away too and the appearance of
- >spheres on the screen is as if they all have the same z-coordinate
- >and appear in the order in which they are drawn... The Indigo is
- >running 4.0.5 and zbuffer is most definitely set to TRUE...
-
- Are you sure you have zbuffers? Zbuffer hardware is an extra
- cost option with XS24 graphics, and unlike Entry graphics XS24
- doesn't do software zbuffering.
-
- If you don't know whether you have zbuffer hardware, try running
- /usr/gfx/gfxinfo. Output on a XS24z (XS with zbuffer hardware)
- should look something like this:
-
- Graphics board 0 is "GR2" graphics.
- Managed (":0.0") 1280x1024
- 1 GE, 24 bitplanes, 4 auxplanes, 4 cidplanes, Z-buffer
- ^^^^^^^^
- If you do have the zbuffer hardware, spheres should draw correctly
- with SPH_HEMI and SPH_ORIENT set to TRUE.
-
- arthur
-
-