Info-Mac Archive Downloads: dev/lib/

Back to dev/lib/

Gamma Fader 1.2 - C *and* Pascal source (gamma-fading-lib-12.hqx)

Download gamma-fading-lib-12.hqx (41,231 KB)


From: fprefect@engin.umich.edu (Matt Slot)
Subject: Gamma Fader 1.2 - C *and* Pascal source

This library is intended as a general tool for manipulating the Gamma Tables
of Graphics Devices, to ramp them up or down in order to achieve smooth
screen fades. The source is included for programmers who want to convert
the library to A4-based, but it is not commented for public consumption.
Several popular games and multimedia tools use the Gamma Fade to make
smooth transitions between images. Gamma fades work at any depth and
while adjusting color tables.
Please use the listed functions to see if you can use this code before you set
it up. As usual, this stuff is not warranteed, guaranteed, or anything --
use it at your own risk. It is not Apple-recommended for anything, but it
worked for me, so there!
This library is made possible by the hard work of Matt Slot (fprefect@umich.edu)
and Matt Mora (mxmora@apple.com), and all the others who have made
suggestions and bug reports. Your feedback is appreciated -- really!

Updated: 9/24/95, MJS (v1.2)
*> Declared each function as Pascal
*> Renamed some variable and structs
*> Converted source and tester to Metrowerks 6
*> Bundled MJS's C and MXM's Pascal projects

Oh yeah, this stuff is free to anyone interested in it.

Matt Slot (fprefect@umich.edu) - 9/24/95