Hi -
I’m a newbie just getting into JOGL. I’m evaluating it to see if it fits in with our application needs (high performance 2D and 3D rendering; mainly images). I’ve downloaded the JOGL demos and gave them a try. I’m particularly interested in the JOGL + Swing interoperability. I’ve run the JRefract demo with and without the accelerated OpenGL pipeline. For the Gears demo, I don’t see any frame rate difference (~40fps).
OS: Windows XP
Gfx card: nvidia 8800 GTX
Driver: Forceware 169.09
JRE: jre6
java cmd line options: -Dsun.java2d.opengl=true -Dsun.java2d.noddraw=false -Dsun.java2d.opengl.fbobject=false
My questions:
-
With hardware acceleration on, I would have expected a huge jump in FPS for the Gears demo (the standalone JGears demo runs at 300 fps). Am I doing something wrong or is the expected behavior of Swing + JOGL? So if you combine Swing and JOGL, does Swing limit the frame rate at which the JOGL portion can run?
-
With the OpenGL pipeline enabled, for the Gears demo, the front faces of the gears are missing (looks like normals are inverted). Without the pipeline, it looks fine. Is this possible a driver problem?
-
Since our app is more image based, is JOGL recommended or is Java2D more appropriate? (I’m an OpenGL programmer so JOGL would be easier). How does Java2D image rendering compare to JOGL?
Thanks very much,
Daren