I am looking for a Java library with several output backends:
- It must support OpenGL for interactive use (for hardware acceleration)
- It should have SVG export - it is preferable to use CSS for this to allow editing, for example. inkscape - for good print quality
- It must be cross-platform (Linux / Win / OSX)
I am using Apache Batik now . This is pretty good: I can have listeners, use style sheets and export them to various formats, including editable SVG. And I need to fine-tune the graphics for printing. However, for some of my use cases it gets too slow. SVG XML DOM has a lot of overhead; he spends a lot of time checking CSS classes, checking listeners, etc. - I need something faster.
I was interested in Cairo , but it seems that the GTK3-Cario + java-gnome toolchain is not available for Win32.
Clutter is also promising, but there seems to be no Java bindings, unfortunately. It uses OpenGL for 3D and Cairo for 2D afaict.
Do you know a library for interactive graphics with OpenGL that can alternatively be exported to editable SVG files?
source share