Integrating javafx ui into custom (jogl based) OpenGL application

Christoph Caks ccaks at bestsolution.at
Fri Mar 1 07:41:37 PST 2013


Hi,

I'm developing a OpenGL based 3d application and instead of writing my 
own ui code I'd like to reuse javafx for the ui part.

Since getting an OpenGL context from JavaFX seems to be very complicated 
(as discussed here) i thought about a different approach.

What if javafx could reuse my rendering context.
I'm thinking of implementing a custom prism backend which renders within 
my application context, after my content was rendered.

As far as i know is the prism api is an internal implementation detail, 
but it may be possible to ignore changes to it by bundling a specific 
jre version with the application.

I have not yet digged into prism code but I like to hear your thoughts 
about this approach.

greetings Christoph


More information about the openjfx-dev mailing list