I’m trying to do a simple OpenGL application in JUCE able to draw a few moving triangles. The OpenGL demo of the teapot in examples is pretty impressive, but it is too complex for me.
I’ve been following OpenGL tutorials, e.g:
But I have a lot of doubts! I don’t understand which lines go to
initialise(), and which ones to
render(). I also have problems with shaders source code (apparently
#version 330 is not supported). I’ve been trying to solve every issue, but my final result is always a sad black screen.
Do you know about a OpenGL template for JUCE including some basic initialization to draw basic primitives? Let’s say some basic polygons that move along the screen. It would be very helpful!
Thanks a lot,