Hello,
I’m new to all this graphics programming and I’m trying to do a project in JOGL. I want to get double buffering to work so that my animations are smooth, but it doesn’t seem to be working properly. At the moment I create a GLCapabilities object and turn on double buffering, then make my canvas with it. I also have a glenable(GL.GL_DOUBLEBUFFER); statement in my initialisation, but it doesn’t seem to make any difference to the appearance of my project. I read that in opengl you have to use a commal glutSwapBuffers instead of glFlush to get it to work, do I have to do that in JOGL? At the moment I use glFlush(), but I don’t know where the glutSwapBuffers equivalent is, or how to use it if there is one.
Thanks in advance,
Hayden Devlin