makemap(1G)
makemap - store colors into the gl color map
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME makemap - store colors into the gl color map SYNOPSIS makemap [ -full ] DESCRIPTION A colormap is a mapping from color-index values (integers) into RGB values. All GL programs (graphics programs linked with libgl) share a common X colormap, which is distinct from the default X root colormap. Essentially, makemap causes a certain set of colors to be assigned to the GL colormap (which is just another X colormap as far as the X server is concerned). Although there may be multiple X colormaps defined in the system at any one time, only one of these X colormaps is installed (loaded into the single hardware colormap) at any given time. The GL colormap will be installed whenever GL programs have input focus. The GL colormap is relevant only for GL programs running in cmode (color-index mode). By default, makemap will initialize the first 256 entries in the GL colormap with the exception of color cells 16 thru 31. The reason for not initializing 16-31 is so that X clients can use those cells without interfering with GL programs. The lowest eight colors of the GL colormap are mapped to the eight standard colors of the Graphics Library (black, red, green, yellow, blue, magenta, cyan and white). The next 8 colors (8-15) are mapped to some pastel shades as used by the IRIS Workspace and other system tools. These colors can be dithered with the first eight to get a very wide range even on a minimal system when in double buffered mode. The next 16 colors (16-31) are left untouched. The next 24 colors (32 to 55) are mapped as a black to almost-white gray ramp. The remaining 200 colors (56 to 255) are mapped as a 5*8*5 color cube, which starts at black and ends with white. In this color cube, the 8 levels of green change the fastest, then 5 levels of red, and finally the 5 levels of blue change slowest. Options: -full If there are more than eight planes, map color cells 256-511 to the ordered color map used by some of the image tools in the 4DGifts package and colors 512-767 to a 256 level black to white gray ramp. SEE ALSO loadmap(1G), savemap(1G), showmap(1G),