interp(6D)
interp - gamma-corrected color ramp generator
As shipped in IRIX 6.5.30. Last changed in IRIX 6.5.22.
NAME interp - gamma-corrected color ramp generator SYNOPSIS /usr/demos/bin/interp DESCRIPTION Interp makes smooth color ranges. Two color chips and a Gouraud-shaded polygon showing the shade range between them are displayed. To make a color range, start windows for showmap, cedit, and interp. Select the color at the lower (usually darker) end of the shade range and use cedit to set it to the desired value. Select the color at the top of the shade range and edit it as well. Now attach to (select) interp. Point to the lower color (usually on showmap). Press and release the left mouse button. Point to the high color and repeat. Both the extreme colors of your desired color ramp should be in the two large color chips in the interp window. If you should make an error when selecting the extreme colors for your ramp, just keep trying to use the left mouse button to pick the colors, until the two color chips show the proper extreme color indices. When the extreme color indices are correctly chosen (which is reflected in the color chips), the other colors of the ramp can be interpolated. While interp is still selected for input, press and release the middle mouse button. This interpolates all the colors between the extreme colors. The resultant color array will be gamma-corrected using the floating- point constant in ~/.gamma. If no such file exists, the gamma constant is 1.0. NOTES interp was retired on SG2 graphics without replacement. BUGS This program must have input focus in order to work properly. See the window manager documentation for a discussion of input focus.