fire filter

Post unfinished work here for feedback and advise.
v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

fire filter

Postby v1nce » Tue Jun 26, 2012 5:59 am

Hi

My fire filter.
Need to tweak it a bit (add more turbulence, counterbalance offset)

But it looks nice, don't you think so

Image

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: fire filter

Postby brynn » Tue Jun 26, 2012 8:20 am

Yes, very convincing!

Part of it seems to be cut off at the bottom, in about the middle and a little to the left. Also it seems to be redder towards the right. Is that intended? Or is that because the line tapers at that end?

Is this meant for use on text or paths, I assume? The reason I ask is because of some frustration I have with filters. Some seem to only work on text or paths, or small objects in general, and some only work on large objects. It would be nice if it were possible to include with various filters, what they are meant to be used on. Otherwise, if someone wants to use a filter, they have to try every single one of them. So if there's some way to include that info, like maybe in the title of the filter, that would be helpful.

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: fire filter

Postby v1nce » Tue Jun 26, 2012 9:22 am

brynn wrote:Yes, very convincing!
Part of it seems to be cut off at the bottom, in about the middle and a little to the left.


I use a turbulence filter then a displacement filter this tends to offset the shape towards right and bottom.
This often leads to clipping because you go outside of the filter bounding box.
You can increase the filter bounding box (easy but bad : more cpu needed, the shape is offseted)
or you can add a (mirror) offset.

I'll do it the clean way and add offset to fix it.

Also it seems to be redder towards the right. Is that intended? Or is that because the line tapers at that end?


it's because the line is thinner at the end.

Is this meant for use on text or paths, I assume?


(when finished) it should work with anything but
thins object will be orange (like the line ending)
real big objects will be filled with yellow with a "small" orange border

The reason I ask is because of some frustration I have with filters. Some seem to only work on text or paths, or small objects in general, and some only work on large objects. It would be nice if it were possible to include with various filters, what they are meant to be used on. Otherwise, if someone wants to use a filter, they have to try every single one of them. So if there's some way to include that info, like maybe in the title of the filter, that would be helpful.


"size" in svg filters are limited. You can't use "percent" of the bounding box. This make it difficult to design them. You can't tell "height of flame" will be 20% of height of shape.
You could somewhat bypass this limitation by making it a ruby extension and calculating the height when applying the filter but it won't survive any later transform

If some filter works great for big shape and your shape is small you can try to (group/)resize it as a big shape / apply filter / rescale down
and the other way for filters that are ok with small shapes.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: fire filter

Postby brynn » Tue Jun 26, 2012 4:12 pm

If some filter works great for big shape and your shape is small you can try to (group/)resize it as a big shape / apply filter / rescale down
and the other way for filters that are ok with small shapes.

I'm not sure what you mean by this. Scaling an object with a filter doesn't always work very well. Especially considering that filters are raster. At least that's my understanding. I think filters, in general, need a lot of work, to be used effectively in a dependable way.

But this is really not the place to discuss this. I just have a lot of frustrations with filters, and I shouldn't have brought it into your topic. Maybe I'll look for a bug report, and add my comments there, or start a report if I don't find one.

Anyway, I think your filter is very nice, and one of the best attempts at fire that I've seen :D

chriswww
Posts: 383
Joined: Fri Nov 19, 2010 3:04 pm

Re: fire filter

Postby chriswww » Tue Jul 17, 2012 3:38 pm

i share the frustration of clipping and filter vs object size. it's done really well in gimp but not so much in inkscape. but then i didn't much expect raster filters to be part of inkscape to start with. as much fun and creativity is to be had with raster filters in inkscape, I'd hope that more effort can be put into native svg filters. afaik not all the native svg filters are in yet.
that's a nice fire filter btw. check out the gimp fire plugins and brushes for inspiration.

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: fire filter

Postby v1nce » Fri Sep 14, 2012 8:32 am

more fire variations in this thread
viewtopic.php?f=9&t=12678#p48187

gillic
Posts: 1
Joined: Mon Dec 10, 2012 3:16 am

Re: fire filter

Postby gillic » Mon Dec 10, 2012 3:26 am

Vince,

is there a chance to get that filter anywhere? Need to set a line on fire for a document decoration. Thanks!


Return to “Work in progress”