It is currently Fri Apr 26, 2024 7:17 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 18 posts ] 
Author Message
 Post subject: Card Opening Animation - Without GAP
PostPosted: Sun Nov 06, 2011 12:54 pm  (#1) 
Offline
GimpChat Member

Joined: Dec 20, 2010
Posts: 174
Location: Wherever the voices in my head tell me I am.
This is a re-post, with a few updates, of a tutorial that I originally posted over at gimptalk.

Please note : this particular tutorial is probably not best for new users of Gimp (although you are always welcome to try). Although I have included screenshots and some explanations here and there, a lot of the material assumes that you have a good familiarity with Gimp already. Now on to the tutorial.

:)

This is an example of what one can create via using this guide:

Image

Page Turn Animation Tutorial (Without GAP)


Creating the Card Cover

1.) First begin with a 400x400 new image with a transparent background.

Image

2.) From the left side of your image window ruler, drag a vertical guide line to the center of the screen (position 200).

3.)Then from your left side ruler, drag another vertical guide to position 380.

4.) From the top ruler, drag a horizontal guide to position 100 and then another horizontal guide to position 300.

4a.) You can also add guides by selecting:

Image | Guides | New Guide (for each guide you need to create)


Then in the dialog box that opens select whether you will be making a Vertical or Horizontal guide line and the position to place the guide. Vertical guides are to be placed at position 200 and 380. Place horizontal guides at positions 100 and 300.

Image

5.) Add a New Transparent Layer to the image either from the New Layer button on the Layers Dialog window or by selecting:

Layer | New Layer

Accept the default settings for the New Layer and click OK.

6.) Select the Rectangle Select Tool and then starting at the intersection of the vertical guide at 200 and the top horizontal guide at 100, click and drag your selection tool down and the the right until you reach the bottom right corner, which is the intersection of vertical guide at 380 and horizontal guide at 300. The selection should snap to the bounding guidelines.

6a.) Fill that selection with the color that you will be using for your top page. In my example it will be a bluish green color:

Image

7.) Leaving the rectangular selection active, select the Text Tool, adjust the settings for the tool according to your preferences, click somewhere inside the image window and type some text.

I made the text : To Someone Special

8 alternate.)You can align the text by hand if you like.

8.) To get a nice centered text, select the Align Tool

8a.) Click on the Text Layer inside of the Image window. You should now see a dot in each of the four corners of the Text Layer.

8b.) In the align tool settings window for Align Relative To, click on the drop down box and set that to Selection:

Image

8c.) Then to center align the text over the selected area, click the two buttons highlighted in red as shown in the image above.

9.) Then do a Select | None.

10.) Merge the Text layer down on to the New Layer by selecting the Text Layer in the Layers Dialog window and then right-click on it and selelct Merge Down from the menu that opens.

Visualizing The Animation

The animation will be 30 frames (I just arbitrarily made that value up, you can use however many frames you wish). I mentally divide the animation into four separate animations, although they will all be created from within the image.

The first animated part is the card opening from flat to a 90 degree angle with the surface of the page. In 3d view, the page would be standing straight up so that all one could see if staring straight down on it would be it's edge.

The second animated part will consist of the card opening fully from the 90 degree position. But the inside of the card will be a different color from the outside (white in the case of this example), so that additional 90 degree turn needs to be a separate layer from the first.

The third part of the animation is the card going from fully open back to the top of the card again being at a 90 degree angle from the flat part of the card. This will still use the white color.

Finally, the from the 90 degree mark to closing back up, we need to reuse the layer for the front part of the card.

First, we set up the layers

11.) With the New Layer selected in the Layers Dialog window, rename it to Cover.

12.) Duplicate the layer named Cover 8 times, to give a total of 9 equivalent copies of that layer.

13.) The top layer should be called Cover copy #7. Rename that layer to: Left Inside.

14.) Then in the Layers Dialog window, set the Alpha Channel Lock for the “Left Inside” layer (notice the image below). Make sure you see a check mark showing that the Alpha Lock has indeed been activated. This step is important and one that can be easily missed. If it is not done, your final result will not display correctly.

Image

15.) Fill the Left Inside Layer with color white. (Because the Alpha Channel is set to Lock, this will cause the already filled in bluish green rectangle with text in it to be now filled just with the color white.) The transparent area around it will remain transparent.

16.) Then deactivate the Alpha Channel Lock by clicking on the little box beside Lock in the Layers Dialog window. Make sure that there is now no check mark in the box.

