Version 1.0 SERIES 3000
IRIS OWNER’S GUIDE 9-5 Demonstration Programs and Gifts
Try picking a color from showmap and editing it with cedit.
interp displays and alters a region of the color map. Use interp to make color
ramps for depth-cued or smooth-shaded objects. interp makes a color ramp of
any size between any two color indices, interpolating the red, green and blue
intensities of all indices between the two prescribed extremes. Two squares
show the extreme colors of a color ramp and a long rectangle shows the
intermediate color range.
The following sequence describes how to use interp with showmap and cedit to
create a user-defined color ramp.
1. Attach to the cedit window. Use cedit to edit any two color indices
displayed by showmap.
2. Detach from cedit and attach to interp. Point to one of the extreme
colors from showmap that you have edited and press the
LEFTMOUSE button.
4. Point to the other extreme color and again press the LEFTMOUSE
button. The colors appear as two large squares in the interp
window. (If you make a mistake while choosing extreme colors, for
example, the cursor is over an incorrect color index, then continue
picking colors with the LEFTMOUSE button until both extreme
colors are visible in the interp window.)
4. Press MIDDLEMOUSE; the system interpolates between the colors
you have chosen and places the new values into the color map.
Pixel Access Program
mag is an interactive program that magnifies or enlarges a pixel region on the
screen. To use mag:
1. Attach to the mag window.
2. Place the cursor on some image on the screen, then press and
release the LEFTMOUSE button. A magnified image of the area
around the cursor fills the mag window. Pressing the
MIDDLEMOUSE button toggles the outlining of the magnified
pixels.
3D Object Manipulation Demonstration Programs
This section describes the fast 3D demonstration programs. They illustrate 3D
transformations, polygon fill, depth-cuing, hidden surface removal, and
overlapping windows. These demonstration programs are double-buffered for
smooth motion.