Re: how to convert java core game to jogl game
Posted by
gouessej on
Jun 02, 2014; 7:56am
URL: https://forum.jogamp.org/how-to-convert-java-core-game-to-jogl-game-tp4032388p4032395.html
Hi
Rather post your questions about JOGL here rather than on StackOverflow. Keep in mind that init(GLEventListener) can be called several times during the life of a drawable, create the objects of your data model in the constructor rather than in this method, put only the things that require a current OpenGL context into it. Don't write glu = new GLU(), rather call GLU.createGLU(GL).