Inkscape 0.46 Filter effects - Embossing

I have a project that I'm working on where I would like to apply an emboss style effect onto some text. Bear in mind that I am still learning how to use filters. There are many things to tweak to get an effect just so.
My problem is that when I add this effect I get a lighter shaded rectangle applied as well. Does anyone know how to get rid of this artifact. I have attached an svg and a png for dissection if anyone is interesting in looking at it.
The majority of the effect settings came from a wiki that I was reading somewhere but I'm unable to find it now.
heathenx

On Wed, 2008-04-16 at 10:20 -0400, heathenx wrote:
I have a project that I'm working on where I would like to apply an emboss style effect onto some text. Bear in mind that I am still learning how to use filters. There are many things to tweak to get an effect just so.
My problem is that when I add this effect I get a lighter shaded rectangle applied as well. Does anyone know how to get rid of this artifact. I have attached an svg and a png for dissection if anyone is interesting in looking at it.
Hi,
The lighter background is coming from the Specular Lighting filter. You have light reflecting off the flat background! You'll probably need to clip it somehow.
BTW, your filter region is badly defined. It is way too large...
Tav

Tavmjong Bah wrote:
On Wed, 2008-04-16 at 10:20 -0400, heathenx wrote:
I have a project that I'm working on where I would like to apply an emboss style effect onto some text. Bear in mind that I am still learning how to use filters. There are many things to tweak to get an effect just so.
My problem is that when I add this effect I get a lighter shaded rectangle applied as well. Does anyone know how to get rid of this artifact. I have attached an svg and a png for dissection if anyone is interesting in looking at it.
Hi,
The lighter background is coming from the Specular Lighting filter. You have light reflecting off the flat background! You'll probably need to clip it somehow.
BTW, your filter region is badly defined. It is way too large...
With regard to Tav's comment on filter region, that was the first thing I changed when trying to find a fix...
Something like the following isn't too excessive and won't clip (in filter general settings):
Coordinates: -0.02 -0.05 Dimensions: 1.05 1.10
Note the reduction in bbox size.
Additionally, if clipping or masking isn't desirable for you, in the Specular Lighting filter, if you change the Exponent to 100 it gets rid of the discoloring, but somewhat reduces the effect a bit. (play around with it)
Cheers, Josh

On Wed, 16 Apr 2008 13:24:51 -0700, Josh Andler <scislac@...155...> wrote:
Additionally, if clipping or masking isn't desirable for you, in the Specular Lighting filter, if you change the Exponent to 100 it gets rid of the discoloring, but somewhat reduces the effect a bit. (play around with it)
Personally I would use an feComposite with SourceAlpha and an operator of "in" on the output of the lighting filter in order to restrict the area of shading to just the letters.
-mental
participants (4)
-
heathenx
-
Josh Andler
-
MenTaLguY
-
Tavmjong Bah