Login  Register

Re: Jogl and JavaFX

Posted by Qu0ll on Dec 18, 2013; 8:58am
URL: https://forum.jogamp.org/Jogl-and-JavaFX-tp4030720p4030941.html

The main problem with JavaFX for me is that there are only very rudimentary actual 3D features which, and then again only once JFX8 is released, are not much more than loading meshes, applying a few lights and applying basic transforms.  There are no shaders or access to a 3D API such as OpenGL or Direct3D.

As it stands, even though JavaFX is fully hardware accelerated (when supported), the GPU is used almost entirely for rendering 2D graphics.  However, I do know that Oracle has tried some experiments integrating with both JOGL and LWJGL to provide a kind of "3D Canvas" like WebGL to complement their existing 2D Canvas.

They have not made any official announcements in this area but I am very confident such a feature will be included in JFX9 in 2016 or so.

For this reason I really hope projects such as JOGL and LWJGL continue to thrive as there will probably *never* be support for 3D functionality in JavaFX that comes even close to that currently provided by these libraries.

Having said that though, JavaFX is still an awesome piece of technology, especially for 2D graphics and GUIs.