Comment 8 for bug 346681

Revision history for this message
Jaspervdg (jaspervdg) wrote :

Sorry for taking a while to reply (hadn't subscribed to the bug yet). There were some technical difficulties with the math used on the page, but these have been taken care of and you should now be able to view it properly.

As for the speed of the approximation I made... It's slow. There would definitely be ways of letting Inkscape render such filters faster, but that obviously doesn't help for now. However, this need not be a problem. For simply viewing the image (or exporting it to png) it's not so bad, so if we can somehow make it so that Inkscape marks the filter as specifying a conical gradient and renders it accordingly we could have interactive editing in Inkscape and a non-bitmap fallback in other renderers.

I agree that it would be interesting to explore generalization of this concept btw, but I guess we have to start somewhere.

The main drawbacks of the filter fall back as opposed to the bitmap fall back in my mind are that bitmaps are much more widely supported and that there are some quirks in (at least) Batik's implementation that would require some further attention. Also, the filter solution is considerably more complex.