Name

color — Creates an entry in the database that functions as part of a color lookup table for displayed regions.

Synopsis

color {low high r g b str}

DESCRIPTION

Creates an entry in the database that functions as part of a color lookup table for displayed regions. The ident number for the region is used to find the appropriate color from the lookup table. The low and high values are the limits of region ident numbers to have the indicated rgb color (0-255) applied. The str parameter is intended to be an identifying character string, but is currently ignored. The current list of color table entries may be displayed with the prcolor command, and the entire color table may be edited using the edcolor command. If a color lookup table exists, its entries will override any color assigned using the mater command.

EXAMPLES

The example shows the use of the color command to make an entry in the color lookup table for regions within a specified range of idents.

Example 1. Making an entry in the color lookup table for regions within a specified range of idents using the color red.

mged> color 1100 1200 255 0 0 fake_string

Makes an entry in the color lookup table for regions with idents from 1100-1200 using the color red.



AUTHOR

BRL-CAD Team

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to