The design and implementation of an Open Source animation tool.

July 14, 2007

SVG Assets

To be honest, I've not got much interest in writing yet another SVG implementation, particularly as a lot of things we want to do simply don't mesh well with the SVG rendering model. Internally, SVG assets will be flattened into pre-transformed shapes in a compositing hierarchy, possibly using librsvg to render through a cairo metasurface or some other virtualized drawing interface.

We probably won't be able to use SVG for animated assets because of this, as SVG animation requires the document model to be preserved. I'm a little unhappy about that, but I don't see a good alternative.

Oh, by the way: I do want to integrate with Inkscape for editing SVG assets. Perhaps we could even eventually use Inkscape's renderer to extract SVG geometry rather than using librsvg, but that level of integration is still pretty far out.

1 comment:

nitrofurano said...

well, a goal would be if Moing could work (at least on importing/exporting) on .svg sequences, animated .svg, and swfc (from swftools)

btw, i got really impressed of how simple is to create a .swf from a swfc text document - i could even code a script on sdlBasic to create a 10000 frame animation with a random polygon: http://img99.imageshack.us/my.php?image=z10000apw1.swf