home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / graphics / 13 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.7 KB  |  41 lines

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