1. dejayberlin
  2. JOGLFXPipeline


JOGLFXPipeline /

Filename Size Date modified Message
454 B
32 B
384 B
19.3 KB
1.2 KB
Experimental JOGL Pipeline for JavaFX 8:

The default JavaFX graphic pipeline is written in native Direct3D on windows or OpenGL on osx / linux.
It is possible to write custom javafx.scene.Node's that instances a special com.sun.javafx.sg.PGNode
and overload the PGNode.renderContent(Graphics graphics) method. There you can use the GraphicPipeline 
to draw things in an "immediate mode", or if you are using GL, issue GL commands directly since it is
called in rendering thread.
With the JOGLPipeline installed before application startup, this pipeline replaces all standard
rendering of JavaFX and allows special OpenGL rendering that works the same cross platform (windows, osx, linux).
Care must be taken to preserve render states.

The purpose is to enable cross platform development of GPU accelerated graphics.

Use cases:
-Scientific visualization
-Medical imaging
-VJ software
-Showroom applications

You need to remove jfxrt.jar from your ext folder (C:\Program Files\Java\jdk1.8.0\jre\lib\ext\jfxrt.jar) 
and add it seperatly to the project, else the ExtClassLoader can't load the JOGLPipeline class.