Re: The method glLoadIdentity() is undefined for the type GL
Posted by
gouessej on
Oct 20, 2012; 10:28am
URL: https://forum.jogamp.org/The-method-glLoadIdentity-is-undefined-for-the-type-GL-tp4026542p4026566.html
Use the key listener to detect key pressed events of course and modify the model-view matrix or call glTranslate to "move" something. I advise you to learn the basic concepts of OpenGL before using JOGL.
Edit.: It can be done in a vertex shader too but I'm not the best person who can speak about that.