A Java wrapper for OpenGL© version 3 and higher.
Java F# Groovy Gosu JavaScript CSS
Latest commit 965cb80 Jan 27, 2014 @jjzazuet T031 - Motion blur.
Failed to load latest commit information.
jgl-demos T031 - Motion blur. Jan 27, 2014
jgl-geom T031 - Motion blur (incomplete). Sep 29, 2013
jgl-math/src T031 - Motion blur. Jan 27, 2014
jgl-opengl T004 - Rect Jan 27, 2014
jgl-time/src T031 - Motion blur. Jan 27, 2014
.gitignore T027 - Depth of Field. Aug 4, 2013
README.md Website updates. Jul 31, 2013
build.gradle Library updates. Init semantics. Jan 1, 2014
settings.gradle Package renaming. JOGL natives. Jul 12, 2013



A Java wrapper for OpenGL© version 3 and higher.

This project is inspired on and aims to provide similar functionality as the OGLPlus C++ OpenGL framework. jgl makes use of the JOGL Java library to access OpenGL in a cross platform fashion.

With jgl, you get a set of wrapper classes which abstract most of the housekeeping tasks one inevitably faces when dealing with OpenGL. This framework is primarily focused on OpenGL 3 since it is the currently accepted programming standard for OpenGL and is on par with DirectX feature wise (if not more ;)).


Currently, this library may only be built from source. During its first major release, artifacts will be available on Maven Central.

Compiling from source

First, clone the jgl Github repository:

git clone https://github.com/jjzazuet/jgl.git

Once you have the source code, use Gradle 1.4+ for building all the required projects.

gradle clean assemble

In case you need the libraries as Maven artifacts, you may install them to your local M2 repository:

gradle clean install

Current Caveats

Please note that jgl is a work in progress project. Therefore, not all of OGLPlus' features have been implemented yet. Last time I checked, Matúš Chochlík has around 110 OpenGL demos implemented using his framework. I have only ported around 22 so far. Please contact me if you think you might be able to help with the demo porting effort.


The source code includes some ports of the OGPlus example set. It is the best way to understand how to use jgl since they are very compact and concise.

If you'd like to see the demos that have been ported, please check the follwing Java Webstart examples: