Just out of interest, in software mode does JIGL/jGL use Java2D under the bonnet? I couldn't find out from the jGL site (
http://www.cmlab.csie.ntu.edu.tw/~robin/JavaGL/)
Nice demo. Have you thought about adding an FPS counter to your example applet? It would be handy, so would a Web Start JOGL version so we could compare JIGL's software mode to accelerated JOGL mode performance.
I updated the demo just now to print the frame rate to System.out. Open your Java console while the applet is running to see the results:
http://earth.whoola.com:8080/space/jigl/I have the maximum loop rate set to 85 frames per second. I am getting that in the 600x400 applet in software rendering mode.
When I run the demo in resizable frames, for JOGL I get a frame rate equal to the monitor refresh rate of 60 Hz no matter how big the frame is, including full screen of 1600x900.
For jGL, the frame rate drops sharply from 85 to about 17 frames per second when I expand from small frame sizes to full screen.
I think for small frame sizes such as what would you would see in an applet embedded in a webpage, both JOGL and jGL can hit the desired frame rate. In full screen, however, JOGL continues to perform where jGL slows down.
I also note that in jGL, sometimes but not all of the time there seems to be a warmup period where the frame rate starts out slow and then increases. Perhaps this is due to the HotSpot compiler?