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.

Report article RSS Feed 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 moci on Jul 1st, 2012
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
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Platforms
Windows, Mac, Linux
Company
LWJGL dev team
Contact
Send Message
Official Page
Lwjgl.org
Licence
BSD
Release Date
Released Jul 23, 2002
Engine Watch
Track this engine
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Engines
Lightweight Java Game Library
Lightweight Java Game Library BSD Released Jul 23, 2002
Related Groups
LWJGL dev team
LWJGL dev team Developer