17.) Duplicate the Left Inside layer 14 additional times. The last copy will be named Left Inside copy#13 if this step was done correctly.

18.) Go back and select the layer named Cover copy #6.

19.) Duplicate Cover copy#6 one time.

20.) Drag Cover copy#7 to the top of the stack of layers in the Layers Dialog window.

21.) Then duplicate Cover copy#7 an additional 6 times. The very top layer will be named Cover copy #13 if all went well.

If you count the various layers, we have essentially 15 Cover layers and 15 Left Inside layers. It's just that we had to position them as we did to make the animation work properly.

This then gives us the 30 layers for our animation plus one Transparent Background Layer. All of the layers are set up and ready for "animating".

Setting Up The Animated Layers with Map Object

22.) Go down and select the layer named Cover.

23.) With the Cover Layer selected, open the Map Object Filter by selecting:

Filters | Map | Map Object

Image

23a.) In the Options tab, make sure you have activated the Transparent background setting as shown above. You will not need to change anything else in the Options, Lighting (you may wish to experiment with No Lighting rather than using default lighting), or Materials tabs for the remainder of the time for this animation.

24.) Then go to the Orientation Tab:

Image

The value that you will be changing for each and every layer to create the animation will be the Y Rotation value.

25.) In the first instance you will leave the Y value at 0.

25a.) Explanation: You will have to change the value of Y for every one of the 30 layers by an increment of -12 degrees for the first 16 frames, going from zero to -180.0 degrees, and then by increments of +12 degrees for the remaining 14 frames.

If you wonder why I am using 12 degree increments, just take the total rotation of the front cover, which goes from 0 to -180 and back to zero, which is a total 360 degree rotation, and divide by the number of frames that we are using, which is 30. That gives 12 degrees per frame.

End Explanation

26.) So go ahead and click OK.

27.) In the Layers Dialog window select the next layer, which is named Cover copy.

28.) Again open the Map Object filter (Shift+Ctrl+F for reopening the most recent filter used), go to the Orientation tab and change the Y Rotation value to -12.0 (that's minus 12.0). Then click OK.

29.) Select the next layer up, Cover copy#1, open Map Object, and set the Y rotation value to -24.0

30.) Continue this process with the Map Object filter, incrementing each layer by -12.0 degrees (-36.0, -48.0, -60.0, -72.0, -84.0, -96.0, -108.0, -120.0, -132.0, -144.0, -156.0, -168.0, and -180.0 for the rest of the first 16 layers) all the way through Inside Left copy #6, which will be a Y rotation value of -180.0.

31.) Then reverse the process for the remaining layers. So Inside Left copy #7 will be a Y rotation value of -168.0

32.) The remaining Y rotation values for each successive layer would be -156.0, -144.0, -132.0, -120.0, -108.0, -96.0, -84.0, -72.0, -60.0, -48.0, -36.0, -24.0, and finally -12.0.

For those wondering why we don't end up back at zero, it's because we do when we go from frame 30 back to frame 1 again to start the whole animation over again.

Get Some Animation Scripts

33.) First, if you do not already have them, please download the following zip file containing two scripts written by saulgoode:

Attachment:
File comment: contains anim-settings.scm and sg-combine-background.scm scripts
anim_scripts.zip [2.61 KiB]
Downloaded 513 times


34.) Unzip anim_scripts.zip into your Gimp scripts folder

35.) Refresh your scripts:

Filters | Script-Fu | Refresh scripts

These scripts will add new selections to the Animations section under Filters heading in Gimp.

Once the background is set up, I will refer to these scripts.

Setting Up The Background

36.) From your Layers dialog window, select the transparent Background layer.

37.) Shift+Click on the eyeball icon beside the Background Layer in the Layers Dialog window to turn off the visibility of all except the Background Layer.

38.) Fill the background layer with the color of your choice, I'm using the color blue.

39.) Using the Rectangular Select Tool, make the same selection as was done previously in step number 6, along the indicated guidelines mentioned above.

40.) Fill the selection with plain white color to create the bottom page of the card.

40a.) Feel free to add designs or text of your choosing for the inside of the card.

Explanation: That part of the card doesn't move in the animation, which is why we can let it be part of the background layer.

40b.) Make sure that you merge down the text and any other graphics layers that you want included in the Background Layer.

Image

Caution: Be careful when adding graphics to images that are intended to become GIF animations. You only have 256 total colors to work with. Any more than that and you will likely start seeing your animations looking less than optimal.

