SWIG OpenGL example

Last update : 1/7/97

This example wraps the OpenGL library using SWIG.  You may have
to do abit of hacking to get it to work however.   This is
set up to compile under Mesa 1.2.8.   You will have to hack
the Makefile to get it to compile.

The following options are available :

make glwish         Builds a version of wish with OpenGL functions
make glpy           Dynamic Python OpenGL module.
make glpystatic     Static version of Python module

Notes :

1.  This example was built using the header files from Mesa 1.2.8.
    Basically, this process involved the following :

	a.  Copy the header files
        b.  Run SWIG to find parsing problems.
        c.  Eliminate parsing problems until errors go away.
        d.  Compile

2.  When compiling, you will get SWIG warnings about array
    members.   This is normal.

3.  The Examples directory has both Tcl and Python examples.  The
Python examples are abit more developed since they were adapted
directory from some C code in the OpenGL examples download.  

4.  The special function newfv4(w,x,y,z) is used to create a 
small 4 element array.   You'll see it quite alot in the example
scripts.

5.  Post no bills.   This whole example was cooked up in an
afternoon so there are many things that could be improved if 
I had more time....  this is primarily intended to be a SWIG
example and not a replacement for other more well-developed
OpenGL modules already available for most scripting languages.
