BRender Tutorial Guide:8 BRender Tools :MKRANGES


MKRANGES is a command line tool used to build custom ramped palettes.

Command line format: mkranges <input-text-file> <output-palette>

The input text file is read a line at a time. Lines starting with '#' are ignored. Each line describes a ramp in the palette. There a five groups of numbers. Each group is separated by white space. The numbers in each group are separated by commas. The groups are respectively:

The following is an example script that generates std.pal, the palette supplied with BRender:

Generated with CERN WebMaker