I only knew what was possible with SVG through Inkscape so there were a lot of things I didn't know SVG could do. So I found this page very interesting, SVG 1.1 Full test suite frame
The "filters" tests were most interesting and I believe most of those effects will be achieveable in 0.46. For example, we are all now familiar with Blur, but did you know you can create blur in one direction to create motion-like blur?
SVG 1.1 Full Test Suite
Re: SVG 1.1 Full Test Suite
How is the motion blur achieved?
Re: SVG 1.1 Full Test Suite
capnhud wrote:How is the motion blur achieved?
By using two numbers in the stdDeviation attribute of the feGaussianBlur element, instead of one. E.g., stdDeviation="10 1" instead of stdDeviation="10". This is gives different amounts of blurring in the x and y directions.
In Inkscape 0.45, the only way to do this seems to be to use the XML editor. And even then, I can't get Inkscape to display the change correctly except by saving and closing the image and then reopening it.
Re: SVG 1.1 Full Test Suite
Welcome, sas.
I tend to think that directional blur would be common enough that perhaps instead of a single blur slider we could have an X and Y blur slider, with the option to lock them together.
I tend to think that directional blur would be common enough that perhaps instead of a single blur slider we could have an X and Y blur slider, with the option to lock them together.
Re: SVG 1.1 Full Test Suite
BTW, how do you apply the filters to the objects?
In my system, WXP with Inkscape 0.46dev+devel, built Oct 3 2007, the "render" effect do NOT change
the objects (nor the XML Code), I know that the filters are there because when I open Batik1.7 test files
I can see them (... well ... some are rendered much better by Batik ... the rendering engine is there in Java and
opensource...) on the canvas. Probably the answer is that applying the effect is the NEXT development
step, isn't it?
In my system, WXP with Inkscape 0.46dev+devel, built Oct 3 2007, the "render" effect do NOT change
the objects (nor the XML Code), I know that the filters are there because when I open Batik1.7 test files
I can see them (... well ... some are rendered much better by Batik ... the rendering engine is there in Java and
opensource...) on the canvas. Probably the answer is that applying the effect is the NEXT development
step, isn't it?
Re: SVG 1.1 Full Test Suite
I posted a similar question to the inscape user mailing list, because for the life of me I see the effects (menu options) and can apply the effect but on the canvas itself I do not see anything.
Now you lost me.
By using two numbers in the stdDeviation attribute of the feGaussianBlur element, instead of one. E.g., stdDeviation="10 1" instead of stdDeviation="10". This is gives different amounts of blurring in the x and y directions.
Now you lost me.
Re: SVG 1.1 Full Test Suite
capnhud wrote:By using two numbers in the stdDeviation attribute of the feGaussianBlur element, instead of one. E.g., stdDeviation="10 1" instead of stdDeviation="10". This is gives different amounts of blurring in the x and y directions.
Now you lost me.
If you take an SVG file that has some Gaussian blurring, and open it in a text editor, you'll see the "feGaussianBlur" and "stdDeviation" that I'm talking about. And you can try modifying the value of the stdDeviation, and see what effect it has.
Re: SVG 1.1 Full Test Suite
I applied the blur with the "Fill and Stroke" dialog to a rectangle, then in the XML editor I found
under the <svg.defs... the node <svg:filter... and under it <svg:feGaussianBlur id="feGaussianBlur3216">,
on the right panel of the XML Editor the values of the StdDeviation can be edited.
I can see the effect on the canvas only after saving, closing and opening the drawing again.
All the other effects in Inkscape 0.46dev+devel, built Oct 3 2007, under Effects->Raster do not
modify the xml code.
under the <svg.defs... the node <svg:filter... and under it <svg:feGaussianBlur id="feGaussianBlur3216">,
on the right panel of the XML Editor the values of the StdDeviation can be edited.
I can see the effect on the canvas only after saving, closing and opening the drawing again.
All the other effects in Inkscape 0.46dev+devel, built Oct 3 2007, under Effects->Raster do not
modify the xml code.
Re: SVG 1.1 Full Test Suite
I tried playing with motion blur here but for the life of me the more that you change the second number in stdDeviation the less control you seem to have over the blur at least in terms of making it have a direction. Has anyone came up with a way to accurately portray the motion?