Ribbons Color Index Scheme

Color is one of the main user-configurable options of ribbons .
`Color' is used in two senses:
(1) colors (`material properties' in graphics lingo) are set by
(2) color index integers in the range 0..40.
For example, everything that has color index `5' will be the same material/shininess.

Color indices are set explicitly for each primitive brought in by the atoms, bonds, texts, polys, and ndots files. Each group of these may be set to a single color index through the appropriate control panel.

For each residue section in the ribbons, the `*.ss' file determines the ribbon's residue colors through a look-up table set in the `*.color' file. White is the default color if no look-up is set. Each chain may be set to a single color through the ribbons style panel. The different ribbon coloring schemes are also set with this panel.

Default Color Index Table

  1. Red
  2. Green
  3. Yellow
  4. Blue
  5. Magenta
  6. Cyan
  7. White
  8. Orange
  9. Grey
  10. Lapis
  11. Silver
  12. Lavender
  13. Black
  14. Gold
  15. Rose
  16. Lightgreen
  17. .. 40. `rainbow'
The first seven colors indices are the old SGI colormap defaults. Color '0' is the background. This menu of colors may be changed by means of the Color Panel . Recommend that you make drastic changes only to colors 15 and higher (ie, use these for your `special' colors and surface properties).

WHATIF? If you use ribbons as part of the WHATIF modeling program, all the colors 1..39 form a spectrum based on the old PS300 color wheel, going from blue to red to green and back to blue.

Initialization

The color index material properties may be saved/restored with the Write/Read Materials widgets from the File option of the MenuBar in the form of a *.matter file.

The file `$RIBBONS_HOME/data/.matter' may be setup for alternative colors for all users. When the program begins execution it reads this file if present, then searches your current directory for `.matter', then `model_name.matter'. See the sample files there for examples.

Special colors

Special colors are `reserved' for ribbon texturing. The colorindex and purpose are given below

Black and white

Black and white is usually cheaper for publication. Try out some of the new options in the Image Panel.

An *.rgb file can be converted to black and white and sharpened with the SGI utility `imgworks'
usage: imgworks image.rgb


Ribbons User Manual / UAB-CMC / carson@cmc.uab.edu