Login  Register

Question About Annimation

Posted by Mike on Mar 24, 2014; 7:40pm
URL: https://forum.jogamp.org/Question-About-Annimation-tp4032059.html

So I'm working my way through the JOGL 2 tutorial on the web site (Chua Hock-Chuan's) and the first tutorial uses an FPS animator object but only a 2D triangle appears in the JFrame, and there is not annimation (movement).

One of the later tutorials draws a 3D triangle (pyramid) and a 3D square (cude) and then starts them rotating.  This program also uses an FPS animator object.

Why is the "movement" in the second and not the first?  Both animator objects are started in the code!

Is the first one actually moving (rotating) but because it's 2D the movement can't be observed?

Or are there other function calls in the pyramid and cube example besides the call to start the animator that cause the movement?

Sorry for such basic questions, but I'm just starting out.

Mike