The Lightweight Java Game Library (LWJGL) is a solution aimed directly at professional and amateur Java programmers alike to enable commercial quality games to be written in Java. LWJGL provides developers access to high performance crossplatform libraries such as OpenGL and OpenAL (Open Audio Library) allowing for state of the art 3D games and 3D sound. Additionally LWJGL provides access to controllers such as gamepads, steering wheel and joysticks. All in a simple and straightforward API.

Post tutorial Report RSS OpenGLBook.com - Chapter 1 [CODE]

The OpenGLBook.com website offers a nice overview of OpenGL (starting from version 3.3/4). However as with many OpenGL sources the code is in C/C++. Here are the same examples, using LWJGL.

Posted by on - Basic Client Side Coding

These "tutorial" articles have 2 purposes:

  • Focus attention to the solid tutorials from OpenGLBook.com
  • Provide a single page for the Moddb community to get more information about LWJGL/OpenGL and have the correct source code to learn from.
  • As the original code was in C/C++ using extensions like freeglut I have taken the liberty of changing some function definitions so it would properly work with LWJGL.
  • The code is undocumented because in general it is the same as the one explained on the website.

The OpenGLBook.com website offers a nice introduction to OpenGL (starting from version 3.3/4). However as with many OpenGL sources the code is in C/C++. Here are the same examples, using LWJGL.

Follow the tutorial on the following page:


The code:

OpenGLBook.com - chapter 1 lwjgl code

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Platforms
Windows, Mac, Linux
Company
LWJGL dev team
Contact
Send Message
Homepage
Lwjgl.org
Licence
BSD
Release date
Engine watch
Follow
Tutorial
Browse
Tutorials
Report
Report
Share
Related Engines
Lightweight Java Game Library
Lightweight Java Game Library BSD
Related Groups
LWJGL dev team
LWJGL dev team Developer