Gimptalk - Premier Gimp Community: Making an Animated Flag - Gimptalk - Premier Gimp Community

Jump to content

  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Making an Animated Flag

#1 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 14 December 2005 - 04:26 AM

Hello, class!

In today's lesson, I'm going to show you how to make an animated flag that looks something like this:

Posted Image

You can use your own flag if you'd like; however, if you'd like to follow my steps exactly, you can save my GIMP flag to your hard drive and open it in GIMP.

Posted Image

In this lesson, we're going to use the bump map, displace map, and layer transform tools to work some serious magic. Oh, I almost forgot, we're gonna make some noise too!

Depending on how many layers you want in your final image, there can be a lot of steps to go through. Fortunately for all of us, the steps are very repetitive. Once you get a system going, you won't believe how easy this is. :l: Please note that because the steps are repetitive, I will only be showing the images once. You'll be able to follow along with no problem.

This tutorial can be accomplished by even a newbie. But, I will add this: I'm not going to be addressing opening up an image, adding new or duplicating layers, saving as an animated gif, etc. So, if you're not comfortable with those particular steps, you might want to learn those tasks prior to undertaking this tutorial.

One last thing, this animation is for flags that hang vertically. If you desire to make them wave horizontally, the process is very similar, but the settings for some of the filters will differ.

Without further ado, let's begin.

[*]Open your flag image in GIMP.
[*]Because we're going to be distorting the image a bit, we need some extra space to work with. Let's modify the Canvas Size. Here's the menu location:

Posted Image

and here's the settings I've used. You can use anything you want, just give yourself a bit of extra space.

Posted Image

The flag image I've posted for your use is a png. It contains an alpha channel. After modifying the canvas size, if your flag doesn't have a transparent background, you'll want to add an alpha channel to the image (right click on image layer and select "Add Alpha Channel")

[*]Now, for our displace map filter to work later on we'll need all layers to be the same size. To make things simple, make your flag layer the same size as the canvas:

Posted Image

[*]Duplicate this layer as many times as you want. Just remember, you'll have to manually repeat the some steps for each flag layer you add. Fortunately, this isn't hard, just tedious. While you're at it, let's add a new layer, rename it clouds, and drag it to the bottom of the stack. For my image, I have 8 flag layers and one cloud layer. My layers look like this:

Posted Image

[*]Now, highlight your cloud layer and let's add some Solid Noise. You can access the Solid Noise Filter here:

Posted Image

Here are the settings I've used. You can use anything you want, but what I wanted was something that had some wide horizontal lines ("waves") to it. Note that I've checked the "tilable" button. This is really cool! I figured out a neat tool that will really save us some steps later on.

Posted Image

One thing I didn't show you was that I also added a Gaussian Blur and Curves adjustment to the Clouds layer. The blur reduces the amount of noise in the Bump Map portion of the tutorial and the Curves adjustment gave me more contrast for the Displace Map filter. You can experiment with the blur and curve adjustment if you want, but I won't cover them here.

[*]Now, make your first flag layer active and let's bump....bump map that is!

Posted Image

Here's my settings. Make sure you use the clouds layer as the bump map layer. Experiment with various settings, using whatever works for you.

Posted Image

[*]On the same flag layer, go to the Displace Map Filter:

Posted Image

Use your clouds layer as the displacement layer and experiment with the settings. Try to get a good balance. Using too high of numbers will distort your flag too much and the result won't look real.

Posted Image

So, how are you doing so far? Well, guess what? I've got one more Really COOL step to show you and you're nearly done!

When I first started figuring out the steps to accomplish this, I kept redoing the solid noise. But my final animation didn't "flow" as much I wanted it to. Everything was a little too random for my tastes. Well, I remembered a tool we haven't discussed around here for a long time that gave me the results I was after. It's called the Layer Transform Offset tool. You can locate it here. Before you go looking for it, make sure your Clouds layer is active. This is the one we want to transform.

Posted Image

