CVS Update (experimental gamma)

The latest CVS snapshot of SDL contains experimental gamma support:
http://www.libsdl.org/cvs.html

Two functions for manipulating the gamma of the display have
been added:
        int SDL_SetGamma(float red, float green, float blue);
        int SDL_GetGamma(float *red, float *green, float *blue);
Gamma can be set on the individual RGB components, and ranges
from 0.1 to 10.  Gamma adjustment will not always be supported.

This is currently only implemented on XFree86 4.0

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Two functions for manipulating the gamma of the display have
been added:
        int SDL_SetGamma(float red, float green, float blue);
        int SDL_GetGamma(float *red, float *green, float *blue);
Gamma can be set on the individual RGB components, and ranges
from 0.1 to 10.  Gamma adjustment will not always be supported.

Woohoo!
Is this gonna be supported on any other targets?

MartinOn Tue, 22 Aug 2000, Sam Lantinga wrote:

Bother said Pooh, then he pulled his 9mm and wasted the intruder.

Two functions for manipulating the gamma of the display have
been added:
        int SDL_SetGamma(float red, float green, float blue);
        int SDL_GetGamma(float *red, float *green, float *blue);
Gamma can be set on the individual RGB components, and ranges
from 0.1 to 10.  Gamma adjustment will not always be supported.

Woohoo!
Is this gonna be supported on any other targets?

Yep, DirectX for sure, and probably MacOS.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software> On Tue, 22 Aug 2000, Sam Lantinga wrote:

The latest CVS snapshot of SDL contains experimental gamma support:
http://www.libsdl.org/cvs.html

should be possible to support on any 8-bit target, especially if we do
the physical/logical screen palette split which is needed anyway (see
previous thread about it)

should be possible to support on any 8-bit target, especially if we do
the physical/logical screen palette split which is needed anyway (see
previous thread about it)

Haha!

MartinOn Wed, 23 Aug 2000, Mattias Engdegard wrote:

Bother! said Pooh, and twitted his SYSOP.

The latest CVS snapshot of SDL contains experimental gamma support:
http://www.libsdl.org/cvs.html

should be possible to support on any 8-bit target, especially if we do
the physical/logical screen palette split which is needed anyway (see
previous thread about it)

I disagree that this is needed. See the previous thread about it. :slight_smile:

Hey, how is the alpha stuff coming?

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software