Homebuilt JGears slow--downloaded one is fast

I built the JGears app on my system and it runs significantly slower than demo off the jogl demos site.

I’ve installed the latest jogl on my system, the latest 1.5 J2SDK and JRE, NetBeans 4.0 and the source from the jogl-demos. I’m running a GeForce 5650 card.

Any ideas why my compilation of JGears would be so much slower? My version is acting like it’s not being accelerated.

Thanks,

Darren

The JGears demo uses a GLJPanel while the Gears demo (which is on the jogl-demos website) uses a heavyweight GLCanvas. The GLCanvas is faster than the GLJPanel, because the GLJPanel has to read back the frame buffer and draw the image using Swing / Java2D, but there is a hardware acceleration path for the GLJPanel; see the JRefract demo.