What we want to do is move the Clouds layer down after each bump map/displace map step to make the flag look like it's flowing. Remember when I told you to check the "tilable" box in the Solid Noise Dialog? This will allow our Clouds layer to move along the Y-Axis in a seamless fashion! COOL BEANS!

[*]Modify only the Y setting only. I chose a number above 100 to move it quite a bit and each time I did this step I randomly selected another number over 100. Again, nothing is in stone, experiment and see what you come up with. Choose OK

Posted Image

[*]Now, go to your next flag layer and redo the bump map and displace map steps. Make sure you do the bump map first. I used the same bump/displace map settings everytime. You can change them, but for me, it was a lot faster to leave the settings alone.
[*]Now, repeat the Transform Layer Offset on the clouds and redo the bump/displace map steps for each layer until you are finished.
[*]Once you done, delete the clouds layer, test your animation (Filters | Animation | Playback), and save as a gif. When the dialog box comes up, choose "One frame per layer (replace)" under the "Frame disposal where unspecified" box. If the size of your animation is too large, try opening your gif in GIMP and then go to Image | Mode | Indexed and try reducing the number of colors there. optimize your animation (Filters | Animation | Optimize for GIF), and save as a gif.

Again, here's my final image:

Posted Image

How did you do?

I'm looking forward to seeing your results.

Happy GIMP-ing!

Art


0

#2 User is offline   Ali Imran 

  • Owner
  • Group: Administrators
  • Posts: 2,305
  • Joined: 06-December 04

Posted 14 December 2005 - 08:45 AM

Great work once again.
Thanks for you time and effort.

regards
ยป GIMP TUTORIALS - Largest Database on Internet
0

#3 User is offline   Eleanora 

  • Member
  • PipPip
  • Group: Members
  • Posts: 93
  • Joined: 02-August 05

Posted 14 December 2005 - 12:12 PM

That's great art! I'm going to have a go at that one later on. Do you think you can use the filter
Filter all layers on it? Yes, I know, call me a little lazy :l:

Eleanora ;)
Posted Image
0

#4 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 14 December 2005 - 01:40 PM

Thanks for the compliments!

Eleanora, I never knew that the Filter All Layers was there in regular GIMP. I always knew it was in GAP, but not GIMP. Great suggestion! It will work with the displace/bump map, but not the Transform | Offset because it's not considered a filter, unless, of course, I'm searching for it by the wrong name. I'll try out your suggestion and incorporate your ideas into the tutorial if I can get faster results. PM me with any suggestions you have for improvement.

Thanks, Art
0

#5 User is offline   Person16589 

  • Member
  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 20-November 05

Posted 17 January 2006 - 01:25 AM

i cant see the pics! :c:
0

#6 User is offline   hendrikbez 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 17-January 06

Posted 17 January 2006 - 05:22 AM

yes, where are the pics :o:
0

#7 User is offline   MJF 

  • Member
  • PipPip
  • Group: Members
  • Posts: 506
  • Joined: 12-September 05

Posted 17 January 2006 - 04:02 PM

Nice tut Fence, and good spin on the saying. Haha, I got a kick out of "Divided we Photoshop". LOL
-----------------------------------------------------------------------------
My DeviantArt Gallery

Posted Image
0

#8 User is offline   kward1979uk 

  • Member
  • PipPip
  • Group: Members
  • Posts: 527
  • Joined: 02-June 05

Posted 24 February 2006 - 10:58 PM

I got bored so i decided to have a play

Posted Image

also if your lazy like me find attatched a script ive writen from this tutorial to make your pic wave

**EDIT**

This script has now been updated so that the flutter may be selected to travel across the image rather then down it the new script is available along with the rest of my scripts from here

Posted Image
Posted Image

both of the union jacks took me around 4 mins each using the script and they are 30 frames each
Posted Image
0

#9 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 24 February 2006 - 11:00 PM

Hey, very nice. But that's cheating!! *reaches up when noone's looking and downloads flag script*

Thanks, kward.
0

#10 User is offline   kward1979uk 

  • Member
  • PipPip
  • Group: Members
  • Posts: 527
  • Joined: 02-June 05

