cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/11/20:27:01

Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE30156F361@probe-2.acclaim-euro.net>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: color pallete for 256 bits
Date: Wed, 11 Aug 1999 09:37:29 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1460.8)
Reply-To: djgpp AT delorie DOT com

zidharta AT yahoo DOT com writes:
> when we use color pallete technique in 13h graphics mode ...
> (where we set RGB using outport or inport )
> are we really get more colors?... it still 256 bits anyway isnt it?
> so why are we using it? ...

The palette chooses _which_ set of 256 colors you want to use.
Maybe for a Doom game, you mostly want lots of different shades
of brown and grey, while for a Mario game you want lots of
bright, primary colors. There can only be 256 on the screen at
a time, but the palette chooses which colors those are.


	Shawn Hargreaves.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019