Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ interp(6d) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     INTERP(6D)                                             INTERP(6D)



     NAME
          interp - gamma-corrected color ramp generator

     SYNOPSIS
          /usr/demos/bin/interp

     DESCRIPTION
          Interp makes smooth color ranges.  Two  color  chips  and  a
          Gouraud-shaded  polygon showing the shade range between them
          are displayed.  To make a color  range,  start  windows  for
          showmap,  cedit,  and interp.  Select the color at the lower
          (usually darker) end of the shade range and use cedit to set
          it to the desired value.  Select the color at the top of the
          shade range and edit it as well.

          Now attach to (select) interp.  Point  to  the  lower  color
          (usually on showmap).  Press and release the left mouse but-
          ton.  Point to the high color and repeat.  Both the  extreme
          colors of your desired color ramp should be in the two large
          color chips in the interp window.  If you should make an er-
          ror  when  selecting  the extreme colors for your ramp, just
          keep trying to use the left mouse button to pick the colors,
          until  the two color chips show the proper extreme color in-
          dices.

          When the extreme color indices are correctly  chosen  (which
          is  reflected  in  the color chips), the other colors of the
          ramp can be interpolated.  While interp  is  still  selected
          for  input, press and release the middle mouse button.  This
          interpolates all the colors between the extreme colors.

          The resultant color array will be gamma-corrected using  the
          floating-point  constant  in  ~/.gamma.  If no such file ex-
          ists, the gamma constant is 1.0.

     ORIGIN
          Silicon Graphics, Inc.


















     Page 1                                        (last mod. 8/20/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026