« Colorspace 1.6, Layout 3.3, FX 3.3 and Darkstar 20070930 | Main | java.lang.AbstractMethodError and Javascript overloading problems »

SVG and Darkstar FX

I have been playing a little with Kirill's SVG to Java transcoder and then manually converting the Java code into Javascript based Darkstar FX renderer's. Very tedious, but good fun nevertheless. I had less success with the SVG to JavaFX converter, but that might just be a case of me using old software.

There are at least four SVG importer pipelines available for Java, so there seems to be some interest in this.

svg1.png

svg2.png

svg3.png



TrackBack

TrackBack URL for this entry:
http://www.installer.teppefall.com/movabletype/mt-tb.cgi/159

Comments

Couldn't you use the SvgTranscoder class and change it to output the Darkstar FX directly, instead of going through Java2D layer?

Your code looks easy enough to understand, but to be honest.. I could invert all the colors, transform everything into elephants and still not see that I had done something wrong. Batik + java.awt.geom is just brutal :) I'm just a bitmap monkey pointing a stick into this.

I guess I was hoping for Sun to do the job for me. Instead they created an SVG to JavaFX transcoder that I can't use in my Java 2D pipeline. What's logical about that ?

It's doable, but it might be too advanced for my current 2D engine. I still have no scene graph or resource loader, which is standard in Flash.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

This website is all about alpha and beta software

Download non-beta software here