diff options
author | Sven Gothel <[email protected]> | 2001-03-15 00:11:05 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2001-03-15 00:11:05 +0000 |
commit | 71b55a070e73ae15c01b0ddc7a3249d9e5bed298 (patch) | |
tree | e37310fac6e36bc6aa6628224b424acc608412f3 | |
parent | b7f7eee96facb114a3dfe11bf70a6d6f3b1299b9 (diff) |
some little bug fixes post v. 2.6.0rel-2-6-0-1
-rwxr-xr-x | Installer/makeJar-Win32.sh | 16 | ||||
-rwxr-xr-x | demos/MiscDemos/gl4java.policy | 154 | ||||
-rwxr-xr-x | demos/gl4java252Check.sh | 36 | ||||
-rw-r--r-- | docs/overview/Overview.sda | bin | 0 -> 28672 bytes | |||
-rw-r--r-- | docs/overview/architecture.html | 49 | ||||
-rw-r--r-- | docs/overview/benefits.html | 149 | ||||
-rw-r--r-- | docs/overview/competitors.html | 53 | ||||
-rw-r--r-- | docs/overview/future.html | 82 | ||||
-rw-r--r-- | docs/overview/gleeson_head.png | bin | 0 -> 37331 bytes | |||
-rw-r--r-- | docs/overview/history.html | 86 | ||||
-rw-r--r-- | docs/overview/index.html | 74 | ||||
-rw-r--r-- | docs/overview/motivation.html | 136 | ||||
-rw-r--r-- | docs/overview/purpose.html | 103 | ||||
-rw-r--r-- | docs/thanxs.html | 75 | ||||
-rw-r--r-- | docs/trademarks.html | 70 | ||||
-rw-r--r-- | symbols.mak.sgi-irix65-mips-gcc-32bit | 47 | ||||
-rw-r--r-- | symbols.mak.sgi-irix65-mips-gcc-brian-32bit | 47 | ||||
-rw-r--r-- | symbols.mak.solaris-sunos-56-sparc-gcc-brian-32bit | 46 | ||||
-rw-r--r-- | symbols.mak.solaris-sunos-57-sparc-gcc-32bit | 46 |
19 files changed, 1269 insertions, 0 deletions
diff --git a/Installer/makeJar-Win32.sh b/Installer/makeJar-Win32.sh new file mode 100755 index 0000000..b0e6523 --- /dev/null +++ b/Installer/makeJar-Win32.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +. versiondef.sh + + +rm -f *.class GL4JInstaller.jar + +javac -classpath ".;..\\capsapi_classes.zip" *.java + +. versionundef.sh + +rm -rf META-INF + +jar cf GL4JInstaller.jar *.class + +rm -f *.class diff --git a/demos/MiscDemos/gl4java.policy b/demos/MiscDemos/gl4java.policy new file mode 100755 index 0000000..1679a0d --- /dev/null +++ b/demos/MiscDemos/gl4java.policy @@ -0,0 +1,154 @@ +// +// GL4Java extensions get all permissions ! +// +// This config-piece should be added on top of the file: +// +// If a Java2 SDK is used: +// <java2-installation>/jre/lib/security/java.policy +// +// If a Java2 JRE is used: +// <jre-installation>/lib/security/java.policy +// +// The GL4Java Homepage: +// +// http://www.jausoft.com/gl4java/ +// + +grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/Installer/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/MiscDemos/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/RonsDemos/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/SwingDemos/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/GLLandScape/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/HodglimsNeHe/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java-Stuff/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java-Stuff/psi/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/Installer/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/MiscDemos/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/RonsDemos/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/SwingDemos/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/GLLandScape/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/HodglimsNeHe/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java-Stuff/*" +{ + permission java.security.AllPermission; +}; + +grant codeBase "http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java-Stuff/psi/*" +{ + permission java.security.AllPermission; +}; + + +// Standard extensions get all permissions by default + +grant codeBase "file:${java.home}/lib/ext/*" { + permission java.security.AllPermission; +}; + +// default permissions granted to all domains + +grant { + // Allows any thread to stop itself using the java.lang.Thread.stop() + // method that takes no argument. + // Note that this permission is granted by default only to remain + // backwards compatible. + // It is strongly recommended that you either remove this permission + // from this policy file or further restrict it to code sources + // that you specify, because Thread.stop() is potentially unsafe. + // See "http://java.sun.com/notes" for more information. + permission java.lang.RuntimePermission "stopThread"; + + // allows anyone to listen on un-privileged ports + permission java.net.SocketPermission "localhost:1024-", "listen"; + + // "standard" properies that can be read by anyone + + permission java.util.PropertyPermission "java.version", "read"; + permission java.util.PropertyPermission "java.vendor", "read"; + permission java.util.PropertyPermission "java.vendor.url", "read"; + permission java.util.PropertyPermission "java.class.version", "read"; + permission java.util.PropertyPermission "os.name", "read"; + permission java.util.PropertyPermission "os.version", "read"; + permission java.util.PropertyPermission "os.arch", "read"; + permission java.util.PropertyPermission "file.separator", "read"; + permission java.util.PropertyPermission "path.separator", "read"; + permission java.util.PropertyPermission "line.separator", "read"; + + permission java.util.PropertyPermission "java.specification.version", "read"; + permission java.util.PropertyPermission "java.specification.vendor", "read"; + permission java.util.PropertyPermission "java.specification.name", "read"; + + permission java.util.PropertyPermission "java.vm.specification.version", "read"; + permission java.util.PropertyPermission "java.vm.specification.vendor", "read"; + permission java.util.PropertyPermission "java.vm.specification.name", "read"; + permission java.util.PropertyPermission "java.vm.version", "read"; + permission java.util.PropertyPermission "java.vm.vendor", "read"; + permission java.util.PropertyPermission "java.vm.name", "read"; +}; + diff --git a/demos/gl4java252Check.sh b/demos/gl4java252Check.sh new file mode 100755 index 0000000..5027d97 --- /dev/null +++ b/demos/gl4java252Check.sh @@ -0,0 +1,36 @@ +#! /bin/sh + +verbose=1 + +if [ "$1" = "-quiet" ] ; then + verbose=0 +fi + +# +# MakeCurrent/Free check +# +for i in *.java ; do + a=$(grep -h -c gljMakeCurrent $i) + b=$(grep -h -c gljFree $i) + if [ ! \( $a -eq $b \) ] ; then + if [ $verbose -eq 1 ] ; then + echo $i MakeCurrent/Free ERROR + else + echo $i + fi + fi +done + +# +# gluNew check ! +# +for i in *.java ; do + a=$(grep -h -c gluNew $i) + if [ ! \( $a -eq 0 \) ] ; then + if [ $verbose -eq 1 ] ; then + echo $i gluNew used WARNING + else + echo $i + fi + fi +done diff --git a/docs/overview/Overview.sda b/docs/overview/Overview.sda Binary files differnew file mode 100644 index 0000000..1cc7e85 --- /dev/null +++ b/docs/overview/Overview.sda diff --git a/docs/overview/architecture.html b/docs/overview/architecture.html new file mode 100644 index 0000000..91b85bf --- /dev/null +++ b/docs/overview/architecture.html @@ -0,0 +1,49 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.73 [en] (X11; I; Linux 2.4.0-test5 ppc) [Netscape]"> +</head> +<body text="#000000" bgcolor="#E6E6FF" link="#0000EF" vlink="#51188E" alink="#FF0000"> + +<center> +<h2> +OpenGL<SUP><FONT SIZE="1">TM</FONT></SUP> +for Java<SUP><FONT SIZE="1">TM</FONT></SUP> +/ Overview / Architecture</h2></center> + +<center> +<h2> +The Integration</h2></center> + +<ul> +<li> +GL4Java uses the Java Native Interface (JNI) to pass all OpenGL calls from +Java to the machines native OpenGL library.</li> + +<ul> +<br>GL4Java has two layers: +<ul> +<li> +Java-Classes</li> + +<li> +Native-Library</li> +</ul> + +<p><br>Both layers are connected via JNI, where the native library is platform +dependend +<br>and must be ported and compiled for each platform. +<p><img SRC="../images/overviewA.png" NOSAVE height=565 width=610 align=TEXTTOP> +<br> </ul> +</ul> + +<center><img SRC="../images/gnu-and-penguin-color-300x276.png" NOSAVE height=276 width=300></center> + +<ul> +<ul> +<br> </ul> +</ul> + +</body> +</html> diff --git a/docs/overview/benefits.html b/docs/overview/benefits.html new file mode 100644 index 0000000..b756147 --- /dev/null +++ b/docs/overview/benefits.html @@ -0,0 +1,149 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.73 [en] (X11; I; Linux 2.4.0-test5 ppc) [Netscape]"> +</head> +<body text="#000000" bgcolor="#E6E6FF" link="#0000EF" vlink="#51188E" alink="#FF0000"> + +<center> +<h2> +OpenGL<SUP><FONT SIZE="1">TM</FONT></SUP> +for Java<SUP><FONT SIZE="1">TM</FONT></SUP> +/ Overview / <font size=+1>Benefits</font></h2></center> + +<center> +<h2> +<font size=+1>The Features Of GL4Java</font></h2></center> + +<ul> +<li> +Open Standard in the meaning of the GNU community.</li> + +<ul> +<br>GL4Java is licensed under the <a href="http://www.gnu.org/copyleft/lgpl.html">´GNU +Library General Public License (LGPL)´ !</a> +<br>People can use it freely and can contribute code and ideas into this +living project. +<br>The API, of course, should being left stable. Changes should not affect +the current usage +<br>and should made compatible. +<p>Because the API and its implementation is free, +<br>there is no reason of being afraid that GL4Java will stop existing. +<br>The worst case is, that you must maintain GL4Java by yourself, if nobody +other does. +<br>But you are allowed to do so and everything you need is freely avaiable +! +<br> </ul> + +<li> +It is avaiable for different OS / architectures.</li> + +<ul> +<br>GL4Java can be seen as an Java extension, which has a native and a +java part. +<br>The native part is prepared for: +<ul> +<ul> +<li> +Unices</li> + +<ul> +<li> +GNU/Linux + XFree86 3.Y.Z - 4.Y.Z</li> + +<li> +Solaris</li> + +<li> +Irix</li> + +<li> +...</li> +</ul> + +<li> +Windows 9x-NT</li> + +<li> +Macintosh OS 9.Y.Z</li> +</ul> +</ul> + +<p><br>The number of precompiled libraries for the different OS is +growing. +<br>Currently the most Unices, Windows and Macintosh is supported with +precompiled libs. +<br> </ul> + +<li> +GL4Java Applets can run with Netscape (Unices+Windows) and with MS-IE (Windows)</li> +</ul> + +<ul> +<li> +Can be installed via the WWW with a browser and the Installer-Applet.</li> +</ul> + +The Installer-Applet can be used for a local installation also. +<ul> +<li> +Supports Java with a complete OpenGL 1.2 and GLU native library mapping.</li> + +<ul> +<br>Any modifications and extensions to the OpenGL library will be followed. +<p>Uses true hardware accelerated (if supported by the OS) for AWT-Canvas +components, +<br>and currently offscreen rendered (may be hardware accelerated) Swing +components. +<br> </ul> + +<li> +Supports a Java written <b><i><a href="http://reality.sgi.com/opengl/glut3/glut3.html">glut</a></i></b>implementation +(subset), included the glut-fonts.</li> + +<ul> </ul> + +<li> +Offers convinient classes and functions to:</li> + +<ul> +<li> +Access OpenGL/GLU with a C like API.</li> + +<li> +Bind the OpenGL context to the native Java window, or to an offscreen Image.</li> + +<li> +Base classes to provide the user with basic Canvas features for still and +animation rendering, like <b><i><a href="http://reality.sgi.com/opengl/glut3/glut3.html">glut</a></i></b>.</li> + +<ul> +<li> +Complete event handling for window refresh, etc.</li> + +<li> +OpenGL context creation and binding</li> + +<li> +Multi-Threading handling for animation</li> + +<li> +Texture loading / saving in different formats: TGA, PNG, JPG, ...</li> + +<li> +Applet integration and test classes</li> + +<li> +Creating snapshots and displaying images</li> + +<li> +...</li> +</ul> +</ul> +</ul> + +<center><img SRC="../images/reiss-head.jpg" NOSAVE height=253 width=259></center> + +</body> +</html> diff --git a/docs/overview/competitors.html b/docs/overview/competitors.html new file mode 100644 index 0000000..9999513 --- /dev/null +++ b/docs/overview/competitors.html @@ -0,0 +1,53 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.73 [en] (X11; I; Linux 2.4.0-test5 ppc) [Netscape]"> +</head> +<body text="#000000" bgcolor="#E6E6FF" link="#0000EF" vlink="#51188E" alink="#FF0000"> + +<center> +<h2> +OpenGL<SUP><FONT SIZE="1">TM</FONT></SUP> +for Java<SUP><FONT SIZE="1">TM</FONT></SUP> +/ Overview / <font size=+1>Competitors</font></h2></center> + +<center> +<h2> +<font size=+1>The Other OpenGL and 3D API's For Java ?</font></h2></center> + +<center><i><font size=-1>(There is no competition :o)</font></i> +<p><font size=-1>GL4Java itself is 1st released in 04/1997, its 1st prerequisites +is 1st released in 01/1996 !</font></center> + +<ul> +<li> +Magician ( -> <a href="http://arcana.symbolstone.org/products/magician/">http://arcana.symbolstone.org/products/magician/</a> +)</li> + +<p><br>Magician is a commercial closed source product, and it is therefor +a proprietary product ( -> GNU ). +<p>It has a nice documentation. People who has switched from Magician to +GL4Java, +<br>because its Magician's proprietary approach, missed nothing, but the +open source standard. +<p>Well, I gave Magician no try, because of the license - thats it. +<p>Ron Cemer, a GL4Java participant, just stated about the Magician approach, +<br>that he is not willing to spend time and energy in bug finding for +an closed and proprietary product. +<br>So do I. +<p>1st Release on 09/1997. +<br> +<li> +JSparrow ( -> <a href="http://www.pfu.co.jp/jsparrow/">http://www.pfu.co.jp/jsparrow/</a> +)</li> + +<p><br>Another commercial closed source product. +<p>See above ! +<p>1st Release on 09/1998. +<br> </ul> + +<center><img SRC="../images/philosophical-gnu-sm.png" NOSAVE height=200 width=160></center> + +</body> +</html> diff --git a/docs/overview/future.html b/docs/overview/future.html new file mode 100644 index 0000000..e030e95 --- /dev/null +++ b/docs/overview/future.html @@ -0,0 +1,82 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.73 [en] (X11; I; Linux 2.4.0-test5 ppc) [Netscape]"> +</head> +<body text="#000000" bgcolor="#E6E6FF" link="#0000EF" vlink="#51188E" alink="#FF0000"> + +<center> +<h2> +OpenGL<SUP><FONT SIZE="1">TM</FONT></SUP> +for Java<SUP><FONT SIZE="1">TM</FONT></SUP> +/ Overview / Future</h2></center> + +<center> +<h2> +<font size=+1>Plans, Projects, Help, Participation</font></h2></center> + +<p><br>We - the GL4Java developer/users - are looking for further support +& sponsoring: +<ul> +<li> +LGPL'ed code</li> + +<li> +Machines to creating precompiled libs for / or people who does it</li> + +<li> +Testers</li> + +<li> +Application and Companies, which announces GL4Java</li> + +<li> +Anything else :o)</li> +</ul> + +<p><br>In the future, the following is planed - or should be added on: +<ul> +<li> +More precompiled binaries ...</li> +</ul> + +<ul> +<li> +Stabilisation ...</li> +</ul> + +<ul> +<li> +Improved performance for offscreen rendering and swing integration !</li> +</ul> + +<ul> +<li> +Scene-Graph API and implementation, which uses GL4Java</li> + +<ul> +<li> +VRML97 reader / writer</li> + +<li> +3DES, DFX, ... reader / writer</li> +</ul> + +<li> +Game engines ...</li> +</ul> + +<ul> +<li> +What do you want ? Tell us or/and implement it.</li> +</ul> + +<center><img SRC="../images/baby-gnu.png" NOSAVE height=233 width=175></center> + +<ul> +<ul><font size=-1></font> </ul> +</ul> + +</body> +</html> diff --git a/docs/overview/gleeson_head.png b/docs/overview/gleeson_head.png Binary files differnew file mode 100644 index 0000000..8eb5ba6 --- /dev/null +++ b/docs/overview/gleeson_head.png diff --git a/docs/overview/history.html b/docs/overview/history.html new file mode 100644 index 0000000..36bb6ac --- /dev/null +++ b/docs/overview/history.html @@ -0,0 +1,86 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.73 [en] (X11; I; Linux 2.4.0-test5 ppc) [Netscape]"> +</head> +<body text="#000000" bgcolor="#E6E6FF" link="#0000EF" vlink="#51188E" alink="#FF0000"> + +<center> +<h2> +OpenGL<SUP><FONT SIZE="1">TM</FONT></SUP> +for Java<SUP><FONT SIZE="1">TM</FONT></SUP> +/ Overview / Historie</h2></center> + +<center> +<h2> +<font size=+1>The Pre-GL4Java OpenGL Language Mappings</font></h2></center> + +<center> +<p><br><b><i>01/1996</i></b></center> + +<p>The OpenGL interface for Java work was started by Leo Chan<a href="ftp://ftp.cgl.uwaterloo.ca/pub/software/meta/OpenGL4java.html"> +[ftp://ftp.cgl.uwaterloo.ca/pub/software/meta/OpenGL4java.html]</a>. +<br>He implemented the library for Java 1.0.2 with its pre JNI native mechanism. +<br>The native and the java glue for OpenGL was written by hand and so, +it wasn't complete. +<br> +<br> +<br> +<center> +<p><b><i>1997</i></b></center> + +<p>Leo Chan's works was continued by Adam King[<a href="http://www.magma.ca/%7Eaking/java">OpenGL4Java</a>]. +<br>This version was able to be compiled with Java 1.1 and the +<br>OpenGL-Rendering is done in the callers Java-Frame. +<br>The native and java glue for OpenGL was still implemented by hand and +used the pre JNI mechanism. +<br> +<br> +<br> +<center> +<p><b><i>(about) 04/1997 - 12/1997</i></b></center> + +<p>Tommy Reilly[<a href="http://www.pajato.com/jogl">Jogl</a>] participated +to Adam King's work and the project's title changed to Jogl. Jogl's big +points lies in it's +<br>powerfull autoconfig and in it's improved X-Window System functions +- so mostly all Unices are supported. Another point is +<br>the Win32 support. Sources and a precompiled dll were distributed. +<br>Jogl uses the new Java 1.1 JNI mechnism, the native and java glue for +OpenGL was still implemented by hand. +<br>Like the prerequisite versions, Jogl's API differs from the "C" OpenGL +naming convention. +<br> +<br> +<br> +<center> +<p><b><i>03/1997 - Today</i></b></center> + +<p><a href="http://www.jausoft.com/gl4java/">GL4Java</a> is based upon +Leo Chan's work and is developed parallel to Jogl. +<br>It uses - as Jogl does - the JDK 1.1. JNI mechanism. +<br>After getting in touch with Tommy Reilly, Jogl and GL4Java shared a +few ressources. +<br>The further development of Jogl stops, so GL4Java is the only +active remaining successor of the first original approach. +<br>GL4Java extends / differs from all the above implementations: +<ul> +<li> +Using the "C" OpenGL API / naming convention</li> + +<li> +Using a compiler to create the complete OpenGL/GLU native and java glue +code</li> + +<li> +Is Netscape & MS-IE Browser enabled.</li> + +<li> +...</li> +</ul> + +<center><img SRC="../images/whats-gnu.png" NOSAVE height=256 width=276></center> + +</body> +</html> diff --git a/docs/overview/index.html b/docs/overview/index.html new file mode 100644 index 0000000..c7b9640 --- /dev/null +++ b/docs/overview/index.html @@ -0,0 +1,74 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="CONTENT-TYPE" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.73 [en] (X11; I; Linux 2.4.0-test5 ppc) [Netscape]"> + <meta name="CREATED" content="20000807;19074400"> + <meta name="CHANGED" content="16010101;0"> +</head> +<body text="#000000" bgcolor="#E6E6FF" link="#0000EF" vlink="#51188E" alink="#FF0000"> + +<center> +<h1> +<font size=+4><a href="http://www.jausoft.com/gl4java/"> +OpenGL<SUP><FONT SIZE="1">TM</FONT></SUP> +for Java<SUP><FONT SIZE="1">TM</FONT></SUP> +</a> / Overview</font></h1></center> + +<center><font size=+1>OpenGL Language Mapping For Java</font></center> + +<p><br> +<ul> +<ul> +<ul> +<ul> +<li> +<font size=+1><a href="motivation.html">Motivation: 3D in Java Applications/Applets/WebSites</a></font></li> + +<li> +<font size=+1><a href="purpose.html">Purpose: Accessing Native OpenGL From +The Java Side</a></font></li> + +<li> +<font size=+1><a href="architecture.html">Architecture: The Integration</a></font></li> + +<li> +<font size=+1><a href="benefits.html">Benefits: The Features Of GL4Java</a></font></li> + +<li> +<font size=+1><a href="history.html">History: The Pre-GL4Java OpenGL Language +Mappings</a></font></li> + +<li> +<font size=+1><a href="competitors.html">Competitors: The Other OpenGL +and 3D API's For Java ?</a></font></li> + +<li> +<font size=+1><a href="future.html">Future: Plans, Projects, Help, Participation</a></font></li> + +<li> +<font size=+1><a href="../thanxs.html">Thanxs</a></font></li> + +<li> +<font size=+1><a href="../../demos/MiscDemos/PerformanceLogs/">Performance Measurement Log-Files</a></font></li> +</ul> +</ul> +</ul> +</ul> + +<center><a href="http://www.gnu.org"><img SRC="../images/gleeson_head.png" NAME="Graphic1" BORDER=0 height=146 width=207 align=BOTTOM></a> +<br> +<p><a href="../trademarks.html">Trademarks</a> +<p><a href="http://www.gnu.org/copyleft/lgpl.html">GL4Java is licensed +under the ´GNU Library General Public License (LGPL)´ !</a> +<br> +<br> +<br> +<p><a href="http://www.jausoft.com"><img SRC="../images/jaulogo-hp-300x80.png" NOSAVE BORDER=0 height=80 width=300></a></center> + + +<ul> </ul> + +</body> +</html> diff --git a/docs/overview/motivation.html b/docs/overview/motivation.html new file mode 100644 index 0000000..4c2c130 --- /dev/null +++ b/docs/overview/motivation.html @@ -0,0 +1,136 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.75 [en] (X11; U; Linux 2.4.0-test4 i686) [Netscape]"> +</head> +<body text="#000000" bgcolor="#E6E6FF" link="#0000EF" vlink="#51188E" alink="#FF0000"> + +<center> +<h2> +OpenGL<SUP><FONT SIZE="1">TM</FONT></SUP> +for Java<SUP><FONT SIZE="1">TM</FONT></SUP> +/ Overview / Motivation</h2></center> + +<center> +<h2> +3D in Java Applications/Applets/WebSites</h2></center> + +<ul> +<li> +Todays usage of 3D in serious applications, as well as in games and web +pages is rapidly growing.</li> + +<li> +Many existing technologies exits for using 3D in the Web:</li> + +<ul> +<li> +Metastream ( -> <a href="http://www.metastream.com">http://www.metastream.com +</a>)</li> +</ul> + +<ul> +<br>A 3D Object visualisation toolkit / viewer ! +<br>Metastream objects can be rotated, zoomed and moved by the user/viewer. +<br>Further interactions are not foreseen. +<br>Big points are: +<ul> +<ul> +<li> +High compression rate of the image data</li> + +<li> +Integrates perfect in HTML pages (background, shadows, ...)</li> + +<li> +High quality texture mapping</li> +</ul> +</ul> +</ul> +</ul> + +<ul> +<ul> +<li> +VRML (1.0-97), X3D (-> <a href="http://www.web3d.org">http://www.web3d.org</a> +)</li> + +<ul> +<li> +Scene-Graph organisation / structure</li> + +<li> +Interaction / Manipulation via:</li> + +<ul> +<li> +Interpolatiors</li> + +<li> +Timers</li> + +<li> +Sensors (Collision, Proximity, Time, Touch, Visibility, ...)</li> + +<li> +Java Interface</li> +</ul> +</ul> +A VRML World can interactive, so you can walk around and have some actions. +<br>The World itself, inclusive the interaction codes can resides within +one compressed VRML file. +<br>Many current browsers usually have an VRML viewer, but as a restriction, +<br>the GNU/Linux machines are not supported by default. +<br> +<li> +Java3D ( -> <a href="http://www.javasoft.com/products/java-media/3D/index.html">http://www.javasoft.com/products/java-media/3D/index.html +)</a></li> +</ul> +</ul> + +<ul> +<ul>Java3D is a high level 3D API for Java. It may use OpenGL, Direct3D +or anything else. +<br>Many features and algorythms of Java3D are implemented in Java itself, +<br>so the performance is not comparable with a native implementation which +may also +<br>include geometric hardware unit. +<br>Java3D has a VRML reader/writer, and like VRML, a 3D scene-graph API +!</ul> +</ul> + +<ul> +<ul> +<li> +OpenGL language mappings for Java</li> +</ul> +</ul> + +<ul> +<ul>Like GL4Java, there exists many OpenGL language mappings for Java ( +-> <a href="history.html">history </a>) ! +<p>All features of the OpenGL language and the Java language are combined +in one solution: +<ul> +<ul> +<li> +OpenGL's industry standard</li> + +<li> +Using todays hardware accelerated graphic cards techniques directly</li> + +<li> +Having platform independed high perfomance 3D solutions</li> + +<li> +Combining Java's usability and its high amount of API's with 3D</li> +</ul> +</ul> +</ul> +</ul> + +<center><img SRC="../images/gnubanner.jpg" NOSAVE height=60 width=468></center> + +</body> +</html> diff --git a/docs/overview/purpose.html b/docs/overview/purpose.html new file mode 100644 index 0000000..b507ec1 --- /dev/null +++ b/docs/overview/purpose.html @@ -0,0 +1,103 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.75 [en] (X11; U; Linux 2.4.0-test4 i686) [Netscape]"> +</head> +<body text="#000000" bgcolor="#E6E6FF" link="#0000EF" vlink="#51188E" alink="#FF0000"> + +<center> +<h2> +OpenGL<SUP><FONT SIZE="1">TM</FONT></SUP> +for Java<SUP><FONT SIZE="1">TM</FONT></SUP> +/ Overview / Purpose</h2></center> + +<center> +<h2> +Accessing Native OpenGL From The Java Side</h2></center> + +<ul> +<li> +OpenGL is the industry standard 3D API originally created by SGI (-> +<a href="http://www.opengl.org/">http://www.opengl.org</a> +).</li> + +<ul> +<br>OpenGL is known as the standard 3D API for serious CAD development, +creation & visualisation. +<p>Today, also games does use OpenGL as its underlying 3D renderer machine, +<br>because of its reliability and the existing consumer graphic cards +with OpenGL hardware acceleration. +<p>The benefits of OpenGL are described under: +<a href="http://www.opengl.org/About/About.html">http://www.opengl.org/About/About.html</a> +. +<br> </ul> + +<li> +GL4Java adds native OpenGL access to the Java Virtual Machine (JVM).</li> + +<ul> +<br>Applications as well as Applets can use OpenGL, +<br>if the GL4Java-Extension is installed on the users machine. +<p>Currently the following JVM's are supported +<br> +<ul> +<li> +Sun's JVM (all types of: Blackdown, IBM, ...)</li> + +<ul> +<li> +GNU/Linux</li> + +<li> +Other Unices (Solaris, Irix, ..)</li> + +<li> +Win9x, WinNT, ...</li> + +<li> +Macintosh ...</li> +</ul> + +<li> +MS-JVM (build >=3186 )</li> +</ul> + +<p><br>The Installation can be made via the GL4Java-Installer, +<br>which can be start from a Web-Browser and installs GL4Java on the fly +from the Web, +<br>or runs as a standalone application from your local harddisk. +<br> </ul> + +<li> +The performance of GL4Java applications depends on:</li> +</ul> + +<ul> +<ul> +<li> +The underlying JVM implementation (Native Threads/JIT/Hotspot/...)</li> + +<li> +The underlying OpenGL implementation (Hardware Accelerated vs Software +Rendering)</li> +</ul> + +<br> +<ul><font size=-1>With new world JVM's and OpenGL graphic cards and their +libraries,</font> +<br><font size=-1>you can expect a very usable performance - nearly high +as the native applications.</font> +<br><font size=-1>The biggest performance difference is the algorythm part</font> +<br><font size=-1>of your GL4Java application, which you might use and +need for geometric calculations,</font> +<br><font size=-1>game logic, etc. The OpenGL glue in the GL4Java-Extension, +which makes the connection</font> +<br><font size=-1>to the native OpenGL library, is as small as it can be +!</font></ul> +</ul> + +<center><img SRC="../images/gnubanner.jpg" NOSAVE height=60 width=468></center> + +</body> +</html> diff --git a/docs/thanxs.html b/docs/thanxs.html new file mode 100644 index 0000000..d5efde5 --- /dev/null +++ b/docs/thanxs.html @@ -0,0 +1,75 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.73 [en] (X11; I; Linux 2.4.0-test5 ppc) [Netscape]"> +</head> +<body text="#000000" bgcolor="#E6E6FF" link="#0000EF" vlink="#51188E" alink="#FF0000"> + +<center> +<p><a href="http://www.jausoft.com/gl4java/"><img SRC="images/gl4javaLogo.png" NOSAVE BORDER=0></a> + +<h2> +OpenGL<SUP><FONT SIZE="0">TM</FONT></SUP> +for Java<SUP><FONT SIZE="0">TM</FONT></SUP> +/ Thanxs</h2></center> + +<center> +<h2> +<font size=+1>Thanxs</font></h2></center> + +<center><font size=+1>The GNU & GNU/Linux community, and all the brave +folks, who</font> +<br><font size=+1>wrote open sourced free (L)GPL'ed software.</font> +<br><font size=+1>Without them, a project like this is impossible !</font> +<p><font size=+1>Leo Chan for porting the OpenGL library to java the first +time !</font> +<p><font size=+1>Adam King for porting Leo Changs version to integrate</font> +<br><font size=+1>the OpenGL-Rendering into the Java-Frame !</font> +<p><font size=+1>Tommy Reilly for participating and much improvements</font> +<p><font size=+1>Atilla Kolac for participating in GL4Java while his and +mine</font> +<br><font size=+1>diploma thesis work.</font> +<p><font size=+1>Leung Yau Wai for debugging Win32 !</font> +<p><font size=+1>Eloi Maduell for keeping me working on the Netscape support</font> +<br><font size=+1>and his texture examples.</font> +<p><font size=+1>Lee Elson & Odell Reynolds (both NASA)</font> +<br><font size=+1>for makeing the source code more compatible</font> +<br><font size=+1>and creating binaries for other unices.</font> +<p><font size=+1>Gerard Ziemski for porting GL4Java to the MACintosh !</font> +<p><font size=+1>Ron Cemer (www.3dstockcharts.com)</font> +<br><font size=+1>for start porting GL4Java to the MS-JVM</font> +<br><font size=+1>and writing the 1st version of the INSTALLER !</font> +<p><font size=+1>Pontus Lidman (Mathcore) for adding</font> +<br><font size=+1>GLUT Font support for GL4Java !</font> +<p><font size=+1>www.desys.com for paying me a fee,</font> + +<br><font size=+1>to support offscreen rendering and swing integration</font> +<br><font size=+1>and for being most patient, while I work for this product ! +!</font> +<p><font size=+1>Max Gilead, for maintaining the FAQ and answering so many</font> +<br><font size=+1>questions in the mailinglist, and ...</font> +<p><font size=+1>Ervin Vervaet (Java MD3 Viewer), Max Gilead (Fictor),</font> +<br><font size=+1>Aetius (SurfaceGL), Jean-Yves BRUD, and many others</font> +<br><font size=+1>- for helping being GL4Java bug clean.</font> +<p><font size=+1>E3Futura & TeatreSoft for inviting me to the www.campus-party.org +(2k)</font> +<br><font size=+1>and makes my appearance to it possible.</font> +<p><font size=+1>Moises Ferrer Ramirez ([email protected]) for</font> +<br><font size=+1>creating the nice & cool +OpenGL<SUP><FONT SIZE="0">TM</FONT></SUP> +for Java<SUP><FONT SIZE="0">TM</FONT></SUP> +Logo !</font> +<p><font size=+1> Kenneth B. Russell, for motivating and participate in</font> +<br><font size=+1>Implementing JDK's 1.3 JAWT feature and</font> +<br><font size=+1>the new GLDrawable/GLEventListener model ! </font> +<p><font size=+1>And all the many others, who are not named here !</font> +<br> +<p><a href="http://www.jausoft.com"><img SRC="images/jaulogo-hp-300x80.png" NOSAVE BORDER=0 height=80 width=300></a></center> + +<ul> +<ul> </ul> +</ul> + +</body> +</html> diff --git a/docs/trademarks.html b/docs/trademarks.html new file mode 100644 index 0000000..dd5ee50 --- /dev/null +++ b/docs/trademarks.html @@ -0,0 +1,70 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.73 [en] (X11; I; Linux 2.4.0-test5 ppc) [Netscape]"> +</head> +<body text="#000000" bgcolor="#E6E6FF" link="#0000EE" vlink="#551A8B" alink="#FF0000"> + +<center> +<h2> +<font size=+4><a href="http://www.jausoft.com/gl4java/"> +OpenGL<SUP><FONT SIZE="1">TM</FONT></SUP> +for Java<SUP><FONT SIZE="1">TM</FONT></SUP> +</a> / Trademarks</h2></center> + +<ul> +<ul> +<li> +<font face="Arial,Helvetica"><font size=+1>Linux is a trademark of Linus +Torvald</font></font></li> + +<li> +<font face="Arial,Helvetica"><font size=+1>OpenGL is a registered trademark +of SGI.</font></font></li> + +<li> +<font face="Arial,Helvetica"><font size=+1>Java and all Java-based trademarks +and logos are trademarks or registered trademarks of Sun Microsystems,Inc. +in the United States and other countries.</font></font></li> + +<li> +<font face="Arial,Helvetica"><font size=+1>Solaris is trademark of Sun +Microsystems,Inc.</font></font></li> + +<li> +<font face="Arial,Helvetica"><font size=+1>Windows and Windows NT are registered +trademarks of Microsoft Corporation.</font></font></li> + +<li> +<font face="Arial,Helvetica"><font size=+1>IRIX is a registerd trademark +of SGI in the United States and other countries.</font></font></li> + +<li> +<font face="Arial,Helvetica"><font size=+1>Mac is a registered trademark +of Apple Computer, Inc.</font></font></li> + +<li> +<font face="Arial,Helvetica"><font size=+1>Netscape is a trademark of Netscape +Communications Corp.</font></font></li> + +<li> +<font face="Arial,Helvetica"><font size=+1>The names of products and corporations +are trademarks or registered trademarks of respective corporation.</font></font></li> +</ul> +</ul> + +<br> +<br> + +<div STYLE="margin-left: 2cm"> +<center><b><i>GL4Java was the former project name of +OpenGL<SUP><FONT SIZE="-2">TM</FONT></SUP> +for Java<SUP><FONT SIZE="-2">TM</FONT></SUP> +.</i></b></center> +<center><b><i>GL4Java has no relationship with the Java trademark registered +by Sun Microsystems, Inc.</i></b></center> +</div> + +</body> +</html> diff --git a/symbols.mak.sgi-irix65-mips-gcc-32bit b/symbols.mak.sgi-irix65-mips-gcc-32bit new file mode 100644 index 0000000..2545a80 --- /dev/null +++ b/symbols.mak.sgi-irix65-mips-gcc-32bit @@ -0,0 +1,47 @@ +###################################################################### +# Locations that are environment specific. You will need to +# change these to reflect the location of Java and Mesa (or OpenGL) +# and CC etc. on your system +###################################################################### + +SHELL = /usr/bin/bash + +THISDIR = ${PWD} +HOME_LIB_DIR = ${HOME}/lib +DEST_CLASSES_DIR = ${HOME}/lib-java +UNIXTYPE = SGI-IRIX-65-mips + +JDK_HOME = $(shell dirname $$(which java))/.. +JAVASHAREINC = $(JDK_HOME)/include +JAVAOSINC = $(JDK_HOME)/include/irix + +CC = gcc +MKLIB = mklibs/mkslib.irix6.2-gcc +MKEXP = echo +JAVAC = $(JDK_HOME)/bin/javac -classpath ".:$(THISDIR):$(THISDIR)/capsapi_classes.zip" +JAVAH = $(JDK_HOME)/bin/javah +JAR = $(JDK_HOME)/bin/jar + +OGLINCDIR = /usr/include +OGLLIBDIR = /usr/lib32 + +XINCDIR = /usr/include/X11 +XLIBDIR = /usr/lib/X11 + +MATHLIB = -lm + +OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU + +XLIBS = -L$(XLIBDIR) -lX11 + +#LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -lpthread -ldl +LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -ldl + +INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \ + -I$(XINCDIR) -I$(OGLINCDIR) + +CFLAGS = -fPIC -D_REENTRANT -c -Wall -O3 \ + -D_X11_ + + +GZIP = gzip diff --git a/symbols.mak.sgi-irix65-mips-gcc-brian-32bit b/symbols.mak.sgi-irix65-mips-gcc-brian-32bit new file mode 100644 index 0000000..7513076 --- /dev/null +++ b/symbols.mak.sgi-irix65-mips-gcc-brian-32bit @@ -0,0 +1,47 @@ +###################################################################### +# Locations that are environment specific. You will need to +# change these to reflect the location of Java and Mesa (or OpenGL) +# and CC etc. on your system +###################################################################### + +SHELL = /usr/freeware/bin/bash + +THISDIR = ${PWD} +HOME_LIB_DIR = ${HOME}/lib +DEST_CLASSES_DIR = ${HOME}/lib-java +UNIXTYPE = SGI-IRIX-65-mips + +JDK_HOME = /usr/java +JAVASHAREINC = $(JDK_HOME)/include +JAVAOSINC = $(JDK_HOME)/include/irix + +CC = gcc +MKLIB = mklibs/mkslib.irix6.2-gcc +MKEXP = echo +JAVAC = $(JDK_HOME)/bin/javac -classpath ".:$(THISDIR):$(THISDIR)/capsapi_classes.zip" +JAVAH = $(JDK_HOME)/bin/javah +JAR = $(JDK_HOME)/bin/jar + +OGLINCDIR = /usr/include/GL +OGLLIBDIR = /usr/lib32 + +XINCDIR = /usr/include/X11 +XLIBDIR = /usr/lib/X11 + +MATHLIB = -lm + +OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU + +XLIBS = -L$(XLIBDIR) -lX11 + +#LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -lpthread -ldl +LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -ldl + +INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \ + -I$(XINCDIR) -I$(OGLINCDIR) + +CFLAGS = -fPIC -D_REENTRANT -c -Wall -O3 \ + -D_X11_ + + +GZIP = gzip diff --git a/symbols.mak.solaris-sunos-56-sparc-gcc-brian-32bit b/symbols.mak.solaris-sunos-56-sparc-gcc-brian-32bit new file mode 100644 index 0000000..ad3e068 --- /dev/null +++ b/symbols.mak.solaris-sunos-56-sparc-gcc-brian-32bit @@ -0,0 +1,46 @@ +###################################################################### +# Locations that are environment specific. You will need to +# change these to reflect the location of Java and Mesa (or OpenGL) +# and CC etc. on your system +###################################################################### + +SHELL = /h/bpape/bash-2.04/bash + +THISDIR = ${PWD} +HOME_LIB_DIR = ${HOME}/lib +DEST_CLASSES_DIR = ${HOME}/lib-java +UNIXTYPE = SUNOS-56-sparc + +JDK_HOME = $(shell dirname $$(which java))/.. +JAVASHAREINC = $(JDK_HOME)/include +JAVAOSINC = $(JDK_HOME)/include/solaris + +CC = gcc +MKLIB = mklibs/mkslib.solaris-gcc +MKEXP = echo +JAVAC = $(JDK_HOME)/bin/javac -classpath ".:$(THISDIR):$(THISDIR)/capsapi_classes.zip" +JAVAH = $(JDK_HOME)/bin/javah +JAR = $(JDK_HOME)/bin/jar + +OGLINCDIR = /usr/X/include/GL +OGLLIBDIR = /usr/X/lib + +XINCDIR = /usr/X/include +XLIBDIR = /usr/X/lib + +MATHLIB = -lm + +OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU + +XLIBS = -L$(XLIBDIR) -lX11 + +LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -lpthread -ldl + +INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \ + -I$(XINCDIR) -I$(OGLINCDIR) + +CFLAGS = -fPIC -D_REENTRANT -c -Wall -O3 \ + -D_X11_ -Dsparc -D__BUILTIN_VA_ARG_INCR \ + -DGLU_VERSION_1_2 + +GZIP = gzip diff --git a/symbols.mak.solaris-sunos-57-sparc-gcc-32bit b/symbols.mak.solaris-sunos-57-sparc-gcc-32bit new file mode 100644 index 0000000..34fb000 --- /dev/null +++ b/symbols.mak.solaris-sunos-57-sparc-gcc-32bit @@ -0,0 +1,46 @@ +###################################################################### +# Locations that are environment specific. You will need to +# change these to reflect the location of Java and Mesa (or OpenGL) +# and CC etc. on your system +###################################################################### + +SHELL = /usr/bin/bash + +THISDIR = ${PWD} +HOME_LIB_DIR = ${HOME}/lib +DEST_CLASSES_DIR = ${HOME}/lib-java +UNIXTYPE = SUNOS-57-sparc + +JDK_HOME = $(shell dirname $$(which java))/.. +JAVASHAREINC = $(JDK_HOME)/include +JAVAOSINC = $(JDK_HOME)/include/solaris + +CC = gcc +MKLIB = mklibs/mkslib.solaris-gcc +MKEXP = echo +JAVAC = $(JDK_HOME)/bin/javac -classpath ".:$(THISDIR):$(THISDIR)/capsapi_classes.zip" +JAVAH = $(JDK_HOME)/bin/javah +JAR = $(JDK_HOME)/bin/jar + +OGLINCDIR = /usr/X/include +OGLLIBDIR = /usr/X/lib + +XINCDIR = /usr/X/include +XLIBDIR = /usr/X/lib + +MATHLIB = -lm + +OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU + +XLIBS = -L$(XLIBDIR) -lX11 + +LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -lpthread -ldl + +INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \ + -I$(XINCDIR) -I$(OGLINCDIR) + +CFLAGS = -fPIC -D_REENTRANT -c -Wall -O3 \ + -D_X11_ -Dsparc -D__BUILTIN_VA_ARG_INCR \ + -DGLU_VERSION_1_2 + +GZIP = gzip |