Skip to documentation
DocumentationAll documentsEnglish

COMB_COLOR(nged)

NAME

comb_color - Changes the color of a combination.

On this page

SYNOPSIS

comb_color {combination_name r g b}

DESCRIPTION

Assigns the color using the provided rgb values to the existing combination named combination_name. Valid values for each variable are between 0 and 255. Note the comb_color command sets the rgb attribute. This is overwritten by the color attribute, so if a combination has both color and rgb attributes, the color attribute takes precedence in both wireframe and raytracing.

EXAMPLES

The example shows the use of the command comb_color to assign a specific color to a specific region.

Example 1. Assign a color to a specific region.

mged>comb_color region.r 0 255 0

Assigns the color green to region.r.

SEE ALSO

mater(nged), attr(nged)

AUTHOR

BRL-CAD Team

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org