JOGLFXPipeline /

Filename Size Date modified Message
src
454 B
32 B
384 B
18.8 KB
1.1 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:
-Games
-Scientific visualization
-Medical imaging
-VJ software
-Showroom applications
-Presentations



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.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.