CColorMap

From Spring
Revision as of 00:52, 30 September 2006 by Yeha (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

A ColorMap is a collection of 2 or more number of RGBA colors. They can be expressed either as a string of numbers, or pointing to an image file where each pixel will be used as a color.

Example:

This gives a colormap with 2 colors, first one blue and second one white:
colormap=1 0 0 0 1 1 1 0

Or it can be pointed to a bitmap file:
colormap=bitmap_file.tga