LWJGL Tutorial

Started by THEREDBARON24, September 03, 2015, 03:11:45

Previous topic - Next topic

THEREDBARON24

I was wondering if anyone here has suggestions for sources of in depth tutorials of how to use the various classes of LWJGL, OpenGL, etc. At the moment, I would like to start creating something, however, I do not have any resources that would point me in the right direction after creating the basics. Any help here would be appreciated. Also, are there any decent books that cover this topic in depth? Thanks.

spasi

The nice thing about LWJGL 3 is that it doesn't have much of an API. Just some basic stuff to bridge Java with native memory/code. Most of the classes are the library bindings themselves. The best approach to learn those APIs is to look for non-LWJGL/Java-specific information. There are countless tutorials, books, papers on OpenGL/GLFW/OpenCL/OpenAL/etc you can find easily. If you are not familiar with C code, or how to map it to LWJGL/Java, you can start here:

- LWJGL 3 wiki
- LWJGL 3 Test suite (simple samples covering most of the basic LWJGL bindings)
- LWJGL 3 Demo suite (some advanced OpenGL stuff in here)