Hi everyone,
Newby to Jogl but not to programming and Java.
I’m learning the basics by drawing coordinate axes. My program can already make it appear on the screen so I’m trying to rotate the scene with my mouse and make the axes turn.
I’ve studied many demos. These two especially:
Gears at https://jogl-demos.dev.java.net/
Example 11 at http://www.cs.plu.edu/~dwolff/talks/jogl-ccsc/
They compile and work just fine on my computer. But my attempts at replicating a rotating 3D space keep failing. >:(
This much I know: my axes are drawn only when my program starts and when I reshape the window. My GLEventListener, MouseListener, MouseMotionListener all work and fire when needed. (I detect changes to the mouse’s buttons and when it’s being dragged.)
But .display( GLAutoDrawable d ) is never called when the mouse is being dragged.
Any suggestions?
Thanks.
Bucky