Info-Mac Archive Downloads: dev/lib/

Back to dev/lib/

ColorGamma - public domain gamma fading library w/source (color-gamma-10-c.hqx)

Download color-gamma-10-c.hqx (141,269 KB)


From: athaler@umich.edu (Drew Thaler)
Subject: ColorGamma - public domain gamma fading library w/source

ColorGamma 1.0 is a public domain library -- with full C source code and an
example project included -- to perform gamma fades to a color. Gamma
fades are typically faster than clut fades, and work in all color modes,
from 1-bit to 24-bit, unlike clut fades. It's a great effect for games;
Marathon II is probably the most popular example, in the underwater
scenes. Both a high-level API and a more flexible low-level API are
provided.

This library and corresponding source are public domain. Enjoy!

Drew Thaler
athaler@umich.edu