Art of Illusion v1.8

Copyright 1999-2004 by Peter Eastman

1. Instructions

The Java classes which make up Art of Illusion are packaged into several
.jar files: ArtOfIllusion.jar, which contains the main program, and various 
plugin files, which must be placed in the Plugins directory.  The source
files are organized in the same way.  There is one directory corresponding to
each .jar file, containing the source code for the classes which go into that
file.

You will also find an XML file corresponding to each .jar file.  These
are build scripts for use with the Ant build tool (available from
http://jakarta.apache.org/ant).  To build each file, simply invoke Ant on the
corresponding script.  For example,

ant -buildfile ArtOfIllusion.xml

You must build ArtOfIllusion.jar before building any of the plugins, since
their build scripts need to reference it when compiling.  The plugins can
be built in any order.  The scripts will automatically put the finished .jar
files into the correct locations.  You must have the Java Media Framework
(JMF) installed in order to build Art of Illusion.

A file called classes.jar is included with the source code.  This contains
various classes written by other people which are used by Art of Illusion.
All of these classes are either public domain, or are distributed under 
licenses less restrictive than the GPL, and hence may be freely distributed.
Specifically:

- Jama.Matrix, Jama.SingularValueDecomposition, and Jama.util.Maths are
from the public domain Java Matrix (JAMA) package. The complete JAMA
package, including source code, can be found at
http://math.nist.gov/javanumerics/jama/.

- DCT, Huffman, JpegEncoder, and JpegInfo are copyright 1998 by James R. Weeks
and BioElectroMech.  The complete license information for them is given below.  
The source code can be found at http://www.obrador.com/essentialjpeg/jpeg.htm.

There is also a file called beanshell.jar, which contains the classes for the
Beanshell scripting language.  Beanshell is distributed under the Lesser Gnu
Public License (LGPL), which explicitly permits redistribution under the GPL.
The source code is available from http://www.beanshell.org.

Finally, there is a file called Buoy.jar, which contains the Buoy user
interface library.  Buoy is in the public domain.  The source code can be
found at http://buoy.sourceforge.net.

Further information about Art of Illusion can be found at:

http://www.artofillusion.org

2. License

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version. 

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details. 

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc., 59
Temple Place - Suite 330, Boston, MA 02111-1307, USA.  It can also be
found on the Internet at http://www.fsf.org/copyleft/gpl.html.

3. Other Licenses

The following copyright notice, distribution terms, and disclaimer apply
to the JPEG encoding classes which are contained in classes.jar:

The JpegEncoder and its associated classes are Copyright (c) 1998, James
R. Weeks and BioElectroMech.  This software is based in part on the work
of the Independent JPEG Group.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions, all files included with the source code, and the
following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
