Re: Jogl and JavaFX
Posted by
Sven Gothel on
Nov 30, 2013; 9:57pm
URL: https://forum.jogamp.org/Jogl-and-JavaFX-tp4030720p4030725.html
On 11/30/2013 07:19 AM, ul [via jogamp] wrote:
> I completely lost faith in Sun when they abandoned Java3D. In fact I dropped
> Java entirely in favour of C++. But Oracle seems different and now I see
> Java3D is back as the 3D part of JavaFX so I thought it may be time to give
> Java another chance. But If I use JavaFX (of Java 8) for a GUI and its 3D
> capabilities don't cut it I need a fallback.
>
> Can I use Jogl with JavaFX?
In parallel on the same JVM ofc you can.
Migrating might be a problem.
At least you would be able to use JOGL for offscreen rendering
and later compositing into the javafx scene[1] similar to what we do
with GLJPanel!
If you find a solution (-> [1]) you can copy GLJPanel and change it
appropriately. We can help a little bit and merge it into JOGL.
Shouldn't be too hard.
[1] I don't know JavaFx so you would need to check for yourself.
~Sven