Finalize The Animation

41.) Shift+Click on the eyeball icon for the Background Layer in your Layers Dialog window to make all layers visible again.

42.) Select:

Filters | Animation | Combine background (that comes from the newly installed animation scripts)

Explanation: This script allows you to avoid the work of manually creating a copy of the Background Layer for each of the animation layers. Normally, if doing this manually, you would place each copy of the Background layer below each of the animation layers and then merge each animation layer on to one of the background layer copies. The script does this for you.

43.) Then delete the Background Layer.

44.) Finally, try out your animation by selecting:

Filters | Animation | Playback

44a.) The animation should play well, but we need to have it delayed when the card is completely closed and when it is fully opened.

45.) Let's first set the delay settings for each frame. Select:

Filters | Animation | Settings

45a.) You can try using the default delay value of 100ms per frame and leave the Mode value at Keep.


46.) Once the script adds the timing delay value to each frame, you can go back to the Layers Dialog Window and manually edit the timing value for the first frame and the 16th frame. I set those two frames each to 1500ms from the default 100ms setting.

46b.) Explanation: The first frame is when the card is completely closed and the 16th frame is when it is completely open. That is the reason the delay for those two frames is adjusted. It makes it easier for the person viewing the animation to read the card. Plus a delay is a bit easier on the eyes for this animation, vs it constantly opening and closing with no delay.

47.) Go back and play your animation again. It now has a nice delay.

48.) I usually like to apply the optimize function:

Filters | Animation | Optimize (for Gif)

Not everyone likes using that function/filter. It is intended to help the resulting file size be as small as possible, but it doesn't always work out that way. And sometimes the appearance of your animation is less than optimal after applying that filter. So that is something you will have to decide on.

49.) Finally save your file as an animated gif file (some_file.gif).

49a.) Remember to select Save As Animation from the Export dialog window that opens, otherwise Gimp will just Flatten all your layers into one layer and save it as a static Gif image rather than as a multilayered Gif animation.

Thank you for checking out this tutorial.

:)


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Sun Nov 06, 2011 1:14 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Thank you so much for posting this tutorial ccbarr.
Besides the barber pole, this is one of my favorite tutorials by you. Timing is right too cuz this is a perfect time of year to get some Thanksgiving cards made, then on to Christmas.

woo hoo, off I go to Gimp

_________________
Image


Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Sun Nov 06, 2011 5:45 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Here is my go at a Thanksgiving card. I will do another one and take more time with it. It is a very straight forward tutorial and easy to follow the way you explain everything. Thank you for sharing ccbarr.
Image

_________________
Image


Last edited by molly on Mon Nov 07, 2011 2:16 pm, edited 1 time in total.

Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Sun Nov 06, 2011 5:49 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
Cool ccbarr! Gotta try that one when I get a few.

Great job Molly! We may be sending gif cards in emails this Christmas. Won't the postal service love that.

_________________
Image


Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Sun Nov 06, 2011 10:06 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
Thanks for the tutorial...for those of us who don't have gap!


Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Mon Nov 07, 2011 1:15 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Nice tutorial ccbarr!
Thanks for sharing it. :)

