| 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
It works fine for me
The following reply caught my attention:
"If you have this file (cross_process.py.txt) in C:\Users\username\.gimp-2.6\plug-ins. Try renaming the file to cross_process.py by removing the .txt at the end, then restart GIMP."
After I tried this with your file it worked just fine.
All anyone has to do when saving your file is to remove the .txt at the end and it should work.
Glad it got resolved
I'm going to add a note to the main text about that .txt extension, you're not the first one to be troubled by it...
A small update
- 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.
The "gloss" function is a simple off/on checkbox.
Here's a little example on it (upper = without, lower = with gloss):
Version 1.5 is here - now with preview!
This update has a completely new interface, using gimpui and gtk instead of gimpfu. There's also a preview function!
Oh, and you get to choose any layer mode now.
Special thanks to the makers of layerfx.py and high-end-sharpen.py, your plugins have taught me a lot.
Rev 1.41
Great script! Thanks for creating it.
Again an update...
Ok, again sorry for the rapid update pace, but I have now fixed everything I wanted to fix with this plugin.
- 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.
Updated
Ok, a new update is up, which improves the rendering of the bevel a lot. Also, a new shape setting!
Only produces a grey
Only produces a grey layer.
The chisel script works ok.
Gerard.
?
Are you using the latest version, and what settings are you using when you run the script? Do you have a selection made when you run the script?
Try this: make a selection with a selection tool, then run the script with default settings, except set the layer mode to normal. You should be getting a bevel in the shape of the selection.
Also, are you using GIMP 2.6? The script may not work on other GIMP versions (I myself only have 2.6 so I can't test it on other versions).
It was already selected by
It was already selected by the text tool but I did as you asked.
And I set the layer mode to normal.
The result is a gray "halo" around the text but the text itself no change.
Sorry but I don't know what else to do.
Gerard.
Pages