PDA

View Full Version : Can anyone here program Gimp plugins?


King_Critter
February 6th, 2008, 01:02 AM
Because if you can, I have a request for you. A simple request (I think!).

I've just spent the last few hours rotoscoping in lightsaber effects for a movie I'm making, and it'd go a lot faster if a few of the steps could be automated.

Here's what I need:

Fill active selection with white. Delete selection. Duplicate layer twice. Blur the original layer with 5.00 Gaussian blur, the first copy with 20.00 blur, and the second copy with with 40.00 blur. Then merge the second copy down onto the first and change the layer mode to screen. Merge that layer down again and change the layer mode to screen.

That's it!

If anyone could do that, they would earn the undying gratitude of not only me, but also of all other wanna-be jedi in the world. :D

AJB2K3
February 6th, 2008, 02:24 AM
Have u tryed to make it your self? (sorry not helpfull)
You have a list of what steps it needs to take.
Look through the procedual data base for the commands, look through the scripts to see how they operate then drop the reletive commands into a script.

King_Critter
February 6th, 2008, 02:41 AM
Well, I did take a look at doing it myslef before posting this thread, but it's just not something I could figure out. :-/

SpiderGorilla
February 6th, 2008, 06:53 AM
You'd actually probably be looking to make a Script Fu rather than a plugin. Not that that's exactly simple, either, but it may be easier for you.

King_Critter
February 6th, 2008, 10:35 PM
Ah, I see. I just did some checking, and it does seem that Script Fu would work, and be easier to learn... so if no one here can do, I suppose I shall have to learn. :-/

Know any good tutorials?

SpiderGorilla
February 7th, 2008, 03:05 AM
http://docs.gimp.org/en/gimp-scripting.html -- Probably your most up-to-date option.

Also, don't forget that once you've done that, you'll need a reference:

http://docs.gimp.org/en/pt03.html

I really hope you've programmed before. Scheme is a good language to learn, but it's by no means BASIC. Hmm. I wonder. Maybe I should write a BASIC to Scheme converter... nah. Take too much effort. Just learn Scheme.

King_Critter
February 7th, 2008, 07:21 PM
I do know a bit of python...