NeHe Tutorials for LWJGL

The NeonHelium (NeHe) OpenGL tutorials are one of the most widely used resource for people starting to learn OpenGL. The tutorials are starting to show their age now as they mostly cover old techniques but are still a good place to get started with OpenGL.

The source code for the tutorials (found below) has been ported to the crossplatform LWJGL library. The NeHe site should still be consulted for the full write up of each tutorial. The tutorials can been seen in action below running as as either a Java Applet or Java Web Start.

In addition to lwjgl.jar the lwjgl_util.jar will also need to be on the classpath as some of the tutorials require GLU (OpenGL Utility Library) to run.

Credits and thanks to Tim Biedert for making the original ports to LWJGL and allowing them to be updated and hosted here. Also thanks to Matthias Mann for writing the PNGDecoder used to load PNG files for the tutorials. Finally, special thanks to the people behind the original NeHe tutorials and site.

Lesson 01 - Setting Up An OpenGL Window
Source Code
Java Web Start
Lesson 02 - Your First Polygon
Source Code
Java Web Start
Applet
Lesson 03 - Adding Color
Source Code
Java Web Start
Applet
Lesson 04 - Rotation
Source Code
Java Web Start
Applet
Lesson 05 - 3D Shapes
Source Code
Java Web Start
Applet
Lesson 06 - Texture Mapping
Source Code
Java Web Start
Applet
Lesson 07 - Texture Filters, Lighting & Keyboard Control
Source Code
Java Web Start
Applet
Lesson 08 - Blending
Source Code
Java Web Start
Applet
Lesson 09 - Moving Bitmaps In 3D Space
Source Code
Java Web Start
Applet
Lesson 10 - Loading And Moving Through A 3D World
Source Code
Java Web Start
Applet
Lesson 11 - Flag Effect (Waving Texture)
Source Code
Java Web Start
Applet
Lesson 12 - Display Lists
Source Code
Java Web Start
Applet

Download source code and data for all tutorials here.

Remaining NeHe lessons to be added soon.