LIQUID(6D) LIQUID(6D)
NAME
liquid - A faucet dripping into a multi-colored pool of
liquid
SYNOPSIS
liquid [-n <nodes>][-f <friction ratio>][-a <ambient>]
[-d <diffuse>][-s <specular>][-g <gravity>]
[-t <tiling size>][-m <mass ratio>]
[-p <pelletsize>]
DESCRIPTION
liquid is a faucet hanging over a pool of liquid, lit by an
arc light. As it drips into the pool, waves spread from the
impact of the drops. liquid demonstrates highly complex
rendering, hidden surface, and wave motion, all in an
abstract animated interactive scene. You can alter the po-
sition of the arc lamp, position the faucet and its drips,
and change the overall viewing position.
You control the positioning of objects in the scene by
pressing and holding the left mouse button on the object you
want to move, dragging the mouse to the new position of the
object, and releasing the left mouse button. If the mouse
is not over any of the movable objects, the viewing position
is altered.
You can stop all the motion temporarily by choosing the
freeze/action pop-up menu option. You can reset the pool to
its original height by choosing the reset pop-up menu op-
tion.
COMMAND LINE OPTIONS
You can use the following options on the command line. You
can use any of them, all of them, or none of them when you
invoke the program. You can always run liquid with the de-
faults, and choose not to use any of the options.
-n <nodes> sets the ratio of the number of nodes per side.
This is a measure of the subdivision for the pools' surface.
The default is eight.
-f <friction> sets the dampening of the wave motion. Values
range from 0.0 (no dampening) to 1.0 (full dampening). The
default is very little dampening.
-a <ambient> sets the ambient coefficient of the lighting
model. The default is .3, the range is from 0.0 to 1.0.
-d <diffuse> sets the diffuse coefficient of the lighting
model. The default is .7, the range is from 0.0 to 1.0.
-s <specular> sets the specular coefficient of the lighting
Page 1 (last mod. 8/20/87)
LIQUID(6D) LIQUID(6D)
model. The default is .7, the range is from 0.0 to 1.0.
-g <gravity> sets the amount of gravity exerted on the
drips as they fall. The default is -10.
-t <tiling size> sets the ratio of the floor tiling to the
pool size. The default is 7.
-m <mass ratio> sets the mass ratio between a drip and the
pool. The default is .125 (1/8).
-p <pelletsize> sets the ratio of the radius of drips to
the size of the pool. The default is .0625 (1/16).
POP-UP MENU OPTIONS
You can use these pop-up menu options:
freeze/action- stops and restarts the motion of the liquid
in the pool and the drips. Use it to set new colors and
lamp or faucet positions before the scene changes.
reset- resets the position of the surface of the pool.
exit- exits the program. You must confirm your intention to
exit before liquid exits. You can also exit by pressing the
escape key on the keyboard.
WINDOW MANAGER
You can only run this program in the window manager.
AUTHOR
Eric Brechner
ORIGIN
Silicon Graphics, Inc.
Page 2 (last mod. 8/20/87)