Hi,
I’m just starting out with OpenGL and JOGL. I use the fine “OpenGL Programmers Guide”. Ofcource all the examples there are on C and i need to play a little to port them on Java. One particular feature has bothered me: the usage of double buffering to smooth animation is strongly recomended by that book. So my question is if I need to implement double buffering myself or it’s already built into JOGL. If i do have to implement it myself how do i do it useing the GLPbuffer?
Thanks in advance to all who bother to answer
About the only major difference you’ll find between C and Jogl OpenGL will be creation of the canvas to draw on. Using double buffering is easy - you just use a GLCapabilities and set .useDoubleBuffer(true) before creating your canvas with it.
Then it should just work
A lot easyer than i immagined 10x
And yes using OpenGL with JOGL is jsut as stright foreward as in C. Don’t know if it’s that easy with the other Java 3d libraries.