_________________
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: Card Opening Animation - Without GAP
PostPosted: Fri Dec 21, 2012 6:44 am  (#7) 
Offline
GimpChat Member

Joined: Dec 21, 2012
Posts: 6
I seem to have run into a problem with this one. I've done it before using GIMP 2.8, but now for some strange reason, when I use the "Map Object" starting with the Inside Cover layer and up to the Cover Copy#7, it doesn't seem to work at all, meaning the layers don't appear to 'move', and when I go to "Combine Background" it's like the Background layer isn't even with the Inside Cover layers. :gaah I've got what I ended up with saved in XCF format,(yes the Background layer is with it, as I didn't want to loose it.) I'm at a loss as to what I'm doing wrong. :?

Thanks for any help.


Attachments:
File comment: This is my result.
ChristmasCard.xcf [1.21 MiB]
Downloaded 391 times
Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Fri Dec 21, 2012 7:23 am  (#8) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Welcome to Gimp Chat SheLovesGIMP
I just downloaded your XCF and played it and see what you mean. I did that same tutorial a couple of times but I can't see where yours went wrong.
I know some one here can probably help you with them. Ccbarr writes great tutorials.
I also changed the settings to replace and it helped some. I wonder if you delete the bottom layer and set the next layer to pause some like 1500ms.

I made this into a pdf for myself and posted it here in case anyone else wants it.


Attachments:
's page turnin card tutorial.pdf [168.59 KiB]
Downloaded 392 times

_________________
Image
Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Fri Dec 21, 2012 3:40 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
SheLovesGIMP wrote:
I seem to have run into a problem with this one. I've done it before using GIMP 2.8, but now for some strange reason, when I use the "Map Object" starting with the Inside Cover layer and up to the Cover Copy#7, it doesn't seem to work at all, meaning the layers don't appear to 'move', and when I go to "Combine Background" it's like the Background layer isn't even with the Inside Cover layers. :gaah I've got what I ended up with saved in XCF format,(yes the Background layer is with it, as I didn't want to loose it.) I'm at a loss as to what I'm doing wrong. :?

Thanks for any help.


Adding new transparent background layer and filling it with the color of your choice (Steps 36-38 of the tutorial). I think you somehow skipped these steps. As for mapping object (turning page) I did it for you and attached xcf. I left BG layer filled with blue so you can change it to the color of your choice. Just don't forget to combine it with all other layers.

Image


Turning page came out with bleeding colors due to color dithering method, you can change it in Image>Mode>Indexed>Floyd Steinberg before saving as a GIF. You will get this

Image


Attachments:
ChristmasCard+bg.7z [321.32 KiB]
Downloaded 375 times
Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Fri Dec 21, 2012 6:50 pm  (#10) 
Offline
GimpChat Member

Joined: Dec 21, 2012
Posts: 6
Thanks. :) I appreciate the help on this one. :)


Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Fri Dec 21, 2012 9:42 pm  (#11) 
Offline
GimpChat Member

Joined: Dec 21, 2012
Posts: 6
I figured out what went wrong. :) I somehow managed to forget to "Unlock Alpha Channel" after I made the Inside Left layer, as a result when I went to "Map Object" it didn't work correctly. All working fine now. :)

Hope everyone has a great Holiday Season. :) :present


Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Sun Jul 27, 2014 7:08 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 17, 2014
Posts: 1426
Image


My grandmother at the age of 20 (more or less).


Thanks ccbarr!

_________________
Ella's gallery - YouTube


Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Sun Jul 27, 2014 7:20 am  (#13) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
@Ella Louise, I am really thrilled to see this tutorial done without Gap that ccbarr wrote. I did it several times and it is long and precise but very well written.
You did a beautiful job on it and as always, you put your own spin on it. Keep up the good work.
I love all his tutes, especially the barber pole spinning one. :bigthup

_________________
Image


Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Sun Jul 27, 2014 8:35 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: May 17, 2014
Posts: 1426
Thank you for your nice comment Molly.
I like this procedure very much. I don’t have GAP on Gimp.
The barber pole spinning, I came across while searching for Gimp tutorials on the internet.
Now I don’t know where to find it anymore :roll: :)

_________________
Ella's gallery - YouTube


Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Sun Jul 27, 2014 8:50 am  (#15) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Here ya go.
viewtopic.php?f=23&t=2255
This is more of his tutes too.

All the tutorials are listed under all the authors names alphabetically, thanks to Odin's very good management.

_________________
Image


Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Sun Jul 27, 2014 12:08 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Dec 10, 2013
Posts: 1004
Ella Louise, how many times have I told you that I love your work. That is truly beautiful.

_________________
Image
Macbook Air - MacOS Sierra 10.12
McGimp 2.8.14
G'mic 1.6.5


Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Sun Jul 27, 2014 2:13 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
Beautiful smooth animation!


Top
 Post subject: Re: Card Opening Animation - Without GAP
PostPosted: Sun Jul 27, 2014 4:06 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: May 17, 2014
Posts: 1426
Thank you for the list of tuts from ccbarr, Molly.
However it's a pity they are all made with GAP except the one I made :)
I didn't know te tuts are alphabetically ordered by author, now I know :D

Dalia , I also love your work, I think you know that by now :paint

2-ton, thanks!

_________________
Ella's gallery - YouTube


Top
Post new topic Reply to topic  [ 18 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) GIMP 2.10.12 is not opening on Mac

10

No new posts Attachment(s) Issues opening RAW files [Solved]

2

No new posts need Help- GIMP error opening RAW file with Darktable

5

No new posts Attachment(s) LED Animation from Animation Plug-in

6

No new posts Card Rhododendron

4



* Login  



Powered by phpBB3 © phpBB Group