ZSHADECAR(1D) — Silicon Graphics
NAME
zshadecar, zshadeabstract, zshadeegg, zshadejet − shading and z-buffering demo
SYNOPSIS
/usr/people/mexdemos/zshadecar
/usr/people/mexdemos/zshadeabstract
/usr/people/mexdemos/zshadeegg
/usr/people/mexdemos/zshadejet
DESCRIPTION
These programs demonstrate advanced graphics features of the IRIS: cubic patches, depth cuing, z-buffering and Gouraud shading. The objects are formed of bi-cubic patches.
The first image to appear is a grey scale chart, representing the gamma corrected color map. The next image is of lines connecting the basis points of the object. From these basis points a cubic patch is derived, first shown as an array of points.
Menu selections for invoking the various display modes are made by pressing one of the following keys:
KeyFunction
dturn on depth cuing
pdraw point display
sdraw as splines
woriginal wireframe
zz-buffer and Gouraud shaded version
To rotate the image, move the mouse in the X direction only. The mouse
buttons select the axis of rotation:
LEFT mouse button rotates the car in X
MIDDLE mouse button rotates the car in Y
RIGHT mouse button rotates the car in Z
The usual way to operate the program is to rotate the wire frame or point surface interactively to the desired position and then smooth shade and z-buffer it.
HARDWARE CONFIGURATION
A minimum configuration of 32 bitplanes, 1.5 Megabytes of memory, and Z-clipping is required.
SEE ALSO
AUTHOR
Henry Moreton
Version 3.6 — December 20, 1987