Nature-Morte
============
Nature-Morte is an OpenGL demo hacked by myself as an exercise to
"Introduction to OpenGL" in summer term 2004. The idea for the demo was
all mine. I'm just using libraries hacked by others. Thus I'll publish my
demo as Public Domain. You might do with my code whatever you like. However,
THERE IS NO WARRANTY FOR ANYTHING!

Credits
=======
1.) Libraries used:
    The library for loading the textures was created by our lecturer
    Jens-Peer Kuska <kuska@izbi.uni-leipzig.de>. It uses libPNG and zlib to
    load the images. Both are published under a BSD like licence.

    The OpenGL Utility Toolkit (GLUT) is used to provide a Graphical User
    Interface. GLUT is freely distributable but not in the Public Domain.
    For Linux I'm using freeGLUT, which is a reimplementation of GLUT and
    published under the X-Consortium licence.
    For Windows I'm using the Nigels GLUT DevPack for Dev-C++.

2.) The three textures were taken from:
      * http://www.davegh.com/blade/davegh.htm
      * http://www.the3dstudio.com/textures.asp
    Unfortunatley I can't tell which one from where ... :-/

3.) Tutorials:
    I'm very grateful to people writing tutorials, especially to
    * Lighthouse:      http://www.lighthouse3d.com/opengl/
    * SIGGRAPH '98:    http://www.sgi.com/software/opengl/advanced98/notes/

Usage
=====
Start "nature-morte" the way it's done for your operating system. With the arrow
keys you can move your point of view in a sphere around the scene. If you click
the right mouse button, a menu will open. You can quit the program by pressing
"q" or the "Escape" key or select "Quit" in the menu.

Compile source
==============
1.) Linux:
    a) Your need a running gcc/make setup (should be installed allready)
    b) You need the following development libraries installed on your system:
       * libGL.a (xlibmesa-gl-dev.deb)
       * libGLU.a (xlibmesa-glu-dev.deb)
       * libm.a (libc6-dev.deb)
       * libglut.a (freeglut3-dev.deb)
       * libpng12.a (libpng12-dev.deb)
       * libXext.a (libxext-dev.deb)
       * libX11.a (libx11-dev.deb)
       * libz.a (zlib1g-dev.deb)
    c) Extract nature-morte.tgz: tar -zxvf nature-morte.tgz
       This creates a subdirectory "nature-morte". We will call the path into
       this directory <nature-morte>.
    d) cd <nature-morte>
    e) mv Makefile.linux Makefile
    f) make

2.) Windows:
    a) Install latest Dev-C++ version from http://www.bloodshed.net/devcpp.html
    b) Install Devpacks for Dev-C++:
       * GLUT from http://www.nigels.com/glt/devpak/
       * zlib and libpng from http://devpaks.org/
    c) Extract "nature-morte.zip": use your prefered tool
       This creates a subdirectory "nature-morte". We will call the path into
       this directory <nature-morte>
    d) Open Windows Explorer and go to <nature-morte>
    e) Rename "Makefile.windows" into "Makefile"
    f) Open Dev-C++ project file "nature_morte.dev"
    g) Compile with Strg+F9
    h) You need to have OpenGL installed on your system (search for opengl32.dll)
       to run the program. The other libraries are included.

