Java OpenGL Demos with LWJGL
These applications demonstrate basic features of OpenGL, using the LWJGL Java/OpenGL binding.
The demos are built on the GLApp foundation class, that provides easy access to OpenGL through a light, thin layer of clearly commented code.
GLApp is intended for programmers that are new to OpenGL and want to get results quickly without having to learn a heavy code framework or game library. Most of the code in GLApp can be easily cut-n-pasted to other programs.
Some of the features provided by GLApp: initialize and run the application, handle timing, load images, convert pixel formats, create textures, lights and materials, load OBJ and 3DS models, render text, save screenhots, stencil buffer operations, create custom cursors, and more.
GLApp has been extended with additional classes that provide advanced features such as: cameras, dynamic fonts, and shadows.
These demos are meant to provide practical
reusable code for programmers learning the LWJGL OpenGL Java binding. Although they illustrate aspects of OpenGL they are not meant to be OpenGL tutorials. For excellent tutorials on OpenGL go to Nehe at nehe.gamedev.net or Nate Robbins tutorials.
Requires LWJGL version 2 and Java JRE 1.4_1 or higher. Tested in Win32 and Mac OS X.
All the GLApp source code and demos are released under the Simplified BSD license, which allows this code to be reused and modified.
Updated May 23 2009 (fixed Mac window size).
Updated Feb 5 2009 (fixes, and new GLLine class).
Updated Jan 3 2009 (now compatible with lwjgl 2).
napier <at> potatoland.org