jogl 2
Posted by sindroide on May 24, 2012; 6:22am
URL: https://forum.jogamp.org/jogl-2-tp4013001.html
Hi, inside a for statement I need to perform an animator.pause() and then animator.resume() , so I can rotate my object with "i" variable ... but this needs to be achieved from a JButton (that's why the for statement, bc with one click the object has to rotete on one axis). I think animator has to be paused and resumed for that... otherwise i'm seeing that the object rotate with the last value of "i". So finally I see animator.pause() is on jogl 2, but when I delete libraries jogl 1.1 and import jar's for jogl 2, then I found that gl.glLoadIdentity method is missing ... and some other constants too (regarding with GL).
Can someone help me please... all what I need it's a rotation of an object achieved with a JButton. Thanks!