[futurebasic] Re: [FB] Pixel Color Change

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2002 : Group Archive : Group : All Groups

From: Russ Pagel <russp@...>
Date: Thu, 10 Oct 2002 20:18:32 -0500
Peter,

Dohh!, You're right.  I meant 32 bits.  8 bit gworlds use a color lookup
table or CLUT and allow you to have 256 preselected colors to choose
from (black, white and 254 others).  I have a project that uses a custom
CLUT and I guess I had 8 bits on the brain.

The only reason I'd said anything about the bit depth was because I'd
removed the alternate REMmed out line concerning 16 bit worlds in the
original example code.

rp


> Date: Wed, 09 Oct 2002 22:01:39 -0500
> From: "Peter Dempsey" <theviron@...>
> To: futurebasic@...
> 
> >From: Russ Pagel <russp@...>
> >The following should be somewhat faster for the 8 bit version
> 
> I admit confusion now.  I messed around with 8 bit pixel manipulation but
> didn't get far.
> In 8 bit, each component of the color would be 2 bits, correct?  So you
> would have to use bit shifts and whatnot... it looks like that code uses
> full 32 bit colors...
> 
> Thanks all,
> pd