GT Portal . Forums . Official Tutorials . Art Galleries . FAQs . Search . New Posts . Contact Us Login  .  Register


Board index » GIMP News and Help forums » GIMP Tutorials and Tips Make Money Online . Free Image Hosting
Featured Tutorial : Learn how to create characters by Griatch
Search for :  


Post new topic Reply to topic   [ 165 posts ]   Go to page 1, 2, 3, 4, 5 ... 7  Next


Author Message
 Post subject:
PostPosted: Mon Aug 15, 2005 6:57 pm 
Offline
User avatar

Joined:
Tue Mar 01, 2005 4:40 pm

Topics: 127
Posts: 2261

Find User's Topics

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

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.com/forum/topic/New-and-Improved-Animated-Highlight-5899-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:

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:

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.


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.

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:

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:

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:

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:

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:

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:

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!




Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 15, 2005 7:46 pm 
Offline
User avatar

Joined:
Mon May 02, 2005 5:49 pm

Topics: 105
Posts: 1578

Find User's Topics
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+


_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 15, 2005 7:50 pm 
Offline
User avatar

Joined:
Tue Mar 01, 2005 4:40 pm

Topics: 127
Posts: 2261

Find User's Topics
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



Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 16, 2005 3:21 am 
Offline
User avatar

Joined:
Mon Jun 13, 2005 2:53 pm

Topics: 81
Posts: 569

Find User's Topics
Nice work Fencepost You guys are great with these tutorials


_________________
Image
(Paypal Alternative 100% Legit)


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 3:12 am 
Offline
User avatar

Joined:
Thu Aug 04, 2005 11:06 pm

Topics: 41
Posts: 326

Find User's Topics
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:
Image
I don't know why the shadow is messed up but any ideas how to fix it are appretiated! :h:



Top
 Profile E-mail  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 3:17 am 
Offline
User avatar

Joined:
Mon May 02, 2005 5:49 pm

Topics: 105
Posts: 1578

Find User's Topics
Its the way you converted it to Indexed Color I think... Try these settings with a fresh save...

[center]Image[/center]

Dithering is the reason for the weirdness :l:


_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 3:30 am 
Offline
User avatar

Joined:
Thu Aug 04, 2005 11:06 pm

Topics: 41
Posts: 326

Find User's Topics
Right!- lemme try that...

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



Top
 Profile E-mail  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 7:47 am 
Offline
User avatar

Joined:
Mon May 02, 2005 5:49 pm

Topics: 105
Posts: 1578

Find User's Topics
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:


_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 18, 2005 12:01 am 
Offline
User avatar

Joined:
Mon Jul 25, 2005 7:25 pm

Topics: 29
Posts: 265

Find User's Topics
Here's my shot:

Image



Top
 Profile E-mail  
 
 Post subject:
PostPosted: Thu Aug 25, 2005 3:46 am 
Offline
User avatar

Joined:
Sun Jul 31, 2005 5:19 pm

Topics: 30
Posts: 294

Find User's Topics
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.



Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 25, 2005 4:06 am 
Offline
User avatar

Joined:
Tue Mar 01, 2005 4:40 pm

Topics: 127
Posts: 2261

Find User's Topics
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.



Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 8:03 pm 
Offline
User avatar

Joined:
Mon Jun 13, 2005 2:53 pm

Topics: 81
Posts: 569

Find User's Topics
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


_________________
Image
(Paypal Alternative 100% Legit)


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 8:42 pm 
Offline
User avatar

Joined:
Tue Mar 01, 2005 4:40 pm

Topics: 127
Posts: 2261

Find User's Topics
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:



Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 9:09 pm 
Offline
User avatar

Joined:
Mon Jun 13, 2005 2:53 pm

Topics: 81
Posts: 569

Find User's Topics
Cool thanks for the tip :h:


_________________
Image
(Paypal Alternative 100% Legit)


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sat Oct 15, 2005 8:57 am 
Offline

