Learning Modern 3D Graphics Programming with LWJGL 3 and JOML

Started by integeruser, November 01, 2016, 17:11:44

Previous topic - Next topic

integeruser

Hi everyone!

A few years ago I published a LWJGL port of the famous book Learning Modern 3D Graphics Programming, and it was well-received (http://forum.lwjgl.org/index.php?topic=4397, http://www.java-gaming.org/topics/opengl-in-java-modern-3d-graphics-programming/25534/msg/220456/view.html, added to the LWJGL Wiki).

The "big news" is that, over the last months, I updated it to use both LWJGL 3 and JOML! Check it out: https://github.com/integeruser/jgltut

Hope it will be useful :)
Francesco

spasi

Awesome! Two requests:

- Could you replace any usages of ImageIO with stb_image? Not sure if ImageIO is actually used (afaict there are only .dds files in the project).
- Could you add Maven or Gradle scripts so that users can more easily try it out? (without downloading the pre-built binaries)

integeruser

QuoteCould you replace any usages of ImageIO with stb_image?
Sure, I'll look into it (in fact, it's a part of the codebase that definitely needs some cleaning).

QuoteCould you add Maven or Gradle scripts so that users can more easily try it out?
I was planning to do this soon (I don't work with Java anymore and I never used Maven nor Gradle). I will be grateful if someone can submit a pull request for this.

integeruser

spasi: I replaced the only usage of ImageIO with STBImage and added a Maven script. Could you please double-check the POM? Seems good in my tests.

spasi

Shader/texture loading was failing in my tests, fixed in a PR.