It is currently Fri Jul 26, 2024 5:26 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 11:26 am  (#21) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
Urm, make that my 2.4 folder, lol. Yes, I am that behind the times!


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 11:33 am  (#22) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
go for it. just extract and slap them into your plug-ins folder, refresh, done......

_________________
Image


Last edited by molly on Fri May 28, 2010 12:55 pm, edited 1 time in total.

Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 11:46 am  (#23) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Your ballerina turned out very pretty.

Coloring 42 layers would be a BIG chore. :paint

Don't know if there's a script that will color all layers or not. I don't recall seeing or hearing of one.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 12:09 pm  (#24) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Maybe one of the genius script writers we have might see this thread. lol

_________________
Image


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 1:27 pm  (#25) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
It needs to be a request in the plug-ins forum. May catch the eye of one of those script writers faster. :-D

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 3:28 pm  (#26) 
Offline
Script Coder
User avatar

Joined: Apr 13, 2010
Posts: 244
Oregonian wrote:
Coloring 42 layers would be a BIG chore. :paint

Don't know if there's a script that will color all layers or not. I don't recall seeing or hearing of one.


Try my Gradient Map All Layers script: http://fence-post.deviantart.com/#/d2jwqqf

Create a selection for the area you wish to color, run the script (Colors > Map > Gradient Map All Layers...). For Gradient, pick one of the FG > BG options (one of first 3 on the list). Then, set your FG and BG colors the same. Click OK. This should work, but if it doesn't let me know.

Art

_________________
I'd rate you as an upper-middle-lower-mod with pro-novice-inter tendencies.....and a twist of lime! Of course, my rating scale is completely objectively subjective, but ALWAYS consistently inconsistent.


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 3:38 pm  (#27) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Well each layer would have to have the figure selected to color it. Don't think that would work because no two figures are the same. There are 42 layers to color.

I was thinking about locking the transparency on all layers and somehow filling with a pattern/gradient/whatever in one swoop. Tried it with the Animation > Overlay Background script but it turned off the locking so didn't work.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 3:43 pm  (#28) 
Offline
Script Coder
User avatar

Joined: Apr 13, 2010
Posts: 244
If there was a script that would lock the transparency of all layers and then running the gradient map all layers script, would that work?

_________________
I'd rate you as an upper-middle-lower-mod with pro-novice-inter tendencies.....and a twist of lime! Of course, my rating scale is completely objectively subjective, but ALWAYS consistently inconsistent.


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 3:45 pm  (#29) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I have a script that does that. I'll give it a try.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 3:50 pm  (#30) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Gave it a try. It didn't work because the figure is solid black and only one color was chosen from a multi-colored gradient. Tried it with several different gradients. Same results. :(

It would be nice to be able to choose a pattern or gradient to fill it with.

This is the image in question. It's an apng - 42 layers.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 3:55 pm  (#31) 
Offline
Script Coder
User avatar

Joined: Apr 13, 2010
Posts: 244
Oh, I thought she wanted the ballerina to be a single color other than black. Instead of running a Gradient Map script, if there were one that would "fill the selection" with the chosen gradient, that would work.

_________________
I'd rate you as an upper-middle-lower-mod with pro-novice-inter tendencies.....and a twist of lime! Of course, my rating scale is completely objectively subjective, but ALWAYS consistently inconsistent.


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 3:57 pm  (#32) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
fencepost wrote:
Oh, I thought she wanted the ballerina to be a single color other than black. Instead of running a Gradient Map script, if there were one that would "fill the selection" with the chosen gradient, that would work.
... or chosen pattern? Then unlock the transparency on all layers?

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 3:58 pm  (#33) 
Offline
Script Coder
User avatar

Joined: Apr 13, 2010
Posts: 244
Yeah that too....one step at a time, my dear!

_________________
I'd rate you as an upper-middle-lower-mod with pro-novice-inter tendencies.....and a twist of lime! Of course, my rating scale is completely objectively subjective, but ALWAYS consistently inconsistent.


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 4:17 pm  (#34) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Sorry, didn't mean to try and think ahead of you. Just have all this stuff in my head that leaps out. Urg!

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Animating A Stickman
PostPosted: Fri May 28, 2010 4:37 pm  (#35) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Carry on you two. This is fun. lol
I will post another blackdancer..... :mrgreen:

Image

_________________
Image


Top
 Post subject: Re: Animating A Stickman
PostPosted: Sun May 30, 2010 1:43 am  (#36) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14736
Location: USA
thx for the scripts!
i will try them out soon. =)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Animating A Stickman
PostPosted: Mon May 31, 2010 12:44 am  (#37) 
Offline
GimpChat Member
User avatar

Joined: Apr 30, 2010
Posts: 1937
Location: Missouri
I have filters/animation but no settings. I thought I had GAP installed right. dear me.

_________________
Image
The last time I kept an open mind,
my brain fell out and the dog grabbed it.
Now it's full of dirt, toothmarks, and dog slobber.
No more open minds or dogs for me.


Top
 Post subject: Re: Animating A Stickman
PostPosted: Mon May 31, 2010 2:18 am  (#38) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Gms9810 wrote:
I have filters/animation but no settings. I thought I had GAP installed right. dear me.

I believe that is referring to the following Script:

http://flashingtwelve.brickfilms.com/GIMP/Scripts/anim-settings.scm

---------------------------------------------------------

While it can be a challenge to create a dynamic gradient/pattern/whatever fill, GIMP's GAP makes it fairly quick work to actually perform the fill. If you start with an animated ballet dancer on transparent layers, just split that image into frames ("Video->Split Image to Frames") and then do the following:

    "Video->Frames Modify -- Function: Apply filter on layer" and choose the "plug-in-wr-color-levels" filter with "Apply Constant". Set the Low Output value to "255" (regardless of the range of input values, the output range will be 255-255; that is to say, the output will be white).

You can now use "Video->Move Path" to add a layer to each your frames containing whatever pattern you wish to use as fill and using whatever motion transformation you wish (you might even use an animation/video frames for your fill pattern). After the new layers have been added to your frames, you can use Frames Modify to perform whatever additional filtering you wish to the layer.

The next step is to use the first layer (the one with the white dancer) as a layermask on the pattern layer. This is done with the following:

    "Video->Frames Modify -- Function: Layer Mask->Copy mask from layer below". (Since the bottom layer does not have a mask, a grayscale version of the layer itself is taken as the mask. Transparent regions are considered black, which is why we had to convert the dancer to white.)

The following GIF shows the result of using rendered diffraction patterns as my fill:
Attachment:
ballet.gif
ballet.gif [ 57.16 KiB | Viewed 3280 times ]


:otb

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Animating A Stickman
PostPosted: Mon May 31, 2010 3:22 am  (#39) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
wow that is kewl saulgoode.

_________________
Image


Top
 Post subject: Re: Animating A Stickman
PostPosted: Mon May 31, 2010 8:24 am  (#40) 
Offline
GimpChat Member
User avatar

Joined: Apr 30, 2010
Posts: 1937
Location: Missouri
Sorry, I didn't explain that well, I don't have any animation settings or mention of animation in my filters anywhere. I thought I had GAP set up because I have a VIDEO menu tab now but nothing in my filters. I shouldn't have tried to make that post last night, my glucose was 51, which means I wasn't mentally clear. I do now have animation and settings there after adding the script you posted. Thanks.

_________________
Image
The last time I kept an open mind,
my brain fell out and the dog grabbed it.
Now it's full of dirt, toothmarks, and dog slobber.
No more open minds or dogs for me.


Top
Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group