I’m working a modelling engine which will require 100k-1m triangles in 3d space, and have decided to do as my first major Java project.
I’ve decided to use JavaFX for the UI, OpenGL for graphics and would prefer to work in Netbeans on Windows 7.
Options I have considered:
- JOGL2 + JavaFX (via GLJPanel & SwingNode)
After a couple of weeks stuffing around I’ve failed to get JOGL2 even working in Netbeans. The version from Netbeans-OpenGL-Pack is JOGL1.1 (which lacks GLJPanel) and after following multiple sets of instructions for manually setting up JOGL2 library I still can’t get the library to be recognized & run successfully. (Mostly my unfamiliarity with Java…)
- LWJGL + JavaFX
My reading suggests that while possible, it is not optimized or a mature integration. I really don’t want to waste time mucking around with experimental setups.
- JavaFX 3d objects
The demo projects are extremely simple and I can’t find anything to confirm this technology will scale up to millions of primitives.
For a poor frustrated newbie contemplating a return to the safe familiar haven of C#, can you advise:
-
Is there an official solution for JavaFX + OpenGL my google-fuing has yet to reveal?
-
Otherwise, which JavaFX compatible openGL library is the easiest & quickest way to get OpenGL graphics working (in Netbeans/Windows7)?
-
Are there sample projects for JavaFX + OpenGL I can easily download & run successfully? (Already tried a couple which didn’t work)
Sorry if I’m covering old ground here, I’ve been banging my head against the wall for a fortnight.
-Brendan