Message-ID: <19971025031927.22940.qmail@hotmail.com> From: "John Patton" To: djgpp AT delorie DOT com Subject: Re: Fade routine Content-Type: text/plain Date: Fri, 24 Oct 1997 20:19:27 PDT Precedence: bulk >Vic schrieb: >> Michal Mertl wrote: >> > On Wed, 15 Oct 1997, Simon Churchill wrote: >> > > Andreas Bj=F6rk wrote: >> > > Have You remembered that the palette is only 18bit colour not 24bit >> > > >> > > ie rgb vals go from 0 - 0x63 and not 0 - 0xff ??????? >> > > >> > Not to be pedantic but it's 0 - 63 (0x3f) >> Plus the palette is 8 bit. I never heard of 18 bit... > >Never heard? I assume you haven't tried graphics programming yet... >Picture data is 8 bit per pixel because it's a reference to the 256 DAC p= >alette >registers which are 18 bit wide (6 bit for red/green/blue values, which l= >eads to >2^18 =3D 262144 different colors, but only 256 of them are displayable at= > the same >time) HiColor/TrueColor modes don't have a palette which makes fading a h= >ard >task (I've heard something about 'color ramp' but I don't know what this = >really >is...)=20 I agree. I just received a short lecture on it from Shawn Hargreaves, and George just about stated verbatim what Shawn said. I had a decent idea about it, and it was cleared up thanks to Shawn. Can become confusing, though... -Johnny P. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com