Skip to content

jvm-graphics-labs/jogl-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

jogl-samples

The Java OpenGL Samples Pack (called unsurprisingly jogl-samples 😱 ) is the java port of the OpenGL Samples Pack, a collection of OpenGL samples based on the OpenGL "core profile" specifications.

The project aims to promote the new OpenGL features making easier version transitions for OpenGL programmers with a complementary documentation for the OpenGL specification. Despite the fact that the OpenGL Samples Pack provides as simple (and dumb) as possible samples, it's not a tutorial for beginner but a project for programmers already familiar with OpenGL. The OpenGL Samples Pack is also a good OpenGL drivers feature test.

These samples use NEWT to create window and jogl of Jogamp as OpenGL wrapper, glm as math library and to replace OpenGL fixed pipeline functions and gli to load images.

The over 230 samples illustrate almost all OpenGL features ranging from ES 2.0 up to the last GL extenstions, same of them usually also called AZDO (Almost Zero Driver Overhead). They are divided per profiles and I also wrote a little wiki for each profile quoting the most relevant part of g-truc's reviews, really interesting (I have learnt a lot myself reading them):

Quick setup:

  • add "-ea" in VM options in run config for the asserts to work
  • add all the jars you find under dependencies

You can find the results inside the templates directory.

Ps: Hello Triangle and Hello Texture have been moved into a stand-alone project

Pps: I'd need some guinea pigs (aka: volunteers, but don't worry, it won't hurt 😏) to test the amd-only and intel-only extensions :octocat:

Changelog:

About

The Java OpenGL Samples Pack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published