Joined:
Sat Oct 15, 2005 8:54 am

Topics: 1
Posts: 2

Find User's Topics
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.



Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 19, 2005 11:26 am 
Offline
User avatar

Joined:
Mon Aug 22, 2005 8:35 pm

Topics: 76
Posts: 3582

Find User's Topics
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).


_________________
this is bizarre ... it's crazy ... it's stupid ... how can this ... oh my God! It's brilliant!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 19, 2005 12:57 pm 
Offline
User avatar

Joined:
Tue Mar 01, 2005 4:40 pm

Topics: 127
Posts: 2261

Find User's Topics
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



Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 21, 2005 8:28 pm 
Offline
User avatar

Joined:
Mon Aug 22, 2005 8:35 pm

Topics: 76
Posts: 3582

Find User's Topics
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.


_________________
this is bizarre ... it's crazy ... it's stupid ... how can this ... oh my God! It's brilliant!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 26, 2005 3:52 pm 
Offline
User avatar

Joined:
Tue Mar 01, 2005 4:40 pm

Topics: 127
Posts: 2261

Find User's Topics
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



Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 04, 2005 5:46 am 
Offline
User avatar

Joined:
Tue Mar 01, 2005 4:40 pm

Topics: 127
Posts: 2261

Find User's Topics
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



Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 08, 2005 1:03 pm 
Offline
User avatar

Joined:
Sat Nov 26, 2005 2:49 pm

Topics: 0
Posts: 15

Find User's Topics
thx 4 the great tutorial, but it seems that i am not smart enough to follow these simple steps -.- .

i made a dif signature, with the background layer and the text layer.

when i finished all steps, and click on animate it just shows me the picture itself, but you cant see the animation from that flash.xcf.

anything i could've done wrong that is mostly forgotten? ^^

greetings

ZOD

edit: is it possible that the problem started, when i resized the flash.xcf to my signature size?



Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 08, 2005 2:51 pm 
Offline
User avatar

Joined:
Tue Mar 01, 2005 4:40 pm

Topics: 127
Posts: 2261

Find User's Topics
Hey, zod.

Without seeing the file or some screenshots, I'm having a difficult time trying to figure out where you may have went wrong. Did the animation work in the preview mode (while you were still in the Move Path window)?

I don't have time to go into it right now, but if we can't resolve it here, I may have you send me the entire set of xcf files to review. GAP can do a lot of things, but it's really easy to get thrown off track if you miss a step.

Art



Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 08, 2005 3:07 pm 
Offline
User avatar

Joined:
Sat Nov 26, 2005 2:49 pm

Topics: 0
Posts: 15

Find User's Topics
indeed, pretty difficult without screenshots, but i did this tut with your files, it worked out perfectly, i did the same to my sig and it wont works =) .... it worked in the preview,too. the only thing after trying dif things now, that is left is the text layer. did you make a simple textlayer and then removed the textinformation?

can we discuss on msn or something about it ? pretty difficult to explain it here ^^ and my connection upload sucks, so it would take some hours to send the xcf files

greetings
ZOD



Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 08, 2005 3:17 pm 
Offline
User avatar

Joined:
Tue Mar 01, 2005 4:40 pm

Topics: 127
Posts: 2261

Find User's Topics
We can try it thru IM, but it will be later tonight some time as I'm at work.

Art



Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 08, 2005 3:27 pm 
Offline
User avatar

Joined:
Sat Nov 26, 2005 2:49 pm

Topics: 0
Posts: 15

Find User's Topics
hm yeah, forgot about the timezone difference. maybe its really the best to do it in this thread, or via private message. its up to you =) . well i am away for 5 1/2 hours from now on, is that in your working plan? =)



Top
 Profile  
 
Display posts from previous:  Sort by  

Post new topic Reply to topic
 [ 165 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next



Who is online

Users browsing this forum: Phrozen and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Related Website
Gimp tutorials database
All rights reserved © GimpTalk 2008
forum software by
phpBB