home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / graphics / 97 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.3 KB  |  29 lines

  1. Newsgroups: comp.sys.sgi.graphics
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!eos!aio!norm!goza
  3. From: goza@norm.JSC.NASA.GOV (Mike Goza)
  4. Subject: Dithering/True Color on PI, Indigos
  5. Message-ID: <1993Jan6.135721.15635@aio.jsc.nasa.gov>
  6. Sender: goza@norm (Mike Goza)
  7. Organization: IGOAL
  8. Date: Wed, 6 Jan 1993 13:57:21 GMT
  9. Lines: 18
  10.  
  11. I have a PI (and assume the following problem is on indigos as well)
  12. and I am in double buffer mode.  I wish to cpack a color and draw
  13. polygons without lighting.  This in effect color codes polygons which
  14. I use for different applications.  I check the number of bitplanes 
  15. available and do not let the color range exceed the value for the 
  16. number of colors available.  This method of coloring polygons works
  17. great on all machines except the ones that dither.  My question is 
  18. this...Can I turn the dithering OFF so the machine will use the cpacked
  19. color I pass it while staying in double buffer mode?  I would have thought
  20. it would have used the value in cpack.  I am passing cpack a long int in the
  21. form of 0xAABBGGRR as per the man pages.  Does this need to be different 
  22. for 12 bitplanes?  Is there anything that can be done to fix this?
  23.  
  24. Any help would be appreciated.  Please email or post.
  25.  
  26. Thanks,
  27. Mike Goza
  28. goza@cheers.jsc.nasa.gov
  29.