| Attachment | Size |
|---|---|
| 29.89 KB | |
| 30.14 KB |
Version 2.1 is here!
This script creates a bevel in the shape of the selection. The script appears as Filters > Distorts > Bevel. The bevel is created on it's own layer. You can adjust various things, like width, azimuth (light angle), etc.
Comments and feedback are welcome.
NOTE!!
When you download the script, you have to rename it so that the extension is ".py" and not ".py.txt", otherwise it will not work in GIMP.
Screenshots:


Update history:
V 2.1:
- Completely rewritten rendering. The bevel is created differently now, giving more consistent results, resulting in less artifacts for wide bevels.
- Removed options "feather" and "pre-blur" as redundant, with the new rendering these aren't necessary.
- The gloss option is now adjustable, with a 0-10 scale.
- Added option "intersect with alpha": when enabled, the alpha channel of the active layer is intersected with the selection to get the bevel shape. You can see an example in the 2nd screenshot, where a rectangular selection was used.
- After using preview, the final bevel no longer appears at the top of the layer stack. The bevel layer now always appears above the active layer. If no layer is active, the bevel appears at the top of the stack.
V 1.53:
- Slight update that improves the rendering of the bevel. Specifically, the feather step is now done before the shrink selection step, this way the adjustments are more accurate for places where the selection is very narrow.
Version 1.52:
- A "gloss" function has been added. It makes the bevel "glossy".
- repeat effect (ctrl-f) now functions properly. Also, non-interactive mode (starting the script from console) works now.
Version 1.5:
- Now with a completely new, compact interface!
- Now with a preview function!
Special Thanks to the makers of layerfx.py and high_end_sharpen.py, I've learned a lot from your plugins.
Bevel 1.41 is here! Enjoy!
- You can now select inner or outer bevel, as you can see from the image above.
- The shape options have been replaced with a slider that lets you adjust the shape more accurately. A negative value is more dimpled, a positive value is more puffed up/round, while zero is the same as the old "angular" setting.
- Downwards bevels now appear as they are supposed to, as you can see from the image above.
- The bevel layer is now created above the current active layer as is supposed to.
- The layer name is now set to "Inner bevel" or "Outer bevel" according to the inner/outer setting.
Major update! version 1.3:
- Rendering of the bevel has been improved significantly. Most notably, the pre-blur and post-blur settings do not cause a gap in the bevel's outer edge on the higher settings anymore. This enables you to create smoother bevels.
- New shape option added: "Angular steep" which is the same as angular but steeper. Hard to explain, try for yourself.
- The default settings have been adjusted again. This should make using the script easier.
Update - version 1.2:
- I've added the options to select the layer mode from Normal, Hard/Soft light and Grain merge. Those are the modes I most often use with bevels, so it makes sense to me. I don't know how to add a drop-down menu yet, when I figure that out I can add all of the layer modes.
- fixed the bug that resulted in empty layers if the width was wider than the selection. It now simply creates a bevel that fills the whole selection.
- modified the way downwards bevels are created slightly. It's still not quite there yet, it still leaves a sort of border around the bevel. But you can just use an opposite angle and select up if you need downwards bevels.
- modified the default values.
Update - version 1.1: I added options to apply a blur to the bevel both before and after the emboss function. The options are named "Pre-blur" and "Post-blur", respectively. I also improved the interface, there's now radio buttons for Up/down directions. The "down" direction doesn't function quite as I want yet, I'll be working on it...
Comments
Try this
If the bevel is all gray, try setting the "depth" setting higher. Somewhere around 25 usually works for me.
Try also setting the "light elevation" setting lower.
Also, if you want the bevel to be in the shape of the text, you need to make a selection in the shape of the text. Use "alpha to selection" on the text layer first, then apply the bevel.
Then you can try different layer modes for the bevel. Hard light usually works best, although grain merge can also be nice.
Yes now it works. Thanks
Yes now it works.
Thanks dd.
Gerard.
No problem
You're welcome...
also, for what it's worth, I'm trying to set the default settings on the next version to optimal levels so that you can use this script "right out of the package".
Updated again...
Ok, sorry for making these rapid-fire updates, but all of the initial problems should be pretty much fixed now.
If anyone encounters any further problems / glitches, please let me know. Thanks.
For those without python
here is a similar script I wrote a while back:
http://registry.gimp.org/node/24217
-Rob A>
Nice
Nice script, I'll have to try it out sometime.
Works with Ubuntu
I am using Ubuntu 10.04 64 and the plug-in works, but you must make a selection first.
Script
Installed the script and tried a run through, but the script doesn't finish with anything. It is doing something, but it's not being revealed.
worked for me
I tried it (minus the .txt extension) and it worked for me.
...
What version of GIMP are you using, and what operating system? Do other python scripts work ok for you?
Try renaming the script file so it has a ".py" extension instead of ".py.txt", I think that causes some problems sometimes.
Pages