Skip to content

Examples ported in JOGL from "Learning Modern 3D Graphic Programming" by J.L.McKesson

License

Notifications You must be signed in to change notification settings

jvm-graphics-labs/modern-jogl-examples

Repository files navigation

modern-jogl-examples

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:
Patreon

One-off donations via PayPal:
PayPal

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

The original website (http://www.arcsynthesis.org/gltut) 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

Status:

  • 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