🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.graphics
Article #78

Dithering/True Color on PI, Indigos

#78
From: Mike Goza
Date: Wed, 06 Jan 1993 13:57
18 lines
1334 bytes
I have a PI (and assume the following problem is on indigos as well)
and I am in double buffer mode.  I wish to cpack a color and draw
polygons without lighting.  This in effect color codes polygons which
I use for different applications.  I check the number of bitplanes 
available and do not let the color range exceed the value for the 
number of colors available.  This method of coloring polygons works
great on all machines except the ones that dither.  My question is 
this...Can I turn the dithering OFF so the machine will use the cpacked
color I pass it while staying in double buffer mode?  I would have thought
it would have used the value in cpack.  I am passing cpack a long int in the
form of 0xAABBGGRR as per the man pages.  Does this need to be different 
for 12 bitplanes?  Is there anything that can be done to fix this?

Any help would be appreciated.  Please email or post.

Thanks,
Mike Goza
goza@cheers.jsc.nasa.gov
Technical Details
Message-ID: <1993Jan6.135721.15635@aio.jsc.nasa.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!eos!aio!norm!goza

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.graphics
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!eos!aio!norm!goza
From: goza@norm.JSC.NASA.GOV (Mike Goza)
Subject: Dithering/True Color on PI, Indigos
Message-ID: <1993Jan6.135721.15635@aio.jsc.nasa.gov>
Sender: goza@norm (Mike Goza)
Organization: IGOAL
Date: Wed, 6 Jan 1993 13:57:21 GMT
Lines: 18