Page 1 of 1

[GIMP] Plugins (requires Python!)

PostPosted: Thu Apr 07, 2011 8:48 am
by natty dread
I wrote a couple of python plugins for GIMP.

To use them, you need to have PythonGIMP installed. Installing it is a real pain in the ass, at least on windows, but there's a good tutorial on installing PythonGIMP here: http://www.gimpusers.com/tutorials/inst ... -6-windows

After you have pythongimp installed, here's how you install the plugins: First download the file. The files in the registry are saved as .py.txt files due to a bug, so you need to rename them to .py files, then save them to your plugins folder. There are usually 2 plugin folders, either works, you can see what they are in the gimp preferences. You can also specify another plugin folder there if you want to.

Usually, the plugin folder is: C:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins\

Ok, the plugins are these:

http://registry.gimp.org/node/25198 - This one appears in the Filters > Render menu and it automates creating a simple texture, it does it the same way that it is done in the 1st part of my tutorial. You get to adjust all the settings the same way you get to when you do it manually.

http://registry.gimp.org/node/25199 - This creates a bevel in the shape of the current selection. It's a neat tool for adding bevels on land areas, you can select the land area by Alpha to Selection, then use this plugin to add a bevel layer in the shape of the land. The bevel appears on a separate layer, so you get to adjust the opacity/layer mode settings of the bevel later if you need to.

http://www.gimpchat.com/download/file.php?id=2132 - This creates inner and outer glows in the shape of the current selection. It works similarly as the bevel one.

I might be writing more python plugins in the future... if there's any interest in them (and if anyone else is patient enough to go through the hassle of installing PythonGIMP... :D )

Re: GIMP plugins (requires Python!)

PostPosted: Sun Apr 10, 2011 7:11 am
by natty dread
In case anyone actually uses these... the latest versions of my plugins can now be found from the GIMP registry, so I won't be uploading them to Fileden anymore, and the links here now lead to the registry... the registry software has a slight glitch that renames the plugins as ".py.txt" so you'll have to remove the ".txt" extension from them when you copy them to your plugins directory.

Re: GIMP plugins (requires Python!)

PostPosted: Tue Apr 19, 2011 5:08 am
by natty dread
Does anyone use these?

Re: GIMP plugins (requires Python!)

PostPosted: Wed Apr 27, 2011 1:58 am
by kengyin
can't you just select the bevel button that is already there?

Re: GIMP plugins (requires Python!)

PostPosted: Wed Apr 27, 2011 3:47 am
by natty dread
My script allows more options. A lot more.

The default bevel only lets you select the strength of the bevel. You don't get to choose things like light angle, shape curves, inner/outer bevel, noise, elevation, layer mode, opacity, etc. Also, my script has a preview.

Re: GIMP plugins (requires Python!)

PostPosted: Wed Apr 27, 2011 3:59 am
by natty dread
To demonstrate:

Click image to enlarge.
image

Re: GIMP plugins (requires Python!)

PostPosted: Wed Apr 27, 2011 6:59 pm
by ender516
Ooh, niiice.

Re: GIMP plugins (requires Python!)

PostPosted: Thu Apr 28, 2011 12:00 am
by natty dread
ender516 wrote:Ooh, niiice.


Thanks.

For the record, python is a really fun language to write. Probably the easiest one I've tried so far. I first tried writing these in Scheme but all the damn parentheses gave me a headache...

Re: GIMP plugins (requires Python!)

PostPosted: Fri Apr 29, 2011 11:58 am
by ender516
Ah, Scheme, a dialect of LISP which is an acronym for

  • Lots of Irritating Superfluous Parentheses
  • Lost in Stupid Parentheses
  • Lots of Isolated Silly Parentheses
  • Lots of Irritating Single Parentheses
  • Lots of Infuriating & Silly Parentheses
  • Lost In a Sea of Parentheses
  • Language of Insufferable Superfluous Parentheses
  • Lots of Insipid, Stupid Parentheses
(many thanks to the TheFreeDictionary.com)

Re: GIMP plugins (requires Python!)

PostPosted: Sat Jul 16, 2011 12:47 am
by natty dread
Another script I wrote a while ago -

http://www.gimpchat.com/download/file.php?id=2132

It creates inner and outer glows based on the selection. You can adjust colour, width, feather; add noise, etc.

Example:

Click image to enlarge.
image