Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: (PR#9535) ftwl: supporting 8bpp mode
Home

[Freeciv-Dev] Re: (PR#9535) ftwl: supporting 8bpp mode

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9535) ftwl: supporting 8bpp mode
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Wed, 28 Jul 2004 18:20:50 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9535 >

On Wed, 28 Jul 2004, Per I. Mathisen wrote:

> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9535 >
>
> The problem here is that themes and other graphics resources may not be in
> 8bpp, or at least not in the same palette.
>
> I basically see three ways to do this:
>   1 - Use a standard palette with a good spread of colours, then match as
> best as we can dynamically.
>   2 - Compile a palette from the colours used, provided that this number
> does not exceed 256. If it does not, this is the optimal solution.
>   3 - Demand that 8bpp mode uses an 8bpp theme that supplies its own
> palette, and it is the theme writer's responsibility to ensure that this
> palette works for the other graphics resources used.

1 and 2 will never look visually as good as 3. 3 is easier to code. So
IMHO 3 wins. For paletted displays, the theme should have the palette.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#9535) ftwl: supporting 8bpp mode, Vasco Alexandre da Silva Costa <=