Mobile app version of vmapp.org
Login or Join
Miguel516

: How do I create a bevel effect on a complex object in Inkscape? I would like to create a bevel effect in Inkscape. I am going for a very subtle bevel, that looks something like this one

@Miguel516

Posted in: #Inkscape

I would like to create a bevel effect in Inkscape. I am going for a very subtle bevel, that looks something like this one which was created in Photoshop:



First I tried the bevel filter in Inkscape, but there is very little control and most of the bevel types are unsophisticated. The closest one I could find to what I'm after was the "combined lighting" bevel filter. However, like all the bevel filters, it has no options to control the depth or width of the bevel, or to control the direction of the light source. The default light source comes from the top left, but I need it to be from almost directly above. This is what it looks like:



I can build a crude bevel manually by adding 4 shapes around the square I want to bevel, which, in a simple example looks something like this:



But this method is crude, as there is no subtle gradients at the corners, and in any case, it would be maddening to apply this method to a complex shape like this one:



So, how can I get a nice subtle bevel effect like the first image in Inkscape that I can save as an SVG?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Miguel516

2 Comments

Sorted by latest first Latest Oldest Best

 

@Ravi4787994

Extensions > Modify Path > Edge 3D

For those that may still need a nice edge with little work.

Rob

10% popularity Vote Up Vote Down


 

@Mendez620

There is Filters -> Filter Editor. This is a weird GUI, and I can see a benefit to a total redesign, but anyway... The editor shows a diagram with "Gaussian Blur", "Specular" and so on. Click on any one these, which represent steps in the filtering process, to see some controls (maybe).

The "Specular Lighting" and "Diffuse Lighting" steps have an "Azimuth" slider which if set to 270 makes the light come from above (meaning that in the two dimensional sense). (Zero deg is right, angle increases clockwise.) Increasing the Elevation makes the light appear come more from the viewer's position (perpendicular to the plane of your drawing or monitor screen) which diminishes the contrast of bright/dark edges.

I've fiddled with the Gaussian size (labeled as standard deviation) and other parameters. I sorta came close to your ideal example, but couldn't actually get there. It is a pain, but maybe some more fiddling will do the job. Then, how does one save the settings for later use on other shapes, other projects?

Update: I'm getting somewhat good results using Combined Lighting. This has two Gaussian Blur steps - both start with radius 6.0, change both to 2.0. For both Diffuse and Specular steps, change Azimuths of both to 270, and their "Constant" settings to 0.7 (default was 1.0). For Diffuse, "Surface Scale" to 1.0 (it was 4.0) Specular Exponent was reduced to 8 (forgot to note the default). I may have screwed with other settings, but I think I got all the important ones here. Note that if my so-called default values differ from yours, it's from past wayward experimentations.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme