Gimptalk - Premier Gimp Community: Animated Flash Text - Gimptalk - Premier Gimp Community

Jump to content

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

Animated Flash Text

#1 User is offline   fencepost 

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

Posted 15 August 2005 - 06:57 PM

In this tutorial, we will be creating an animated flash text like this:

Posted Image

In order to follow the tutorial, you must have the newest version of GAP, currently 2.2.0. I've also posted the background/flash xcf files on my deviantart account (Fencepost's DA Account), so that you can download and follow along step by step.

This tutorial has been re-written from the original version. The original tutorial assumed a working knowledge of GAP; however, this tutorial will be explained so that even a beginner to GIMP can follow. That being said, I've tried to include as many screenshots as possible to make the steps much more clear. To keep the tutorial a bit more compact, I haven't included a screenshot for everything. For those steps without an image, I will describe the steps in great detail and will use the following format for menu locations: Select | Save to Channel means that you will go to the "Select" menu and choose the "Save to Channel" option.

However, if you don't have GAP or would like to try a version that does not require GAP, please check out this tutorial: http://www.gimptalk....99-1.html#38596


So, without further ado, let's begin.

[*]Create an animation folder somewhere on your hard drive and store both the background_000001.xcf and flash.xcf files in it. This is to help with housekeeping.
[*]Open up the background_000001.xcf and flash.xcf files in GIMP.

The background file will look like this:

Posted Image

[*]With the text layer highlighted, right click on it and choose "Alpha to Selection." This will select the outline of the text, like so:

Posted Image

I've outlined the text in red so you can see what the Alpha to Selection is supposed to look like. Yours won't be red, but it will be surrounded by the "marching ants."

[*]Now, we need to convert the selection to a channel. I won't describe what a channel is, but we will be converting it back into a selection/mask later on. This is a very important step. Follow it
closely.


Posted Image

This is where GIMP stores the channel. Note the name that is automatically assigned to it by GIMP. We will need this name later.

Posted Image

Now that we have some of the basic setup steps out of the way, let's move on.

[*]Go to Video | Duplicate Frames and set your settings like so:

Posted Image

This will automatically create a total of 20 xcf files in your file numbered sequentially. Your original

background layer (background_000001.xcf) will keep its name and it's really the only one we'll be working with directly. We'll let GAP automatically modify the other 19 frames through various menus.

If you take a quick peek within your animation folder (you did create a folder, didn't you?) you see 20 files named "background_00000xx" with the x's representing the numbers.

If you're new to GAP, you might be wondering why we did the Duplicate Frames step and why did I choose the number 19. An animation is nothing more than slight modifications from one frame to the next. Since this is a basic animation, I want to use the background and text layer over and over again, so I tell GAP to duplicate it "x" number of times (or in this case 19 times). Why 19? It's really an arbitrary choice. I first used 9 when experimenting, but the animation was a little fast for my taste. By adding more frames, the highlight was allowed to take longer to complete than if I had stuck with my original number of frames (9). Ok, enough with the GAP theory, let's move on.

Now, it's time to begin the animation steps. Moving the highlight part within GAP is really easy, but we only want to limit the highlight to the text. This will take some additional steps, which may seem difficult at first, but once you get the hang of it, you'll be a pro!

[*]From the Background xcf file, Go to Video | Move Path....

The following window will open up:

Posted Image

Follow the graphic and change the settings as follows (I will not be explaining what each of these settings do, just follow my lead for now):

[*] A: "None"
[*] B: "Screen"
[*] C: "Left Top"
[*] D: Place a check mark within to the "Instant Apply" box
[*] E1: Set X to 215. This will place the highlight to the left of the text.
[*] F1: Click "Add Point." This tells GAP to lock in the location set in step E1.
[*] E2: Set X to 450.
[*] F2: Click "Add Point."

Guess what? We've actually told GAP to move the highlight across the signature. Let's try it out and see.

[*]G: Click "Anim Preview" The following window will open. Change the settings like so:

Posted Image

[*]Select "OK" and choose "Play/Stop" to watch the highlight move across the signature. It looks pretty good, but we want to limit it to the text only.
[*]Close the animation preview window AND the new GIMP file named "Untitled". When it asks to if you want to save, Choose "Don't Save. We don't need it.

Now you'll be back to the "Move Path" window.

[*]H: Click "OK" What the OK button does is modify each of the background_0000xx layers.

Here's the fun part. We need to limit the highlight to the text. To accomplish this, we've got to be a bit creative. Since we're GIMP users, we know that creativity is one of our strong points!

[*]Go to Video | Frames Modify and choose the following:

Posted Image

Leave the rest of the settings as they are and, in the blank, type in the name of the channel exactly as GIMP named it. If you can't remember, go back to your "Channels" dialog and copy/paste the name in the blank. choose OK. What we're going to do here, is load the channel we created earlier and add it to each of the frames. The rest of the settings tell GAP that Layer Pattern "0" is the top layer (or in our case, the highlight layer").

[*]Now, Go to Video | Frames Modify and make the following choice:

Posted Image

Here we will add a layer mask from the selection created by the channel in the step above and use the mask to hide the highlight outside of the text.

[*]Now Go to Video | Frames to Image and Choose OK. This converts all the background_0000xx.xcf files into one image.

A new window will open up.

[*]Go to Filters | Animation | Playback and play your new creation.

Looks good, doesn't it?

Here's the result:

Posted Image

[*]Now, go to Filters | Animation | Optimize for GIF.
[*]Save as an animated GIF
[*]Show of your new creation to all your friends (and maybe even your enemies!)

Well, I hope you enjoyed this tutorial. Comments and Criticisms are welcome.

Happy GIMP-ing!

Art


EDIT: For all you really curious types, you may have noticed that in the Frames Modify section, there are two choices under the Layer Masks menu for applying a mask from another layer (either above or below) to the current layers. You may wonder why I didn't choose this step instead of the creating a channel selection and applying the channel selection as a mask later on. That's a very good question, but I have an even better answer! I did try it. Only one problem, GAP decided to actually move the position of the mask up and to the right by several pixels. In fact, it wasn't over top of the original text at all. So, here I thought I had the perfect solution, but GAP didn't think so. At least I figured out a work around!
0

#2 User is offline   Sean-Michael 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 1,587
  • Joined: 02-May 05

Posted 15 August 2005 - 07:46 PM

This looks really sharp FencePost and I think yours is quit a bit simpler than my approach! Good job on useing the Alpha Selection to apply the flash to only the text, I tryed doing this but couldnt get it to work that way but you figured it out!

Great Approach... A+
0

#3 User is offline   fencepost 

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

Posted 15 August 2005 - 07:50 PM

Thanks, but I still think you need to post yours because it will give us more ways of looking at the way GAP handles animations and the different options. For example, the way you instructed me about the turning on/off of layers, I never knew you could do that between uses of the Move Path tool.

a
0

#4 User is offline   BR7 

  • Member
  • PipPip
  • Group: Members
  • Posts: 569
  • Joined: 13-June 05

Posted 16 August 2005 - 03:21 AM

Nice work Fencepost You guys are great with these tutorials
Posted Image
(Paypal Alternative 100% Legit)
0

#5 User is offline   NateDog77 

  • Member
  • PipPip
  • Group: Members
  • Posts: 326
  • Joined: 04-August 05

Posted 17 August 2005 - 03:12 AM

Hey Thanks for getting this tutorial up. I was trying it out on a banner for my church website and this is what I got:
Posted Image
I don't know why the shadow is messed up but any ideas how to fix it are appretiated! :h:
0

#6 User is offline   Sean-Michael 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 1,587
  • Joined: 02-May 05

Posted 17 August 2005 - 03:17 AM

Its the way you converted it to Indexed Color I think... Try these settings with a fresh save...

Posted Image

Dithering is the reason for the weirdness :l:
0

#7 User is offline   NateDog77 

  • Member
  • PipPip
  • Group: Members
  • Posts: 326
  • Joined: 04-August 05

Posted 17 August 2005 - 03:30 AM

Right!- lemme try that...

Yarg! That didn't work all that shows now it the harsh dark parts of the shadow. Hmmm
0

#8 User is offline   Sean-Michael 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 1,587
  • Joined: 02-May 05

Posted 17 August 2005 - 07:47 AM

Did you do it with a fresh image? I save mine that way and it always turns out ok but if you tryed with the one you all ready had it wont work I think... Try experimenting and see if it works and let me know ok :l:
0

#9 User is offline   regimen de caos 

  • Member
  • PipPip
  • Group: Members
  • Posts: 265
  • Joined: 25-July 05

Posted 18 August 2005 - 12:01 AM

Here's my shot:

Posted Image
0

#10 User is offline   Noble 

  • Member
  • PipPip
  • Group: Members
  • Posts: 294
  • Joined: 31-July 05

Posted 25 August 2005 - 03:46 AM

Subtle and very nice regimen de caos.

Don't worry fence, your tutorial is very straight forward and easy to understand. Great job! I should check this out by myself, but do layer masks work in GAP animations? That way you can apply a layer mask corresponding to the text on the shine layer. With this the background will also be left alone during the animation... that is if layer masks work.

Ha... nevermind that would only work if the shine could move seperate from the mask.
0

#11 User is offline   fencepost 

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

Posted 25 August 2005 - 04:06 AM

The "masks" idea was the way I wanted to approach it within GAP, but have yet to come up with anything that works. Under the Video | Frames Modify area there is a way to add a mask, but everything I try doesn't work. It's one of the "mysteries" of our fine little program :w:

BTW, where have you been lately? Haven't seen much of you or your graphix creations.
0

#12 User is offline   BR7 

  • Member
  • PipPip
  • Group: Members
  • Posts: 569
  • Joined: 13-June 05

Posted 01 September 2005 - 08:03 PM

Hey fencepost could you use another color so instead of a white streak maybe a blue red and so on or do you think maybe it wouldnt show up to good on text I had a few ideas just wanted your input before I give it a shot
Posted Image
(Paypal Alternative 100% Legit)
0

#13 User is offline   fencepost 

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

Posted 01 September 2005 - 08:42 PM

Any color will work. I just wanted a white highlight! Also, try experimenting with the different blend modes. I used Overlay in my example, but some of the others may give you better result depending on what you're looking for.

A

P.S. I'm also working on another tutorial to accomplish this same thing, but in a different manner. Hopefully, I'll be able to do it in such a way that users can create it without using GAP if they so choose. However, with the way my schedule is right now, don't hold your breath waiting for it!
:w:
0

#14 User is offline   BR7 

  • Member
  • PipPip
  • Group: Members
  • Posts: 569
  • Joined: 13-June 05

Posted 01 September 2005 - 09:09 PM

Cool thanks for the tip :h:
Posted Image
(Paypal Alternative 100% Legit)
0

#15 User is offline   Angel 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 15-October 05

Posted 15 October 2005 - 08:57 AM

Hello, im angel.
i just downloaded gimp and i want to do this animated text too but i cant- how can i make that 1 px border around my text? plase help someone, pm me.
0

#16 User is offline   saulgoode 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 5,324
  • Joined: 22-August 05

Posted 19 October 2005 - 11:26 AM

Quote

The "masks" idea was the way I wanted to approach it within GAP, but have yet to come up with anything that works. Under the Video | Frames Modify area there is a way to add a mask, but everything I try doesn't work. It's one of the "mysteries" of our fine little program :w:

BTW, where have you been lately? Haven't seen much of you or your graphix creations.


I discovered this thread while searching for an easy way to copy layer masks into GAP sequences; it would appear there is not, so I thought Fencepost, in particular, might be interested in this Layer Mask tutorial that I wrote for the Brickfilms Wiki Encyclopedia. It mainly addresses using the GAP as a "film editor" but the technique should be adaptable to other endeavours.


If I could go off-topic (even further?) and ask if anyone knows of a simple way to invert the colors of frames using the GAP, I would appreciate learning how. My current method entails using the "Video->Frames modify->Apply filter->plug-in-wr-curves" and loading a pre-saved "curve" that is a line extending from the top-left to the bottom-right of the screen. It would be very handy to quickly invert the opacity of a mask (I screw that up a lot).
Everybody makes their own fun. If you don't make it yourself it's not fun, it's entertainment.
0

#17 User is offline   fencepost 

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

Posted 19 October 2005 - 12:57 PM

Thanks for the link, saul....looks like a very interesting article! Wow, you're a published author. That's pretty cool! I'll see if there's anything in there that will apply to this particular tutorial and will modify accordingly, if so.

As far as your question about the inverting the opacity of a mask, I believe that's the correct approach, although I am certainly not an expert with GAP by any stretch of the imagination. If I come across anything, I'll pass it on to you.

Also, check out the GIMP section at pixel2life.com. There are two new tutorials on GAP animations that came from another site. Don't know if there's anything in those tutorials that might indirectly help you, but the tuts appear pretty good (although I haven't tried them yet)

Thanks for the input.

Art
0

#18 User is offline   saulgoode 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 5,324
  • Joined: 22-August 05

Posted 21 October 2005 - 08:28 PM

Fencepost,

As an alternative to your method of using the "pixel selection" option, this slight modification to your procedure would preserve the background. (EDIT: This comment was made about the original version of this tutorial and no longer applies.)

After you have done the "Move path" and the subsequent "Alpha to selection", perform a "Video->Frames modify->Selection->Replace selection (source is the active frame)". Set the range to be from Frame #2 to the last frame and click "OK".

Then perform a "Video->Frames modify->Add alpha channel" to the top layer (#0) for all frames.

Once this is done, perform a "Video->Frames modify->Layer mask->Add layermask from selection" on the top layer (#0) for all of the frames. You are now ready to convert your frames to an image.
Everybody makes their own fun. If you don't make it yourself it's not fun, it's entertainment.
0

#19 User is offline   fencepost 

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

Posted 26 October 2005 - 03:52 PM

Just saw your post. I'll give your technique a try a bit later.

Preservation of the background is the best way and should eliminate a step or two. If this works better, I'll modify the whole tutorial to incorporate your suggestion. My knowledge of GAP is so limited, I'm ashamed to say that I know how to use it.

Thanks!

Art
0

#20 User is offline   fencepost 

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

Posted 04 December 2005 - 05:46 AM

Tutorial has been totally redone utilizing the new menus added to GAP 2.2.0. I've also restructured it so a complete beginner can complete. All questions or comments listed prior to today's date no longer apply.

Enjoy!

Art
0

Share this topic:


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