
using flava effects in ice
------------------------------------------
Animate lava effects on a sequence of images in an ice pipeline into a unix
filter. You can preview the results directly in ice - however, be forewarned,
flava is slow thus making ice quite slow.

flava.sh
---------------
The unix filter should call the script flava.sh. 

usage: flava.sh time width height mat_file in_image out_image
where:
      time	  the time parameter - $T*150/$FEND
      width       the width of the image, usually set to $W	
      height      the height of the image, usually set to $H
      mat_file    the modified material file:
                   - the Apply Color texture operation must refer to fname.
		   - the file must be in /ufs/prisms/support/ice/flava
      in_image    the images to be distorted, usually stdin.
      out_image   the resulting images, usually stdout.

Example in ice UNIX filter: 
	flava.sh `$T*150/$FEND` $W $H Ripple.mat stdin stdout

Modifying .mat files
--------------------
.mat files are generated using lava, part of the full PRISMS system. 
When creating your own versions of these materials you should use a
sample image to represent the ice input image and animate the appropriate
material parameters in lava. After saving your material file, edit
(jot or vi) the file and replace the sample image file name with the
keyword "fname" which is used by the shell script to substitute the
images being input by ice.
