Skip to content
Examples ported in JOGL from "Learning Modern 3D Graphic Programming" by J.L.McKesson
Branch: master
Clone or download
Latest commit cd39b32 Aug 12, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea kt up Aug 7, 2017
gradle/wrapper - implementing gradle Feb 8, 2017
src/main kt up Aug 7, 2017
LICENSE Initial commit Jul 18, 2013 Update Aug 12, 2017
TutorialsComp.pdf pdf added May 18, 2016
build.gradle kt up Aug 7, 2017
gradlew - implementing gradle Feb 8, 2017
settings.gradle - implementing gradle Feb 8, 2017


This porting is free but needs your support to sustain its development. There are lots of desirable new features and maintenance to do. If you are an individual using dear imgui, please consider donating via Patreon or PayPal. If your company is using dear imgui, please consider financial support (e.g. sponsoring a few weeks/months of development)

Monthly donations via Patreon:

One-off donations via PayPal:

Examples ported in JOGL from the tutorials "Learning Modern 3D Graphic Programming" by J.L.McKesson, (original bitbucket repository).

The original website ( is down because probably the domain expired. Pavel Rojtberg is continuing the manteinance of the tutorial here.

He is also supporting the html form of the documentation here, I strongly suggest you to read and refer it during the learning of each tutorial sample.

You can find the examples in java under src/main/java and the corresponding in kotlin under src/main/kotlin

Few comments on Kotlin:

  • it's awesome
  • src/main/kotlin/main is an example, showing also how you can exploit some overloading gl functions to reduce the boiler plate arguments
  • src/main/kotlin/glNext pushes reduction and expressiveness to the top, substituting many gl commands with constructs that rearrange some common gl patterns to bring a lot of code down


  • Chapter 1, Hello Triangle
  • Chapter 2, Playing with Colors
  • Chapter 3, Moving Triangle
  • Chapter 4, Objects at Rest
  • Chapter 5, Objects at Depth
  • Chapter 6, Objects in Motion
  • Chapter 7, World in Motion
  • Chapter 8, Getting Oriented
  • Chapter 9, Lights On
  • Chapter 10, Plane Lights
  • Chapter 11, Shinies
  • Chapter 12, Dynamic Lights
  • Chapter 13, Lies and Impostors
  • Chapter 14, Textures are not Pictures
  • Chapter 15, Many Images
  • Chapter 16, Gamma and Textures:
    • Gamma Ramp
    • Gamma Checkers
    • Gamma Landscape
  • Chapter 17, Spotlight on Textures
You can’t perform that action at this time.