Login  Register

Looking for Tutorials

Posted by Borok on Mar 19, 2014; 8:24am
URL: https://forum.jogamp.org/Looking-for-Tutorials-tp4031967.html

I have a background in using OpenGL and C++. Recently I have been given a project in Java and I am trying to work out how to use OpenGL calls in Java.

I am guessing that a program using OpenGL written in Java will be similar to that in C++: load OpenGL pointers, create an OpenGL context (window), loop until the window is closed and execute rendering functions in this loop.

I am looking for a tutorial that explains the following:
- Open a window (I've been trying to figure out how to do this with NEWT but I can't find any examples).
- Load shaders
- Draw something basic (like a triangle).

I need a tutorial that uses modern OpenGL (OpenGL 3.3 or later).

I have been searching for weeks for a tutorial but the internet is full of tutorials that use deprecated functions and are poorly documented/commented.

Can someone recommend some tutorials please.