delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/20/20:24:37

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What is a good palette for 8-Bit Grafix?
Date: Wed, 20 Oct 1999 17:29:20 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 40
Sender: AFSAUTH AT yerricde DOT laptop DOT rose-hulman DOT edu
Message-ID: <7ulfr5$eqn$1@solomon.cs.rose-hulman.edu>
References: <7uhdij$sfb$1 AT rohrpostix DOT uta4you DOT at>
NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu
X-Trace: solomon.cs.rose-hulman.edu 940458661 15191 137.112.205.146 (20 Oct 1999 22:31:01 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 20 Oct 1999 22:31:01 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Roland Moritz <hotel DOT moritz AT utanet DOT at> wrote from Austria:

> Which Palette should I use? How can I make it, that every
> important color is in the palette, and that there are colors

Use the 6x6x6 color cube.

> in the palette, which enable me to make smooth color-
> changes (for instance when I need the colors to draw a
> picture where an orange gradually turns to a grey or

I reserve eight palette colors for palette animation.

> something)? Can I download a good 8-Bit palette
> somewhere, or has anyone got any tips for how
> to make it?

Try this palette, the one I used in DOSArena:
0: magic pink (r=63 g=0 b=63) for transparency
1-15 the standard DOS colors
16-31 color ramp from black to white
32-39 whatever you want (for palette animation)
40-255 a 6x6x6 color cube
    (0, 12, 25, 38, 51, 63 for each component)

Oh, by the way, this is a good question to ask the
Allegro mailing list. Find out how at Allegro's homepage:
http://www.talula.demon.co.uk/allegro/

There's another article I wrote in this thread that tells
how to extract this palette from DOSArena.

--
Damian Yerrick
CM 398, Rose-Hulman Institute of Technology
5500 Wabash Ave
Terre Haute, IN 47803
http://come.to/yerrick


- Raw text -


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