Posted 24 February 2006 - 11:01 PM

Quote

Hey, very nice. But that's cheating!! *reaches up when noone's looking and downloads flag script*

Thanks, kward.


as i said im too lazy to do the same thing over and over again
Posted Image
0

#11 User is offline   ccbarr 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 1,693
  • Joined: 23-February 06

Posted 25 February 2006 - 12:03 AM

Hey, nice and easy to follow tutorial, and now I just downloaded that flag.scm script, so I will try it out. Thanks. I am new to gimptalk, but have been using gimp for a long time (not a professional though :w: ) Gimptalk has a lot of great tutorials that have helped me in formulating the tutorials I have posted and hope can help others in using Gimp. Giving back to the community. :h:
0

#12 User is offline   kward1979uk 

  • Member
  • PipPip
  • Group: Members
  • Posts: 527
  • Joined: 02-June 05

Posted 25 February 2006 - 12:09 AM

and another one this time fluttering accross the screen

Posted Image
Posted Image
0

#13 User is offline   kward1979uk 

  • Member
  • PipPip
  • Group: Members
  • Posts: 527
  • Joined: 02-June 05

Posted 26 February 2006 - 06:27 PM

Posted Image
Posted Image
0

#14 User is offline   Rimshot 

  • Member
  • PipPip
  • Group: Members
  • Posts: 65
  • Joined: 22-February 06

Posted 28 February 2006 - 01:32 AM

Everytime I make a flag,the overlapping edges stick out.How do you keep the edges from doing that?

Posted Image
0

#15 User is offline   gamer_freak777 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 22-February 06

Posted 28 February 2006 - 04:11 AM

i got a question... first did u jus get the flag thing in your avvy animation off of google or somtin? cause i wanan use that... but my question is how do u get a render\\words over the white and black grided flag animation...? jus copy and paste it to it on a new layer?



gamer,
0

#16 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 28 February 2006 - 04:34 AM

Nope I made the whole thing by myself. I don't know if I'll share the secrets for it, but text is a separate layer.

Art
0

#17 User is offline   gamer_freak777 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 22-February 06

Posted 28 February 2006 - 05:05 AM

ahh hah! i got it u used checkerboard :l: :w: i wont tell an yone =S


now i need to figure out how u have such a smooth wave
0

#18 User is offline   kward1979uk 

  • Member
  • PipPip
  • Group: Members
  • Posts: 527
  • Joined: 02-June 05

Posted 28 February 2006 - 10:04 PM

Quote

Everytime I make a flag,the overlapping edges stick out.How do you keep the edges from doing that?

Posted Image


I noticed the same problem I solved this by pasting each layer onto a with image, you could probably leave a border around the image before you create the ripple then crop down the final image
Posted Image
0

#19 User is offline   gamer_freak777 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 22-February 06

Posted 28 February 2006 - 10:54 PM

Quote

Quote

Everytime I make a flag,the overlapping edges stick out.How do you keep the edges from doing that?

Posted Image


I noticed the same problem I solved this by pasting each layer onto a with image, you could probably leave a border around the image before you create the ripple then crop down the final image



not tryin to take away fencepost's users but if you do it my way, you can set it to black and its alot shorter, so u dont see the edges... its in user submitted tuts
0

#20 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 01 March 2006 - 02:59 AM

OK, I think I've figured out why the animations are turning out poorly. Try this and let me know if you have successful results. If so, I'll modify the tutorial accordingly.

When I made mine, rather than Optimizing it for a gif (Filters | Animation | Optimize for gif) I saved it directly to a gif, skipping the optimize step. When you optimize an animation, GIMP automatically reduces the number of in the image and sets each layer to combine. Without going into all the details, this is not what we want. Rather than do this, try saving as a gif and when the dialog box comes up, choose "One frame per layer (replace)" under the "Frame disposal where unspecified" box. If the size of your animation is too large, try opening your gif in GIMP and then go to Image | Mode | Indexed and try reducing the number of colors there.

Let me know if this takes care of the problem.

Thanks. Art
0

Share this topic:


  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic