After Effects Apprentice 07: Parenting

After Effects Apprentice 07: Parenting

with Chris Meyer and Trish Meyer

 


Parenting is a way to group multiple layers within the same composition inside After Effects. In this course, Chris Meyer shows how to set up a parenting chain, discusses what makes a good parent, and demonstrates several techniques using parenting, such as creating a title animation with a minimal number of keyframes, building a geometric construct, and bringing an anthropomorphic robot arm to life. Sidebar topics include avoiding a scaling gotcha with parenting and creating abstract backgrounds using the Fractal Noise effect.

The After Effects Apprentice videos on lynda.com were created by Trish and Chris Meyer and are designed to be used on their own and as a companion to their book After Effects Apprentice. We are honored to host these tutorials in the lynda.com Online Training Library®.
Topics include:
  • Preparing files
  • Making parenting connections
  • Arranging the frame and arm
  • Using null objects
  • Crafting anthropomorphic-style animations
  • Avoiding problems with non-uniform scaling
  • Animating Fractal Noise

show more

authors
Chris Meyer and Trish Meyer
subject
Video, Motion Graphics, Visual Effects
software
After Effects CS4, CS5, CS5.5, CS6
level
Intermediate
duration
1h 39m
released
May 25, 2011
updated
Nov 20, 2012

Share this course

Ready to join? subscribe


Keep up with news, tips, and latest courses.

submit Course details submit clicked more info

Please wait...

Search the closed captioning text for this course by entering the keyword you’d like to search, or browse the closed captioning text by selecting the chapter name below and choosing the video title you’d like to review.



Introduction
Overview
00:07Hi! I'm Chris Meyer of Chris Design and welcome to the After Effects Apprentice lesson on parenting.
00:11Parenting is a way of grouping together multiple layers inside an After Effects composition.
00:15If you change the position, scale or rotation of the parent, all the children come along for the ride.
00:20If the children have their animations, they get to keep them, but now they are performed
00:25relative to the parent.
00:27As a result you can group together multiple layers, keyframes as few as just one of them,
00:31and create complex animation with a minimum amount of work.
00:34In this lesson, we're going to show you how to create a parenting chain, explain what
00:38does and does not come along for the ride, and talk about what makes the good parent
00:41and what's makes a good child.
00:42We'll show you how to use null objects, special non-rendering layers in After Effects and
00:47give you few examples.
00:48For example, how to create a title animation, how to create special geometric constructs,
00:52and how to create an anthropomorphic animation, such as a robot arm, inside After Effects using parenting.
00:58We also have a couple Idea Corners.
01:01We'll take some examples you see is this project and expand upon them to make them finished pieces.
01:05We'll also have a couple of sidebars at the end.
01:07One will show you a particular gotcha with parenting and how to fix it and the other
01:11will just show you how to create your own abstract backgrounds using the Fractal Noise
01:14effect inside After Effects.
01:16Some of this material is actually not in the After Effects Apprentice book, but parenting
01:20is such an importance subject, we want to show you several different angles.
01:23So if this sounds like fun, then let's dive in and get at it.
Collapse this transcript
Using the exercise files
00:02Throughout these After Effects Apprentice courses, you'll find that Trish and I focus
00:06on core concepts of using and learning After Effects.
00:09Not specific tricks that only work with certain pieces of footage.
00:12Therefore, if you don't have any exercise files, or if you want to use your own footage,
00:16you'll still get a lot out of just watching these videos.
00:19That said, studies have shown that the best way to learn something is to actually do it.
00:24Therefore for the optimal learning experience we suggest you do get access to the exercise files.
00:28There are two ways to do that.
00:31One is to get a lynda.com premium membership.
00:34That will allow you to download the files for After Effects CS4, CS5, CS5.5 or CS6.
00:41These are the same files we're using when we record these videos.
00:44The other approach is to get a copy of our book After Effects Apprentice.
00:48The third edition covers CS5, CS5.5 and CS6.
00:51If you're still using After Effects CS4, then get the second edition of the book.
00:55Those files are pretty close to the ones we use throughout this video course.
00:59Whenever there are differences we'll note them as we teach.
01:02Now either way we think it's a good value.
01:04If you get the premium membership to lynda, you could access to exercise files for hundreds
01:08of other courses.
01:10If you get one of our books, you've got some additional text explanation for each of the
01:13features we discuss and you've got a desk reference next to you all the time.
01:17Now throughout these lessons we're going to be using a combination of After Effects
01:20CS5, CS5.5 and CS6. Don't be thrown off by any minor differences in the user interface,
01:27most of the functionality of After Effects is identical across all of these versions.
01:32If there are differences from version to version, we'll note it in the little caption that
01:35runs along the bottom of the screen.
01:37But all that said, we really hope you have a lot of fun with these courses learning After Effects.
01:42It's the application we've been using for ages now, we have a great time with it, and
01:46we hope you get the same enjoyment out of it that we do.
Collapse this transcript
1. Parenting 101: Grouping Layers
Parenting basics
00:07If you have access to the Exercise Files that came with these videos, open up
00:11project AEA_Parenting_101.aep.
00:15If instead, you're following along using our book After Effects Apprentice,
00:192nd edition, where in Lesson 6, Parenting and Nesting, and open up project 06a-Parenting.aep.
00:25I have already queued up a RAM preview and I'll press 0 on the numeric keypad,
00:30and you see we have three simple layers.
00:33We have a background animation of these lines, we have an animation of a
00:36rotating globe, and we have a circle of text.
00:40Our plan here is we want to make the text rotate around the globe and have the
00:44two of them scale up towards this as a unit.
00:47Now we could animate these objects independently, but a better way to go about
00:51it is to parent them together so we can treat them as a group.
00:53I'm going to press Home to return to start of my composition.
00:57I'll select Text and Shift+Click on planet, so they're both selected.
01:00I'll press S to reveal their Scale, Shift+R to reveal Rotation, and Shift+T to
01:06also reveal Opacity.
01:07Now normally, layers are completely independent from each other.
01:10For example, if I change the Scale of one layer, it does not change the Scale of another layer.
01:15To group these layers together though I need to use something called parenting.
01:19To reveal the Parent column in the Timeline panel, I need to do one of two things.
01:23I can either right-click on a column header and choose Parent and that
01:28column will appear.
01:30I tend to drag the Parent column next to the Names of the layers, because I like
01:33to see the names side-by-side, or you can use a shortcut of pressing Shift+F4
01:38to toggle the Parent column off and on again.
01:41Now the next question becomes which layer to parent to the other layer?
01:46Who should be the parent?
01:47Who should be the child?
01:49Children inherit all qualities from their parents, but parents inherit no
01:54qualities from their children. It makes sense.
01:56If I know I'm going to be rotating this text, it'll be a bad idea to parent the
02:01planet to the text because it will inherit that rotation.
02:05And just to show you that example, I'll click on the Parent popup for planet
02:08layer, choose Text as its parent, and now as I go to rotate the text, you'll see
02:14the planet rotates as well.
02:16That's not at all what I want.
02:17I'll undo, set the Parent popup back to None, and instead I'm going to use the
02:22pickwhip next to the Parent popup to say the text will be connected to the
02:28planet as its parent.
02:29Now I can rotate the text without having any effect on the globe, but if I was
02:34to do something such as Scale the globe, you'll see the text comes along for the ride.
02:39That makes it easier because I just need to set one set of Scale
02:42keyframes instead of two.
02:43And I'm going to go ahead and set up a quick animation.
02:46I'm going to enable keyframing for Rotation for the text and enable keyframing
02:50Scale for the planet.
02:52For the text, I'll go to the end of my composition, just to make it
02:57seamless loop. I'll go one frame past the end and say rotate 2 times during
03:02with my composition.
03:04press Home to back to the start.
03:06And for the planet, I'm going to say start at a Scale of 0, go 1 second later in
03:11time, and set it back to 100%.
03:16Now when I RAM preview, you'll see the two scale up as a group and the text
03:22continues to rotate around the planet.
03:24Children inherit most transformations such as Scale, Rotation, or Position from their parent.
03:31However, there are a couple of important properties that they do not inherit.
03:34For example, let's say I also wanted to fade up these two layers.
03:38Well, you might say Opacity is another transformation property.
03:42Planet is the parent so let's go ahead and set it to initially a 0.
03:45Here's my Keyframe Navigator to go to my Scale keyframe and go up to 100%.
03:51But you notice already that the planet is fading, but the text is not.
03:57Opacity is not inherited from parents to children.
04:02Another important thing that's not inherited are effects.
04:05For example, if I put little bit of Blur on this planet, you notice that the
04:10text does not getting blurry.
04:11Just the planet does.
04:13Here's another example.
04:15Let's say that I wanted to tint the text, but not tint the parent, the planet.
04:21I'll select just the text layer, go Effect > Color Correction > Tint, and pick
04:27for my white point maybe one of these green continent colors from the planet.
04:32Now my text has been tinted, but the parent has not.
04:36And in general, parents inherit nothing from their children.
04:40Children inherit just major transforms, Scale, Rotation, Position from their parents.
04:47And now there's my animation and that's literally all there is to parenting.
04:52You go ahead and choose who the child is going to be, go to its Parent popup or
04:57to pickwhip tool, and choose who that child's parent will be.
05:01And it will inherit certain properties, but not all properties from that parent.
05:05Okay, that was simple.
05:06Now let's go into a little bit more complex of an example where I have multiple
05:10elements that I want to tie together and animate as a group.
Collapse this transcript
Parenting with null objects
00:07In this movie, we're going to show a slightly more sophisticated application of
00:10parenting and to help raise or animate our children
00:13we're going to use a nanny, known as a null object.
00:15First, let's see where we're going with this.
00:17If you've got the project files, open up the Finished Movies folder and
00:21double-click Parenting2.
00:23In After Effects CS5 or later, that will open it up in the Footage panel.
00:27If you're using After Effects CS4, hold down Option on Mac or Alt on Windows,
00:31double-click, and then it will open in Footage.
00:34I'll press the 0 key to RAM preview and you see we have a bit of a title
00:37animation going on here, where we've got a number and a globe scaling up.
00:41We have the words Season Finale animating on from the left.
00:45We have a type animation on TOMORROW on the right, and as the globe and number
00:49scale up and move to the left, we've got the word such as TOMORROW moving along with it.
00:54How do we create this coordinated animation with a minimum number of keyframes
00:58and in a way to make it easier to accommodate client changes?
01:02Well, this is where parenting comes in.
01:03I'll stop my playback and open up the comp, Parenting2_starter.
01:08The first thing to think about when parenting several layers together is who
01:12makes a logical group?
01:13Who is a unit you want to treat together?
01:15For example, the station number 9 and the globe behind it are something that we
01:20want to keep together throughout the animation.
01:23So we're down to the Timeline panel.
01:25We don't need the Mode panel, so I'm going to go ahead and right-click on
01:27that and say Hide This.
01:29But we do want the Parent panel, so I'll just select Columns > Parent and
01:34again the shortcut is Shift+F4.
01:36And there's my Parent column next to my layers.
01:39I want the 9 tied at the globe, so I'll select the 9 layer and change its parent
01:44popup to the planet.
01:47Now when I pick up and move the planet layer, the number 9 will always
01:50come along with it.
01:51Next, we want all of these guys to operate as a group, but we've got all
01:54sorts of things going on in terms of things sliding in and out and moving into corners.
02:00Maybe the planet might make a good parent for this, but I'm not sure.
02:04If you're ever not certain, a fantastic parent is a null object.
02:08A null object is a layer that does not render, but through parenting, is capable
02:13of passing its transformations down to its children.
02:16So I'll go to Layer > New > Null Object.
02:20Nulls are really just special cases of solids, so if I go to Layer > Solid
02:26Settings, I can go ahead and rename the null.
02:29in this case I'll call it Title Parent Null, okay.
02:35Its default color is red, which is not very visible against my red background,
02:38so I'm going to change its color to something more visible such as say green,
02:43which should give us some contrast.
02:44There's something very important to null objects is that their anchor point
02:48defaults to their upper left corner, not the center of the layer.
02:53If you've watched the After Effects Apprentice Advanced Animation course, you
02:56know the anchor point is extraordinarily important because it's the center of
03:00all transformations, such as Position, Scale, Rotation.
03:04While I'm parenting where children are inheriting transformations from their
03:07parent, that anchor point becomes even more important.
03:11So question is where would we like the center of all of our transformations to be?
03:15Well, maybe centering things around that globe would be a great idea.
03:18I can either pick up and move the null object where I think it should be, as I
03:22have done here, or even better would be to select planet, type P to reveal its
03:27Position, select the word Position, and copy to get its value.
03:31Then go to my parent null, P for its Position, and Command+V to Ctrl+V paste to
03:37make sure it has exactly the same Position as center of the planet.
03:40That way, if we parent the planet to the null, the planet won't go drifting off
03:45center if we scale that null object.
03:48Okay, next let's go ahead and make our children assignments.
03:50So I'm going to select planet and Shift+Click on the Season Finale layer.
03:54That will select all the layers between the one I have currently selected
03:57and the one I click on.
03:58Now that they're all selected, I just need to change to parent for one of them.
04:02I'll use the pickwhip in this case to select Title Parent Null, release, and
04:07you'll see now that all of them have been changed to use that parent.
04:11Close this up a little bit.
04:13Okay, we have our parent-child assignments. Now let's do some keyframing.
04:16I already have my layers arranged in one pose that I like.
04:19So I'm going to go to a point in time where I want that pose to be held at 2
04:23seconds and use this as a point to enable keyframing.
04:27I want this whole group to move down in the left corner and maybe be
04:30scaled differently.
04:31Since they are all parented to the null, I don't need to keyframe each of the
04:34components individually.
04:36I just need to keyframe the parent individually.
04:38So I'll select Title Parent Null.
04:40I have revealed Position already.
04:42I'll type Shift+S to also reveal Scale and I'll enable keyframing for
04:46Position and Scale.
04:48Now I'll move a little bit later in time, say around 2:15, and decide on a new Position
04:53and Scale for these layers.
04:55Let's say I want them to be bigger, that I want my little bug and the word
04:58TOMORROW to be larger in the frame.
05:00I'm going to go ahead and increase the Scale here to say maybe around 150% and
05:06notice that everyone gets larger.
05:07That's because they're all tied to this parent.
05:10Now normally you would say, Chris, going over 100% is not a good idea for Scale.
05:15Well, here is as important concept of parenting.
05:17The Scale of the parent is also multiplied by the Scale of the children to
05:22determine their final Scale.
05:25In the case of the planet, I'm going to type S for Scale,
05:28its original Scale value was 40%.
05:30So 40% times 150% gives just 60% Scale for the planet.
05:37Safely underneath a 100, not blowing up the pixels, no damage is being done.
05:42So that's one advantage of parenting.
05:44These two are factored together or collapsed or concatenated.
05:48Since my other layers are text layers, 9, TOMORROW, and Season Finale, and they
05:54are all continuously rasterized, which means they automatically redraw
05:58themselves to stay sharp,
05:59I don't need to worry about their Scale.
06:02Okay, I have got a larger Scale value. Now I want to position things.
06:06Since this is being designed for broadcast television, I need to worry about
06:10the Title and Action Safe areas around the edges of a TV screen, where the
06:14bezel is, etcetera.
06:16To view where these are, I go to my Grid and Guide options and
06:20enable Title/Action Safe.
06:22You can also just press the apostrophe key on the keyboard.
06:24I want to move this group down at the lower left corner.
06:27I need to keep my text inside the inner Title Safe area and this is now going
06:33to fade off Season Finale eventually.
06:34I don't care where it ends up.
06:36I click anywhere inside my null object. It's my parent.
06:39When I drag it, the whole group gets dragged.
06:41So I'm going to select number 9 carefully within Title Safe.
06:45I notice that my planet is still safely inside Action Safe, so I don't need to
06:49worry about TV bezel cutting that off.
06:51Life is good and now I have my initial animation.
06:54everyone scales up and moves into the corner as a group.
06:57I only need to make one set of keyframes for the title, not for all of
07:01the component layers.
07:03Just for fun, I'll press 0 on the numeric keypad to RAM preview.
07:09And there is my final move.
07:11That final landing is a bit hard for my taste.
07:14So I think I'm going to select those keyframes, right-click, Keyframe Assistant
07:19> Easy Ease In, just to make them land a little more softly.
07:25That's a little bit more elegant. I prefer that.
07:28Okay, I have got the whole group animating the way I like, but now I can go
07:32make the children animate independently.
07:35Now an obvious problem is that Season Finale gets shelved off of the left side and
07:40kind of just maybe outside action safe, but I don't really trust it.
07:43So let's go ahead and fade that out.
07:45Remember nothing you do to children are passed along to the parent, and
07:48regardless, Opacity is not passed between parent and children either.
07:52So I'm going to go just 2 seconds.
07:53I can hold Shift while dragging the Time Indicator to snap that point in time,
07:57go to Season Finale, T for Opacity, enable keyframing.
08:01I'm going to use a keyboard shortcut K to jump to the next keyframe and
08:05then fade it down to 0.
08:07And I preview again.
08:09Now it faded away as my bug and the word TOMORROW shifts into position.
08:17Quick and easy animation made a lot easier, thanks to using null objects and parenting.
08:21Of course, you can do a lot further with this.
08:23I can add whatever animation I wanted to the children without ruining the
08:26animation being done by the parent.
08:29And indeed, in one of the Idea Corner movies later on in this lesson I'm
08:32going to show you some ideas of how maybe spice this up, animate the title on, etcetera.
08:37But for now, I want you to this concept of parenting saves on keyframing.
08:42Null objects make great parents because they're kind of like neutral third
08:45parties, where you needn't worry about who is rotating who, etcetera.
Collapse this transcript
Working with geometric constructs
00:07The next trick I'd like to show you is how to use a combination of parenting and
00:10null objects to quickly and easily create what would otherwise be complex
00:14geometric structures.
00:16This particular trick is not in the After Effects Apprentice book, but don't worry. [00:00:120.27] You can use any source for it.
00:21I want to go up to Composition > New Composition. I'm going to pick some preset
00:26that happens to have Square Pixels.
00:28This just removes any pixel aspect distortion for what you see.
00:32It's not required what I am doing and I'll give it a name such as
00:35Parenting-construct and click OK.
00:40You can use the any layer for this trick.
00:42I'm just going to use a text layer just for fun.
00:44Now I'll type in any nonsense word such as geometric.
00:48I can pick whatever font that I want, or in this case it may be fun to use a
00:52symbol font such as say, look down further in the list here, Zapf Dingbats or one
01:00of the Wingdings fonts.
01:01That way you get all sorts of interesting strange looks.
01:04I use the up and down cursor keys to quickly move between these choices. That's Zapf.
01:08Other thing I am going to go with Wingdings just because it's kind of interesting.
01:12And I'm going to make my point size a little bit smaller, because I'm going to
01:15have a whole bunch of these on the screen at the same time.
01:17I'll return to my Selection tool, V is the shortcut, and I'm going to create some
01:22simple animation for this one starter layer.
01:26Maybe I use Scale. S reveals that and Transparency. Shift+T. I'll go up later in
01:32time like 10 frames.
01:34Enable keyframing for Scale and Opacity. This will be my final resting spot.
01:38Go back to 0 and maybe start from a much larger scale and also fade it up during this.
01:45So now I have one layer performing simple animation.
01:48Let's say that I want a wheel of these layers all doing the same thing.
01:53Well, I can create a whole bunch of these layers and rotate them and carefully
01:55position them, or I can use parenting in nulls.
01:58I'll create Layer > New > Null Object to be my parent.
02:03I don't want one particular layer to be my parent here because I don't want all
02:06the other text layers scaling around one of the text layers.
02:09I want everyone scaling around the central null.
02:12Remember that in nulls, the anchor point, the center transformation, is in the
02:16upper left-hand corner.
02:17So if I do any rotation or scale, it's going to be around that center point.
02:20So let's go ahead and move my text in relation to that null object's anchor point.
02:25I can carefully line it up like spokes of a wheel, or I could have fun and
02:30create a little bit of an overlapping look and put it slightly up into the
02:33right of where the anchor point is.
02:36Next is to deciding how many of these layers I want to replicate around my wheel.
02:40Let's say I choose 9 copies of the layers.
02:43So I'll select my geometric text layer.
02:45Again this could be any layer you create.
02:47I am going to go ahead and duplicate it another 8 times, 1, 2, 3, 4, 5, 6, 7, 8,
02:53giving me nine identical layers.
02:56I want all these to eventually be parented to my null object, which of course
03:00I can rename, wheel of text null, but instead of parenting them all at the
03:08same time, I'm going to take advantage of transformations to help me arrange the layers.
03:13So I have got my first text layer where I wanted, I'll parent it now, but I want the
03:19next layer to be rotated slightly around this wheel.
03:22Rather than rotate the text, I can rotate the parental null.
03:26I'll type R for Rotation and I want nine of these around a circle.
03:32That's 360 degrees like up on a calculator, or I can let After Effects to the
03:38math for me. 360/9, Enter, is 40 degrees.
03:46Great! I didn't have to do any math myself.
03:48I'm going to actually copy that number so I can use it for the offset later on.
03:54I'll parent to my second text layer to that null and say take that value +
04:00another 40 degrees. 80 degrees, great!
04:04Parent another one.
04:05Select it again. Plus, if I forget what my value is, I'll just paste in the value I
04:10copied earlier, great!
04:12There is another one, parent that, and obviously just keep going around this wheel.
04:18And I'll do this quickly for you, because seeing someone else type in and do
04:23math can otherwise be pretty boring, but you can see how rather than having to
04:29position all these layers by hand or try to do some sort of tricky alignment and
04:33distribute or anything like that, I am using a null object to help me arrange my
04:40layers ahead of time.
04:44And that should be my last one, great!
04:47So there are my nine layers around my null.
04:50I'll turn off the video switch for the nulls so it doesn't distract me. Put this
04:52back to 0 and now as I rotate that null object, all of those layers rotate
04:58around my wheel for me.
04:59And remember, I created an animation for one of those layers to begin with. So I'll go back to 0.
05:06As I slowly scrub my time indicator you can see that all those layers scale down
05:12and fade up together.
05:13That's because I did my transform animation before I did any parenting and
05:19before I duplicated all these layers.
05:21Every time I duplicated the layer, it got the same keyframes as the layer
05:25that I was duplicating.
05:26Let's create a little animation just for fun here, keyframe Rotation there, go
05:31to the end, may be give it something simple like one rotation.
05:37I suspect this is going to be better with Motion Blur, so I'll Enable
05:40Motion Blur for the comp.
05:41And not for the null parent.
05:43That won't do anything, but I will do it for all of my other layers.
05:47So I RAM Preview and you see they come into position and keep rotating.
05:57Now one thing that will make your life easier is if you can do all of your
06:00animations to one object before you duplicate it and parent it.
06:05That way you won't have to copy and paste a lot of keyframes later.
06:08You'll find it will be particularly hard to line up your position
06:10keyframes after the effect.
06:12So try to plan ahead if at all possible.
06:14However, another really cool thing about text is that you can apply animation
06:19presets after the fact as well.
06:20I'm going to go back to my Home and I'll press U to reveal all their keyframes.
06:26I'm going to go to where I have the layers fully on and fully opaque and I'm
06:31actually going to go ahead and drag down and turn off the Animation stopwatch
06:35for all those animations, because instead of using a transform animation, I can
06:39apply a text animation after the fact.
06:43Text animations do not rely on transformations.
06:48Therefore, I can apply them to a layer. They're going to happen locally to
06:51the child and not realize they're being dragged around by a parent or
06:55otherwise being transformed.
06:56Go to my Effects & Presets > Animation Presets.
06:59Again I could browse if I wanted to, but I already know what I'm after.
07:03I want to go into the Text category, Curves and Spins, which is kind of a fun
07:07set, and I'm going to pick Whirl In.
07:10I have got all of my text layers selected.
07:11Double-click Whirl In.
07:12They will all get that animation.
07:15Oh, look what I did!
07:16I have my Current Time Indicator, so rather than start at the comp, my first
07:20keyframe's not going to be till here.
07:21That's all right. I'll undo.
07:22Go back to 0 and double-click again.
07:26Now I'll press 0 to RAM Preview and you can see this really fun geometric
07:30construct I have of an animation preset being applied to each of these children
07:35text layers around the central parent. And that's a lot of fun.
07:42In the next chapter, we're going to move onto more complex trick, creating
07:46anthropomorphic behaviors by creating a chain of parent child relationships.
Collapse this transcript
2. Parenting 201: Anthropomorphic Animations
Preparing files
00:07If you have the exercise files that came with these videos for this chapter open
00:11up the project AEA_Parenting_201.aep.
00:16This particular exercise was not part of After Effects Apprentice.
00:19It was actually included in an earlier book of ours called After Effects in Production.
00:23But we thought it would be useful to show it to you here.
00:25Open up Finished Movies and double-click the movie RoboTV-final.
00:30If you're using After Effects CS4, hold down Option on Mac or Alt on Windows to
00:34open it in this Footage panel.
00:36This is the final composition you'll be building,and let's RAM preview it briefly.
00:40(Whir, whir, whir)
00:52This robot arm was animated inside After Effects using parenting.
00:56Each link of the arm is actually an independent layer that we tied together in a
01:00parent-child relationship and then animated as a unit.
01:03Let's start by taking a look at how something like this may be built.
01:06I am going to switch over to Photoshop where I have it as a layered file.
01:09I'll turn off all the layers to start with.
01:12Here is the outer frame.
01:13Here is the large arm, carefully centered on this focal point.
01:17Here's the medium arm and here is the small arm.
01:20This particular object was built in a 3D program, although it could be built
01:24in something like Photoshop, Illustrator, or even in After Effects using Shape layers.
01:29If you're using a 3D program, make sure you use a very narrow angle of view
01:33equivalent of a zoom lens and move the camera very far back in space.
01:37That way, you'll reduce perspective distortion, which will make this easier to work with.
01:41You might have noticed that all of the arm pieces are lined up in a
01:44perfectly straight line.
01:46You may have seen other models from 3D programs where the characters have their
01:50arms straight out at angles. Starting points like this with something like 0 degrees
01:55Offset is what makes it much easier for you to build relationships between
01:59multiple layers later on.
02:01I'll return to After Effects, select Comps as that's what I want to build my
02:05own new composition in, and type Command+I on Mac or Ctrl+I on Windows to import a file.
02:12If you have the Exercise Files, navigate to the Sources folder and
02:16select RoboBody.psd.
02:19This is the layered Photoshop file I just showed you.
02:22Import this file as a composition and retain layer sizes.
02:27This will automatically crop the individual layers just down to the amount of
02:30space needed for them, which will make it more efficient to handle.
02:34Click Open. You'll get a second Photoshop dialog.
02:37For Layer Options I tend to turn on Editable Layers Styles.
02:41That way, if someone created this in Photoshop using layer styles, we will maintain
02:45them and be able to edit them later in After Effects.
02:48For this particular model, Live Photoshop 3D is not necessary because I didn't
02:51actually make a 3D object in Photoshop. This was just flat art.
02:55So it doesn't matter whether this is off or on.
02:57Again, make sure Import Kind is set to Retain Layer Sizes or similar wording
03:01in earlier versions.
03:02I'll click OK and two items are created in the Project panel.
03:07One is a folder that contains all of these individual pieces of my Robo frame
03:13and arm pieces and a composition which puts them all together aligned just as
03:19they were in Photoshop.
03:20I'll toggle the Transparency Grid on or off, so you can see what's going on.
03:23I'm going to drag the layers down in the Sources folder just to keep things sorted out.
03:28This composition came in at the document size created in Photoshop.
03:32I'll go ahead and open up the Composition Settings and for now I'm actually
03:36going to change this to the size of my final video output.
03:40Since I'm about to group this together using parenting, I can move it around the
03:43video frame as necessary.
03:45So I'll select NTSC DV.
03:47You'll see that the elements automatically stretch to match the non-square
03:51pixels in this composition.
03:53Last thing I am going to do is verify the duration.
03:55I indeed want a 6 second long composition, so I'll go ahead and keep this duration.
03:59If you've got a different duration, type in 6.0 and that will give you a 6 second length.
04:07Once again, here is our individual pieces:
04:09the frame, large arm, medium arm, small arm.
04:14In the next movie we'll go about connecting all these pieces together.
Collapse this transcript
Building the parenting chain
00:07My next task is connecting together these individual layers in a way to
00:11make animation easier.
00:14For example, if I rotate this medium arm piece, I'd like this little arm piece
00:18to follow along with it.
00:19So I should probably parent the small arm to the medium arm.
00:22Likewise, if I move the big arm and rotate it, I would want these other smaller
00:26arm pieces to follow it.
00:28So at a minimum, I want the medium arm to be parented to the big arm.
00:32However, I would not parent the small arm directly to the big arm. I am going to
00:37leave it as a child to the medium arm.
00:39By creating a parenting hierarchy like this, moving one piece will move children
00:43of children, kind of like the leg bone is connected to the hipbone.
00:47It's the same thing is connecting together your own limbs and that's why it
00:51sometimes is referred to as an anthropomorphic type of animation.
00:55Finally, I like to have all the arm pieces connected to the frame, so if I
00:58pick it up to move it around, all the arm pieces go along with the rest of the mechanism.
01:03However, that's not all I need to think of.
01:05What's also very important is the anchor point for these individual pieces.
01:10I need to carefully think about what center point I want these individual pieces
01:15to rotate our scale around.
01:17For example, I'll select the Small Arm and type R for Rotation.
01:20I'll scrub its Rotation and I really don't want that arm rotating around its center.
01:25That makes no sense.
01:26What I really want it to rotate around is this pivot point right in the middle
01:30of this circle. Likewise for the medium arm and the big arm.
01:34That requires carefully setting up the anchor point, and I highly recommend you
01:38do this before you make your parenting assignments.
01:42If you do it afterwards, you have a chance that your positions and anchor point
01:45is not making as much sense.
01:46So I am going to zoom in to 200%, hold down the Spacebar to temporarily get the
01:51Hand tool, move it down, and I'm going to switch to the Pan Behind tool, which we
01:57sometimes also refer to as the Anchor Point tool. Y is the shortcut.
02:01I want that anchor point to be the middle of this circle.
02:06I'll pick it up and start dragging.
02:08I can just move it freely around and try to position it correctly or after I
02:13have clicked and started moving, I can add the Shift key to restrict my movement
02:17to just X or Y. If I feel that my anchor point is started out centered along
02:22this vertical line, I'll hold down the Shift key and drag it to what I think
02:26should be the center of that rotation.
02:28Let's check it to be sure.
02:30I'll scrub Rotation and make sure that my arm stay centered in that pivot
02:33point and frankly, it looks pretty good.
02:35If necessary, I can nudge it, but that looks like it should work.
02:39I'll undo to get back to 0.
02:41It's really important to have a nice known stable starting position and I'll
02:45move down to the Medium Arm.
02:47I'll type R to reveal its Rotation, hold down the Spacebar, and drag to center
02:51the arm in my viewer, and again it pivots around its natural center point where
02:55the anchor point defaults at 2.
02:57I'll undo, start dragging, then hold the Shift key and drag this into what looks
03:03like it should be roughly the center point.
03:05I'll scrub the Rotation and that's not too bad.
03:10It might be a little bit out around.
03:11So I might try to adjust it.
03:12I am moving it around a little bit here.
03:15See if that looks any better. Not really.
03:18So I just undo and get back to where I was and leave that as its anchor point.
03:22Again, note that I'm using the Pan Behind tool.
03:26This moves the anchor point and position at the same time so that I'm not moving the layer.
03:32I'm just moving the anchor point position's relationship.
03:35Pan down here to the big arm, select it, R for Rotation, with the Pan Behind
03:40tool start dragging anchor point, add the Shift key, and try to center it up and
03:47that looks really good.
03:48Let's practice by rotating.
03:52A little bit out around.
03:53Let's see if we can make that any better by putting it down here. No, that's worse.
03:59I'll make one more shot at this, but I think my initial position might end up being the best.
04:04Nope! That's not around again, so I'll just undo, be happy with that, and I'll go back
04:10down to 100%, re-center.
04:15After I have set up my anchor points, I can return back to the normal Selection
04:18tool and now it's okay to parent.
04:21So just as we said back in the Advanced Animation lesson, set up your anchor
04:24points before you animate.
04:26Same goes for parenting.
04:28Set up your anchor points before parenting.
04:31At this point it is just very simple.
04:32The small arm is connected to the medium arm, the medium arm is connected to the
04:36big arm, and the big arm is connected to the frame.
04:40That way if I move the big arm, everyone follows along. That's nice!
04:46Medium arm moves just the small arm, but not its parent large arm, and the little
04:52arm just moves all by itself.
04:53So it all works out really nicely.
04:55So that's our parenting chain.
04:57Pretty simple to set up.
04:58But before we start animating it, we need to know what we're going to be
05:01animating it in relation to,
05:03what's going to be our timing,
05:04and what positions and space we want this arm to point out.
05:07Now to save your time we've already created a video edit for you.
05:11Go into your Sources folder and open up video edit.
05:15We've already spotted out important parts in the music.
05:17I'll zoom back a little bit here and cut video to go along with the music.
05:21We've also added composition markers that show where each video clip starts.
05:26This will make it easier to set the timing later on, and I'm just going to drag this
05:29outside the Sources folder and close that back up again.
05:33What you still need to do, however, is place a few items of text around the screen
05:37to give you something to aim the robot arm at.
Collapse this transcript
Arranging the frame
00:07To save you some time I went ahead and built this video edit in time to my music.
00:12Now I want to treat this entire composition as one element in my final
00:17RoboBody composition.
00:20Again, we'll be covering this a lot more in a future lesson, but all I need
00:22to do is find my video edit composition,. I am going to move it up to Comps so
00:26I keep track of it.
00:27I'm going to drag it down to the bottom of my layer stack, so it appears behind everybody.
00:32You'll notice that those composition markers that I placed have now come in
00:36as layer markers for this layer. That's great.
00:39And grab that video layer, position it behind the frame, type S to reveal the
00:44Scale, scale it down a little more tightly inside the frame.
00:50That's okay.
00:51Let's go ahead and look at it later in time, see how my framing works out.
00:55Now the skydiving footage does have little bit of vignetting going around on these corners.
01:00So I want to make sure I don't bring that in.
01:02So let's go ahead and cheat it a little bit in that direction.
01:05Let's make sure it looks good for the rest of the clips.
01:08I don't mind it being a little lower.
01:11So let's go ahead and drag it down, later.
01:14A little vignetting issue there.
01:17That should work pretty well.
01:20Note again, my composition markers came forward, but none of the individual
01:25layer markers that I placed on the music soundtrack came forward.
01:28I'd still like to have access to those to time my robotic arm movements.
01:33What I can do is simply go back to the video edit comp, select the Music layer
01:37with all of its markers, Copy, go to RoboBody, and Paste.
01:44And now I have got my music track with all of those individual markers.
01:48However, there is something to watch out for.
01:50I have got the music in this composition and I have the music in the prior composition.
01:56I don't want two layers of music playing at the same time.
01:59They will add together, they will be too loud, and they will be distorted.
02:02So I can either turn off the Audio switch for that nested composition or I
02:10could go back to that comp, leave the Audio on because I still want to preview
02:13and edit in context, but take advantage of a nice little feature in After
02:17Effects called Layer > Guide Layer.
02:20A guide layer is only audible or visible inside the current composition.
02:27It will not appear further down the chain.
02:29So I go back to RoboBody.
02:30I don't even need to worry about the Audio switch, because it won't carry
02:34through to my next composition.
02:36Okay, I have the time element sorted out.
02:38I know where my video clips start.
02:40I know where all the important beats of my music are.
02:41The next thing I need to worry about are my spatial cues. Where do I want this
02:45arm to reach in space?
02:47For that, I am going to create a couple of words describing each of these sports.
02:52So I'll select my Text tool.
02:54It automatically opens up the Character and Paragraph panels. I'll go ahead
02:59and left align my text.
03:00I'm going to pick a different font such as one that Adobe supplies with After
03:05Effects like Minion Pro. Place the cursor, start typing.
03:13I'll start with a bullet, which you get by holding Option on Mac and then typing 8,
03:16space, snowboarding, and that's a little bit on the wimpy side.
03:22So let's go ahead and massage our type to look good before we create any more of these titles.
03:26I think I want it to be a little bit bigger. That looks nicer!
03:30Let's see what additional weights I have in this family.
03:33That was something a little bit heavier like Semibold and maybe even something
03:36with little bit of a movement to it like Italic might look nice.
03:41I have got movement in my video and I have got movement in my type and white
03:45type is frankly boring.
03:46Let's see what we've got here.
03:48I am seeing a common color here.
03:51I'm seeing the wood of the snowboard.
03:53I am seeing the wood of the skateboard ramps and the street circuit.
03:58I'm seeing the brown ground underneath.
04:00I think I'll pick one of those colors to be my starting-off type color.
04:05Maybe something like in that range.
04:08I can always adjust this later, but this is a good starting point.
04:11Now that I have set up my type with my font, my font style, and weight, my point
04:15size, and my color, any new words I create will all have that styling.
04:20I'm going to press Enter to make sure that this line of type is accepted, place
04:24my cursor, and start typing another line such as Vertical Ramp, Street Style,
04:36another skateboarding type, and down in here Skydiving, and I'll press V to
04:45return to Selection tool.
04:47I can make them in a nice arc like this, or I can have a bit of fun and go ahead
04:52and move them in and out a little bit like maybe something like this.
04:57I want to make sure I stay inside video action and title safe.
05:00So I'll go ahead and toggle on by Title/Action Safe grid. Oops!
05:04I have got that word outside of title safe.
05:07So I bring it in, bring it in, make it a little bit better spaced in
05:11that direction, okay.
05:12Finally, for the sake of neatness, maybe I want these evenly spaced.
05:17So I am going to pick out where I want my lowest title to be.
05:21Maybe this far down.
05:22That's my lowest title.
05:24I'm going to select all of my other text and I'm going to take advantage of the
05:29Align panel to go ahead and distribute these in space.
05:33I'll choose the tool to vertically center their distribution and now these
05:38additional layers will be spread out nicely.
05:40I don't like how that looks. I'll click off, select skydiving, move it a little bit higher.
05:45I think it's a little bit too low there. Select my other layers, Distribute
05:50again, and that's a better spacing.
05:53Okay, I know where I want the arm to move in time.
05:56I know where I want the arm to move in space.
05:58Finally, let's go animate that arm.
06:00That's what we'll do in the next movie.
Collapse this transcript
Animating the arm
00:07Okay, time for the payoff.
00:09Animating this anthropomorphic robot arm to go ahead and reach out to each of
00:15these titles in time with our video edits.
00:18I pressed Home to return to the current time indicator to the very start of the composition.
00:23I'm going to enable Rotation for each of the arm pieces.
00:27I now need to start moving it into position.
00:30Unfortunately with this default parenting setup, you cannot just grab the end of
00:34the arm and move into place, because none of the other pieces are going to
00:37follow along with it.
00:38To do that would require something known as Inverse Kinematics.
00:42There are scripts available to do that in After Effects, but that's not the default.
00:46Instead, you need to build stuff from the bottom up.
00:48So say I wanted to setup an initial at-rest position for this arm.
00:52I will need to manually scrub first the Big Arm to get it into place.
00:56Remember, you can hold Command on Mac or Ctrl on Windows to scrub by minor increments.
01:02And let's pull down the Medium Arm to a nice at-rest position like that and
01:06then rotate the small piece back up kind of coiled upon itself. Okay.
01:11I would like to go ahead and point out each of these videos at
01:14one-second intervals.
01:15So boarding at 2, remember our marker. We cut to one skateboarding exercise.
01:23At three we cut to another and at four we cut to the skydiving.
01:27So I'll go to one second and start rotating these individual arm pieces in a
01:34fashion I think might reach up toward the word snowboarding.
01:42Not quite there.
01:43I need to straighten out the arm pieces a little bit.
01:45I'll go like that and I need to pull the Big Arm up a little bit, maybe around there.
01:52And this does require a little bit of work to get it right, but you will get there.
02:00The effort is rewarded when you eventually get something into position.
02:03So there's my first movement for my at- rest position, reaching out to snowboarding.
02:08And I can go head and do a standard reach like that or if I want to have fun I
02:13can give a little bit of flare to this animation.
02:15Let's say that I want to add a little arm piece at the end to do a twirl on the way up.
02:20I'll just simply go to that keyframe, select its Rotation value, and type +360
02:26on to the end, saying I want you to do another rotation.
02:29After Effects will do the math for me.
02:31I'll press Enter and now it will do a little unfurl for me as it gets up into position.
02:37And that's a more fun animation. I like that.
02:40Okay, once I have hit that pose, I want to hold it for a few frames to point out that title.
02:45So let's look at these markers in the music to decide how long to hold.
02:48So one of these bass notes that I have marked, it happens at seven frames later in
02:52time than that rhythmic chugger I barked out.
02:55That might be a good whole duration because then the new bass note will motivate
02:59the arm to keep moving.
03:00To set another keyframe at the current value, I just need to drag my cursor down
03:04at the Add Keyframe switch and there's those keyframes.
03:09I'll go to two seconds where the video changes and let's move the arm into
03:13another position to then touch vertical ramp.
03:16As I start to scrub, you'll see all parts of the arm move at once.
03:19That's because I had to have all the arm pieces selected.
03:21Remember to go ahead and select just the piece you want to rotate.
03:25So I'll go there, move back to my medium piece, and rotate up my small piece.
03:34Not quite there, so let's reach it up a little bit higher, reach back, close.
03:36Command or Ctrl for fine increment scrubbing. Down like that and over like that.
03:46I'm going to go ahead and preview this animation. That works!
03:51Might be a little bit boring after everything else I have done here, so let's
03:54go ahead and make the little piece rotate 360 degrees in the other direction to hit this point.
04:01So it will come away, going to a back-rotate like that.
04:05So forward-rotate, back-rotate, that's fun.
04:09Okay, so let's find another hit point here.
04:12Here's another one, seven or eight frames later in time.
04:15By the way, a lot of music is structured around factors of two.
04:19So if my main chugga's are 30 frames or one second apart, I expect another
04:26subdivision to be at 15 frames apart, and another subdivision to be in seven and
04:31a half frames apart, between seven and eight.
04:33This time it worked out at seven.
04:35I have marked something at eight.
04:36You can see how this rhythm is playing out.
04:39I'll drag down a keyframe there, go to 3 seconds, and move into a new position
04:48to go ahead and point out my other title.
04:52I need to fold up a little bit to get to this one.
04:54Yeah, I need to come up a little tighter there.
04:59And by the way, there is no one right solution to this.
05:04Every time I do this exercise myself, I come up with a slightly
05:08different solution. And that's okay.
05:10That's where creativity comes in.
05:12You have a bit of fun.
05:16In honor of keeping that Small Arm interesting, I'll make him rotate 360 forward again.
05:21See how that looks. Rotate and hit.
05:23That's fun.
05:24I'm going to go another seven or eight frames in time just to go ahead and keep
05:27the same spacing of my keyframes.
05:30Mark those out, and finally go to four seconds and come up with another
05:34position for skydiving.
05:36And let's go ahead and put the arm here, maybe bend the medium piece down
05:41further, and pull the small piece back.
05:44Okay, so I need to pull the large piece up.
05:46A kind of visual puzzle here to make this work. Here we go!
05:51I'll pull Medium Arm down, rotate the Small Arm over, and now I have got that text hit.
06:00And I have got a rhythm going here.
06:01So let's go ahead and rotate 360 degrees backwards for the Small Arm.
06:06So it does a little back flip there.
06:11Next hit eight frames later.
06:12Same rhythm going here. Add Keyframes.
06:17And for the very end of my composition, I'm going to press Minus to zoom back in time.
06:21I need to come at rest again. Maybe I'll come to rest at this last
06:24little rattle right here.
06:26Let's say that I want the arm to go back to its at-rest position where it started.
06:30That's very simple to do.
06:31I'll select its starting keyframe, copy, and then immediately with my time
06:38marker in place, do Paste, and it will paste the value I just copied to the current time.
06:44I'll do the same thing for this layer.
06:46Select, copy, paste. Select, copy, paste.
06:51So now my arm will end up back at rest.
06:55And that's kind of a boring movement again, so let's have that funnel arm do
07:01one more twirl, +360 Rotate.
07:08Bang! Now let's RAM preview.
07:10(Whir, whir, whir)
07:23That was kind of fun, wasn't that?
07:25Now obviously, there's a lot more you can do with this.
07:27And indeed in the Idea Corner chapter that comes next, I'll show you some tweaks
07:31I might make to this particular animation.
07:33But this gives you the basic idea of how to link together components of an arm,
07:38kind of mimicking maybe a human or not quite human chain.
07:41And once they've been put together, animating them in a way to go ahead
07:45and create these complex movements that only require you doing some simple rotations.
07:50Notice that I did not have to animate the positions of any of these arms.
07:53They kept the same relationship to each other, once I have set up my parenting chain.
Collapse this transcript
3. Idea Corners
Animating titles
00:08You created this animated opening title in a movie earlier in this lesson.
00:12Well, it's okay but we can make it a lot fancier and that's what I would like to
00:16show you in this Idea Corner.
00:18Now, what I am already doing is using a null object to move all the title
00:22elements as a group from their initial position off into this corner.
00:27Since I'm done with that particular movement,
00:29I don't have a need to see that null object anymore,
00:31I am going to turn off the video switch for the null.
00:35Null objects don't render any way. They don't give you a render time hit.
00:39They will never appear on the screen. It's just a matter of reducing clutter at our display.
00:43Next, I don't like everyone being on at the same time because I'm forcing the
00:47viewer to process all this visual information at the same time.
00:50To lead them from one item to the next, I might stagger their appearance.
00:54For example, I might decide that I do indeed want my station number and my bug
00:59to be on from the very beginning of the composition. That's fine.
01:02Then I want them to start reading about my program.
01:04Since I already have a fade out keyframed for Season Finale, I don't want to
01:08pick up and move the layer, as that would move the keyframes as well.
01:12So in this case, I will just select it, go to the correct time, hold on Option
01:16on Mac, Alt on Windows, press the left square bracket, and trim it to start at 15 frames.
01:22Okay, maybe 15 frames or a half second after that
01:25I now want my next element to come on.
01:26When my show is going to be, so I have got them reading my station, Season
01:30Finale, day that it's on.
01:32In this case, I don't have any keyframes yet for Tomorrow, so I will just
01:35press the left square bracket without any modifier keys and now that whole
01:39layer will slide back.
01:40So, here is my stagger. The bug, Season Finale, name of show, people animate into
01:46position. Zero to RAM preview and this is what it looks like at speed.
01:51Okay, I have given the viewer some important clues about how to read this title
01:55but now let's make things more exciting, have them animate on.
01:57I will stop my playback.
02:01Let's say I want my Season Finale to slide in from the side rather then just popping on.
02:05I want it to be all the way on by the time our next element comes on, so I'll
02:09hold down the Shift key and my time marker will snap to the start of this layer.
02:12Select Season Finale.
02:14Type Shift+P to also reveal its position.
02:17Okay, this is my at rest position. I will enable keyframing here and now let's pick
02:21an initial position for it.
02:22Hold down Shift key and drag, snaps into position, and now I will just scrub
02:28Season Finale's position.
02:29So, it starts off screen.
02:32Now it will slam into position and then my title comes up.
02:35But it's a bit boring and a bit sudden, so let's add some sort of text animation to it.
02:41In the previous After Effects Apprentice lesson on Type and Music, you have
02:44learned how to create your own type animations but for the sake of expediency,
02:47let's go ahead and use a preset.
02:48I will select Tomorrow. I can either browse my presets in Adobe Bridge or I
02:55already know which one I want.
02:56I am going to go down to Animation Presets > Text > Animate In and I am going
03:02to use this particular animation called Random Shuffle In. There it is.
03:07Now, before I apply an animation preset, I need to make sure my current time
03:11indicator is where I want the animation to start, because remember when you apply
03:15a preset, the first keyframe goes at your current time.
03:18So, hold down Shift and snap to beginning of my layer, make sure the
03:21Tomorrow layer is selected, and double-click Random Shuffle In to apply that animation preset.
03:27With the layer selected, I will type UU to see what properties have changed and
03:32I will drag the current time indicator to watch the animation.
03:34Got a couple of issues here.
03:37One, the text was coming in from the left, which I guess is the same
03:41direction of Season Finale but looks a little bit messy to be honest and two,
03:44it's taking far too long.
03:46Well, it's pretty easy to edit animation presents because after all they are
03:50just normal keyframes.
03:51I will select the second keyframe.
03:53Drag it back to two seconds, which will align with the other keyframes for title parent null.
03:59Also, I am going to play around with the Position offset for these characters.
04:04Move to point in time where my text is in transition and then start to scrub the
04:10position value to get a position that fixes animation better.
04:14Maybe shuffle in from the other side of the screen.
04:17Maybe start completely off-screen.
04:18There is my T in Tomorrow, and I will push it just off-screen.
04:21I can have it come straight on, just like Season Finale came in straight from the left,
04:25 or if I want to tie the title in more to this animation above it maybe I
04:29will go ahead and raise this position so it seems to be coming...
04:32Maybe just a little bit higher, like that.
04:36Do a RAM preview.
04:40Okay, now I have got a nice staggered sequence going on. it slides in, animation
04:45in, slides into final position.
04:46It works okay but I want my things being a little more elegant, a little more smooth.
04:51Notice that everything is defaulting to linear keyframes.
04:54We already used Easy Ease In on the parent's movement, so let's go ahead and try
04:59that on the rest of these.
05:00I am going to type Command+A on Mac, Ctrl+A on Windows to select all my layers
05:04and press U to see just their keyframes.
05:07The first U closes everyone up, the second one reveals them, and I am going to
05:11select my second keyframes in my animations.
05:15I am not going to bother selecting Opacity because you really don't see that
05:19much of a difference when you ease in and ease out of opacity keyframes.
05:22Right-click, Keyframes Assistant > Easy Ease In. RAM preview.
05:31A little bit more elegant, but it still feels herky-jerky to me.
05:34So, maybe another approach would be to overlap these animations so they are
05:38tied together even more.
05:40I will pause my playback and start playing around with moving some of these
05:43keyframes later in time.
05:44Right now, this frame stops animating and the next one starts animating at one second.
05:48Maybe I will press Page Down five times to move forward five frames and just
05:53back off that keyframe five frames later.
05:56Since I had this other keyframe selected, it moved by the same amount.
06:00Now, let's try that animation.
06:06That overlaps feeling a little better.
06:08Things are just little bit more tied. There's not that start and stop motion as
06:11animation. Kind of like that.
06:14The final thing that's annoying me is everything is very strobe-y.
06:16The characters kind of go blop, blop, blop, blop, rather than sliding in.
06:20So, to cure that we'll use our old friend Motion Blur.
06:23I'll stop playback, go to my Motion Blur switch in the Timeline panel, turn it on for
06:28Nine, planet, Tomorrow, and Season Finale.
06:31I can just drag my curser down.
06:33Note that turning on Motion Blur for the parent has no effect because that would
06:38only blur the invisible null.
06:41You need to turn it on for each layer even if it's a child.
06:45That's another thing that's not inherited by parenting.
06:48And finally, I will turn on my master Motion Blur for the whole composition.
06:52One last RAM preview. I can already see from the preview that things are sliding
06:58in much nicer here, not too strobe-y and things tie in a bit better. And there's
07:02my improved title animation aided by parenting.
Collapse this transcript
RoboTV: Keyframe interpolation
00:07In this Idea Corner I want to go through the process of refining and improving
00:11this RoboTV animation.
00:13Now keep in mind there is no one right solution.
00:18However, the general principles remain the same.
00:20The first thing I'm going to do is preview this a few times and just see what I
00:23like and what I don't like about the current animation.
00:26I press to 0 on the numeric keypad for RAM Preview.
00:29(Whir, whir, whir)
00:47A few things stand out to me.
00:49One is that I'm not entirely happy the arm's movements.
00:52For one it's a lot slower through here and at the end than it is in-between,
00:58hitting the individual bullet points.
00:59So I'm going to do something about that.
01:02Two is at this type just sits there. It feels to me like it should be animating on
01:07and perhaps even doing something special like hitting every time to the arm
01:11comes to one piece of type.
01:13Third, I'm missing the background.
01:15I need to put something behind here.
01:17Hopefully, something that ties in a bit with some of the things I see inside the video.
01:21You see a lot of squares, a plywood, and lands. That gives me an idea.
01:25Finally, I want to make sure that everything is nice and readable.
01:28For example, this text is not entirely readable over this robot arm.
01:32So I might want to improve that as well.
01:34So let's go tackle these.
01:35My first problem is the arm's movement.
01:38I have a longer period of time at the start and end phase than I do in-between words.
01:45There is a couple of ways I can speed up the arm's movement in there.
01:48One is I might grab this last set of the keyframes and just move them earlier in time.
01:52For example, maybe to punctuate that particular base note.
01:55So I am going to select these keyframes, start dragging, add the Shift key, and
02:01now they will snap to that particular beat.
02:03Now that duration looks roughly the same as this duration.
02:06I'll RAM preview again.
02:08(Whir, whir, whir)
02:15Yeah, I do like that timing better.
02:17Next, I would like to make the movement of this arm more realistic.
02:21My first job out of college was actually programming assembly line robots and I
02:25know that these big heavy arms do not start and stop instantaneously.
02:30They have a lot of mass to them so they come into there final resting place
02:33slowly to make sure they hit there mark and there is a little bit inertia as they
02:37leave a spot as well.
02:38However, as you see down here in the Timeline panel, the default keyframe type in
02:42After Effects is all linear, which means sudden starts and stops.
02:46So let's refine that.
02:48To do this we should head into the Graph Editor.
02:50We cover this back in the After Effects Apprentice Advance Animation lesson.
02:55I'll go ahead and click Rotation for the Small Arm, then Shift-click on Rotation
02:59for Medium and Big Arm to get them all up at the same time.
03:03And you can see that these straight lines indicate constant speed in-between the keyframes.
03:10Well, let's change that.
03:11I'm going to start by selecting all of those keyframes by dragging a marquee
03:15around them and I'll start with the instant gratification trick of using
03:19Easy Ease keyframes.
03:20There is actually a button for it down here at the bottom of the Graph Editor.
03:23As soon as I click on this, you'll see that all of these curves have changed and
03:27indeed we're now slowly coming out of this value changes.
03:31That's what the flatness at the top indicates.
03:33Changing value more quickly in the middle and slowly coming into the next value.
03:39I can talk about it or I can preview it so you can see it.
03:41(Whir, whir, whir)
03:50Just that little bit of easing I think has helped quite a bit.
03:53But I'm going to push this one step further.
03:55As I mentioned earlier, the robot arms need to come into their stop position more
03:59slowly to make sure they don't miss the spot.
04:02So they don't jiggle back and forth.
04:04However, they're able to leave a spot very quickly. They don't care about
04:07precision at that point.
04:08So to better mimic that I want to click off to lose my current selection and
04:12drag marquees just around the keyframes that exit those held positions at each
04:18word, hold down the Shift key, select those keyframes, hold down Shift, select
04:23those, and select those as well.
04:26Now that I have all of those exit keyframes selected, I could either drag the
04:30influence handle for one of them and this will shorten the influence for all
04:34my selected keyframes.
04:36If I do have a problem, I drag up or down.
04:38I can hold the Shift key to make it come straight in and out of the keyframes.
04:41O r again I could just take advantage of these buttons at the bottom of the Graph Editor.
04:46For example, for Auto Bezier which does give a little bit of rounding to my velocity.
04:50I'll click on that and you'll see how the curves have changed slightly.
04:54They still come into keyframes slowly, but now they exit keyframes more quickly.
05:00You'll see something very similar if I choose linear keyframes as well.
05:02The handles go away, the curves are very similar, but I am going to stick
05:06with Auto Bezier just to get that little bit of extra rounding come out of these keyframes.
05:10Let's RAM preview again.
05:12(Whir, whir, whir)
05:19Well, now I have got a problem.
05:20I have got this very awkward overshoot as I try to land on each word.
05:25Again, if you look closely at what's going on the Graph Editor, you'll see
05:28exactly what the problem is.
05:30There is a little keyframes influence handle coming into each of these keyframes
05:36and that is what's causing this overshoot behavior.
05:39You'll see we are 341 degrees here, but as we move along here we're overshooting
05:44to almost 346 degrees before landing back at 341.
05:48What we want this robot to do is to hold its position during those seven or
05:52eight frames and indeed that's the answer. Hold keyframes.
05:56So I'm going to marquee around all of the entrance keyframes when we're
06:01landing on a new word.
06:02Again, I am holding down the Shift key to add to my selection and I'll click on the
06:07button at the bottom of a Graph Editor for hold keyframes.
06:11Watch what happens to the curve as soon as I click this button.
06:13You'll notice that these lines have flattened out.
06:16There is still an influence handle coming into that keyframe, but it's being
06:19ignored by the hold behavior coming out of a prior keyframes and indeed we're holding 341
06:25degrees for the entire seven or eight frames.
06:28RAM preview one more time.
06:29(Whir, whir, whir)
06:36That's exactly the behavior we want, just a little bit of velocity change coming
06:40into and leaving keyframes, no wandering, while we are supposed to be holding on
06:44each one of those words.
06:45I click on the Graph Editor Button to go back to the normal view and here are all
06:49our edited keyframes.
Collapse this transcript
RoboTV: Text animation
00:07Next let's animate on our titles.
00:09Our previous After Effects lesson, Type and Music, demonstrated some of the
00:13different techniques for animating type.
00:14I think I'll like to go for cascade to have things spill on to the screen just
00:18as the arm reaches a word.
00:19I'm going to focus on this last word skydiving here and let's get that to
00:23work to my satisfaction.
00:25This is the point where the robot arm hits that word. That's where I want my
00:29animation to finish.
00:30I'll select skydiving, I'll twirl it open, and go Animate > Opacity.
00:37Opacity is one of the key ingredients to our cascade recipe.
00:41In addition to cascading I think I'll like these to be slamming down into position.
00:45So I am going to add the Scale parameter.
00:47Now remember one of the key things of setting up a cascading recipe is you need
00:52to twirl down the Range Selector, go into the Advanced section, and change the
00:56shape to either Ramp Up or Ramp Down.
00:59That's required for a cascading type of animation.
01:01I'm going to reduce the Opacity to 0.
01:03So I see how this is fading off over the course of my selection.
01:08Increase Scale to something large. Maybe somewhere around there.
01:11I could play around this later and start playing around with the Range Selection itself.
01:18If I only want this animation to go over, say, half of the characters, I'll set it at 50%.
01:23For cascade animation I need to animate the Offset property.
01:28Now I do know at this particular point in time I want the animation to be completely on.
01:34That requires an Offset value of 100%.
01:37That means transitioning the entire word on when the animaton is done.
01:41So I'll set a keyframe there, and start thinking about timing.
01:45For how long I want this word to take to come on?
01:48I have mentioned before that the timing in-between our rhythmic chugs is every
01:53second or every 30 frames.
01:56A good timing division are divisions of 2.
01:5815 frames, 7-and-a-half frames.
02:02I am feeling that 7-and-a-half may be pretty quick to bring a whole word on.
02:05So for starters, I'm going to try 15 frames instead.
02:08I'll press the Shift key and press Page Up to jump forward 10 frames in time.
02:13Then press Page Up 5 more frames, 1, 2, 3, 4, 5.
02:15Now I'm going to set my other Offset keyframe.
02:19The first Offset keyframe should be negative at the end, negative your spread
02:24between start and end.
02:25So I'll set this to -50 and now my word is completely off.
02:28Let's RAM preview.
02:31Maybe go back to this previous beat at 3 seconds.
02:35Press B to begin my work area and choose a nice rhythmic end here like at 5 seconds.
02:40I'm actually going to go one frame before.
02:43I like to have a loop in my music right through this section and I don't want to
02:46repeat the beat at 3 and the beat at 5.
02:48So I am going to press N at one frame before. RAM preview.
02:52(Whir, whir, whir)
02:59I like the timing, but I don't like the movement.
03:03It's animating from left to right, but the bullet is at the left end of the word.
03:09I think I need to turn this around to get the impact of the arm and the
03:13bullet hitting together.
03:14Well, that's not too difficult.
03:15You might be tempted to think that all you need to do is play your
03:18animation backwards.
03:19So you can select those, right- click, choose Keyframe Assistant >
03:23Time-Reverse Keyframes.
03:25Well, that doesn't work either because now they are animating off the screen
03:29rather than animating on the screen. That's okay.
03:32You have another ramp shape, Ramp Down.
03:35This will reverse the direction of that animation.
03:38So in addition to having reverse timing you have a reverse direction and now it
03:42snaps down into position.
03:44Preview that quickly.
03:45(Whir, whir, whir)
03:49Perfect! That's what I'm after. It looks good!
03:51Okay, let's make a few more improvements.
03:54For one, I'd like to add blur to my type animation.
03:58It just makes things look kind of nice and elegant.
04:01So go to Property > Blur and I'll increase the Blur amount so that it's soft as it comes down.
04:09Now that I have some Blur and Opacity going on in a shorter selection, I think I
04:13am going to scale up bigger.
04:14So I'm going to increase this in size, make it a more dramatic slap-down, maybe
04:18around there, and there are a couple of more adjustments I'd like to make
04:21underneath More Options.
04:22For one, I want it animating around the center of the characters.
04:27To do that I'll use Grouping Alignment. And we'll scrub that until things look
04:31roughly centered right around there. That looks good.
04:36Maybe just a touch higher like there.
04:40Finally, to really make this thing pop I'm going to take advantage of
04:43Inter-Character Blending.
04:45Since I have overlapping characters in addition to some nice blur, I am going to
04:49go ahead and use a blend mode to highlight the interaction between the
04:53overlapping characters.
04:54I'll try Add and now I have got a nice, bright, hot glow as the characters
04:59come down into place.
05:00I'll preview that one more time.
05:02(Whir, whir, whir)
05:06I like that. It's got some pop to it.
05:08I've animated one line of text.
05:10I'd like to animate all the other lines.
05:12First thing I'm going to do is trim this layer to begin my first keyframe.
05:17So I'm not confused looking at the timeline as to where things start.
05:20I hold on Option on Mac, Alter on Windows, press left square bracket and trim it.
05:24Then with skydiving selected I'm going to press U+U to see what parameters I have edited.
05:30This will tell me what parameters I need to copy to my others text layers.
05:34I edited Grouping Alignment.
05:36I hold Command or Ctrl and also pick Inter-Character Blending.
05:40The whole Animator is new so I'll click on that as well.
05:44Transform Position unique to this layer.
05:46I don't want to copy that.
05:48And Source Text is unique to this layer.
05:49So I don't want to copy those.
05:50I just want to copy these three items.
05:53At this point I could go to Effects & Presets and make an animation preset of
05:58this particular animation we've just created. Or I can just copy these
06:02parameters, Comamnd+C or Ctrl+C, and start to paste it to the other text layers.
06:06So I am going a little earlier time.
06:09Our animation takes 15 frames.
06:11So let's go 15 frames before this hit, 10, 1, 2, 3, 4, 5. Look at that.
06:18It times exactly with the Servo noise. Perfect!
06:20Now press the left square bracket to slide this layer to start that time and
06:26then Command+V or Ctrl+V to paste.
06:28I scrub my time indicator. Perfect!
06:31That's what I want there.
06:32I'll do this quickly for the other layers.
06:34There is that hit 10, 1, 2, 3, 4, 5, left bracket, paste.
06:41Put here 10, 1, 2, 3, 4, 5 left bracket, paste.
06:50Double-click my Work Area to now cover the entire composition and RAM
06:53preview one more time.
06:54(Whir, whir, whir)
07:08Big improvement!
07:10The last tweak I am going to do to my actual movement in this composition is to
07:13add Motion Blur to all the layers at move.
07:16To do that, I'll go to the Motion Blur switch in the Timeline panel and turn it
07:20on for all of my text layers.
07:23Remember you can click-and-drag it vertically to enable multiple layers and
07:27then I'll do the same for the robot arm pieces.
07:29Drag down to get all of those pieces.
07:32You won't actually see or calculate Motion Blur until you also enable it for
07:37all of the composition.
07:38Now you'll see the end of my arms blurring and the text looks even more interesting.
07:42However, that can slow down previews.
07:45If you find this slowing you down too much, you can go ahead and disable the
07:48Motion Blur switch while you continue working.
07:50Since I have a fairly fast computer here, I'll leave it on because I like how it looks.
Collapse this transcript
RoboTV: Finishing touches
00:07Next, let's put in the backgrounds so we have something more interesting
00:09than black to look at.
00:12I'm looking at this so I'm seeing a lot of plywood on this ramp, a lot of
00:18plywood on this street circuit, and a lot of the squares and things have been put together.
00:22I'm seeing squares in the plots of land underneath and of course squares in
00:26the robo frame as well.
00:28So some background layer or texture that echoes this square pattern maybe appropriate.
00:34I'm going to go to my stock footage collection or I can go ahead and create
00:37something in After Effects using one of its plug-ins like Fractal Noise.
00:40It just so happens I have already made a couple of layers I think might be
00:43appropriate, but at the very end of this lesson I'll show you how I made these backgrounds.
00:47One thing I have created is this animated blocky pattern.
00:50We'll play for you that.
00:51And I thought that might be appropriate, given the square patterns and all the
00:55videos I'm playing around with and then the frame itself.
00:58I have a second layer like that I call a lighting layer.
01:02I like things that have smooth, amorphous shadows and highlights because those
01:06help to add mysterious lighting onto any background or any piece of footage.
01:10So I am going to drag blocky behind everybody into the video edit.
01:14It's kind of boring and gray so let's give it a tint.
01:16I'm going to go to Effect > Color Correction, and not use the Tint effect, but
01:22use the Tritone effect.
01:24Tint changes your black and your white points.
01:27Since any color you pick is probably going to be lighter than black or darker
01:31than white, the results tend to be washed out.
01:34I prefer Tritone for this sort of tinting, because it can keep black and white
01:39the same and just change the Midtone.
01:42Just for starters I am going to go ahead and pick something off to this robot arm.
01:45Maybe some desaturated blue as a starting point.
01:47That's not too bad actually.
01:49Maybe little darker.
01:51Maybe a little more saturated just to make it sit down there, around there.
01:56So there is my animated square pattern in the background. Kind of cool.
02:03But it could always be more exciting.
02:05So let's go ahead and go back and choose that lighting layer I created. Put that
02:11on top of my blocky background. Since it's a pattern of blacks and whites
02:16averaging by 50% gray, in cases like this I really like to use modes like
02:21Overlay, Soft Light, and Hard Light.
02:23They help to increase the intensity, saturation, or contrast of an image
02:26balanced round 50% gray.
02:29So I'll start with the Overlay mode.
02:31I will now have some more intense dark and bright areas on my video. This is without.
02:35This is with.
02:36Let's go and RAM preview again.
02:38(Whir, whir, whir)
02:50I think it's little too distracting.
02:52So I think I'm going to make this darker.
02:53I can either play around with the darkness of my mid-point color or I can even
02:59play levels to this and play around with the gamma.
03:01But this gives me a starting point.
03:03Finally, I'm having some readability issues.
03:06This type just isn't standing up so well, particularly when the robot arm is
03:09interacting with it.
03:10I'd like to make the type stand out more.
03:12There is a couple of ways of doing it.
03:14One is to use drop shadows, which I'm sure you're familiar with.
03:17You might have noticed that drop shadows have already been added to these
03:20individual robot arm pieces.
03:22That's how one piece is standing out from another piece and giving it
03:25the illusion of depth.
03:26I also put a drop shadow on this robot frame when I created it so any video
03:31inside has a nice depth as its inset.
03:33But I have not applied drop shadows to my type yet.
03:36So let's choose that. I can either use
03:38Effect > Perspective > Drop Shadow or I actually prefer the look of Layer >
03:45Layer Styles > Drop Shadow.
03:47It gives me more options on how I adjust this particular shadow.
03:52For example, I want to center it.
03:54I am going to put its Distance down to 0, but I do want to increase its size a little bit.
03:59So it does fit out a little bit more and a little bit more darkness.
04:04So it gives me little more contrast to sit away from the background and sit
04:09on top of that arm. Without.
04:12With. Subtle glow, but it helps.
04:14I'll select my Drop Shadow layer style, copy.
04:17I select my other text layers and paste.
04:22Now they all have a nice drop shadow.
04:23That helped the readability.
04:27The text now seems to float off the background, but I still think it can be
04:30more distinguished.
04:31So another thing I'm going to try out is actually to add a stroke to my text.
04:36I normally don't like big obvious strokes.
04:39They tend to look a bit heavy-handed, to be honest.
04:42But simple black stroke, one pixel, and Fill Over Stroke so the stroke is very
04:48thin just around the edges can do a lot just to help give that little stroke to
04:52text make a look nice.
04:53So now I'm going to have stroke that I like, I can go ahead and pick multiple
04:58layers and give them all the same treatment.
05:01Black stroke, 1 point, Fill Over Stroke.
05:05And now my type is a lot more readable.
05:06Now I'm pretty much done.
05:08The only thing left is a little bit of bookkeeping just before I hand this off
05:11to another animator.
05:12I'm going to change the Composition Settings' name to something that's a little
05:15bit better sense, like RoboTV composite.
05:23The last thing I'm going to do is select all my text and also parent that to
05:29the robot arm frame.
05:31The reason I'm doing that is now the text and the arm positions are very intertwined.
05:37If some wanted to pick up and move this frame later on, you'd want the text
05:40move along with it.
05:41Otherwise, things might become misaligned.
05:43Speaking of misaligned, my videos is not moving with the frame.
05:46Well, that's easy to fix.
05:47I am going to parent that to my frame as well and now it can all be picked up
05:52and moved as a group.
05:53This is particularly handy if someone changes a video format, a client comes
05:56along and says scale down a little bit smaller, scale it up larger, etcetera.
06:01Grouping it altogether gives an animator just one object to have to manage to
06:06free arrange the layout in the whole frame. There you go!
06:09That's one set of adjustments to make this video look better.
06:11If you're curious to see what I did on another occasion, you can go to
06:14Comps-Finished and here is a different video sequence and a different RoboTV
06:18that I have created when I was in different mode.
06:20I used some different text.
06:21I spaced the text out more.
06:23I had some different arm movements.
06:24They had a little bit more character to them.
06:26I had a much more extreme scale going on.
06:29Again, there is no one right solution.
06:32However, there are some principles about interest, readability, and elegance
06:37that do apply almost no matter what you're trying to do.
Collapse this transcript
4. Sidebar
Dealing with non-uniform scale issues
00:07In this sidebar I'd like to show you a gotcha that can crop up with
00:10parenting and how to fix it.
00:12You don't need any particular source files.
00:14Anything around will do.
00:16If you were in the first project file that came with this lesson, you can go
00:19ahead and use that planted layer.
00:21If you're in the second project file, I have saved for you a pair of sphere objects.
00:26To demonstrate this I'm going to create a composition, again using a
00:29square pixel preset.
00:31I'm doing that just so you can see the distortion more clearly.
00:34This works at any composition size. And I am going to title it non-uniform scale,
00:40because that's the name of this issue.
00:41I'm going to drag my two spheres into this composition and let's say that I
00:49decided that this sphere will be the parent and this one will be the child and
00:54let's say that my design happens to dictate that this sphere needs to start out distorted.
00:59So I'm going to type S to reveal scale, turn off its Constrain Proportions and
01:04squish it into an oval.
01:05Say so it's roughly half as tall as it is wide.
01:10So you can see what's going on underneath the hood.
01:12I'm also going to reveal the Scale for what's going to become my child sphere.
01:16It sorts out at 100, 100.
01:18I parent this sphere into large copper sphere and watch what happens to the Scale value.
01:24It becomes 100, 200 even though it did not change apparent size in the Comp panel.
01:28Here is what's going on underneath the hood.
01:31Whenever you parent one layer to another, After Effects should not change the
01:36appearance of the child.
01:37However, the parent's transformations and the child's transformations are
01:41factored together to determine the final appearance of the child.
01:45Since the parent was already scaled 50% in Y, under the hood After Effects had
01:50to scale the child by 200% in Y. So 50 times 200 gets back to the original 100% scale.
01:59Convoluted math it may seem, but that's what going on to maintain the original size.
02:03Normally, you can just ignore this.
02:05But what happens if you decide to say rotate this child as well?
02:10As I do so you see something very strange going on.
02:13Basically, the parent is casting a sort of reality distortion field around that child.
02:18You're not rotating a nice sphere; you're rotating something through this distortion.
02:24And obviously this might not be your desired result.
02:27So let's go ahead and undo back to where we started and show you a better solution.
02:33Once again, we are going to use our friend the null object.
02:35I am going to create a Layer > New > Null Object.
02:40Give it a name such as scale correction.
02:43You can give it any name that you want.
02:46Just to I can keep my hierarchy straight, I'm going to put it between the
02:49spheres, because it's going to sit between these two in a parenting chain and
02:53soak up those non-uniform scales.
02:56I want my null to be centered over my parent.
02:58So I am going to select my parent, reveal its position, copy it, and paste onto
03:03the null so that they are centered up. They'll transform from the same position
03:07and type S to reveal the nulls of the scale.
03:11I'm going to attach the null to my intended parent.
03:14You'll see it gets the same scale distortion as we had before, but since null
03:18objects do not render, it's basically soaking up that distortion.
03:22Now I can take my child, parent it to the null, and you will notice its
03:28scale does not change. Well, why is that?
03:31That's because 50 times 200 means that so far through the parenting chain we
03:36have a 100% Y-scale,
03:39therefore no strange distortion needs to be done to the child to make it look
03:43the same in the composition.
03:45The null object has soaked up all of those strange distortions for us.
03:49Now when we rotate the child, it does exactly what we expected to do, no
03:54reality distortion field.
03:56So not only do null objects make fantastic parents when you're creating a
04:00parenting hierarchy, they also make great connectors in-between objects in a
04:05parenting hierarchy to help us soak up these non-uniform distortions and also
04:09just be good things to attach other children on to.
04:11If you ever have something weird happened late at night, remember this movie and
04:15remember this trick.
04:17Use a null in between children to act as a mediator in-between them.
Collapse this transcript
5. Fractal Noise Backgrounds
Setting up
00:07Earlier in this lesson when we had you build this RoboTV composition we gave you
00:11a couple of movies to use as your background.
00:14We gave you this movie which had a nice generic soft curtain of light sort of
00:18feel and we used this as a lighting effect, and we used this movie which had a
00:23very blocky sort of pattern meant to mimic some of the square blocky pattern
00:27that we saw in the other elements in RoboTV.
00:29Well, these were actually created using a plug-in in After Effects known as Fractal Noise.
00:34And Fractal Noise is a good utilitarian plug-in to use.
00:37Therefore, I am going to show you how we created these two backgrounds using the
00:41Fractal Noise effect.
00:43You don't need any source files to do this, because you are just going to use
00:45solids and plug-ins already inside After Effects.
00:49The first thing I'm going to do is create a new composition and you have a few
00:52choices as to what size you make this composition.
00:55You could make it the same size as your final overall composition.
00:58In this case, we are creating an NTSC DV size Comp.
01:01But another approach is just to make some of these textured movies, render them,
01:06and have them around as your own stock footage.
01:08In that case, you might want to create them at a larger size such as an HDTV
01:13size and have those files around that you can pan, zoom, rotate, and otherwise
01:18use as necessary for different projects.
01:20But just to make renders faster, we're going to use this smaller DV size for now.
01:24I'm going to name this fractal noise - soft because the first example I'm going
01:32to show you is this nice generic soft background.
01:35I'm going to make it 6 seconds long, again so it will render fast and
01:38because that was the length of our final composition. I tend to like to make
01:42looping backgrounds at least say 16- 20 seconds long, but we'll do this now
01:48just for expediency.
01:49Inside your comp, either create a new shape layer or a new solid layer as
01:55the size of your composition and I'll name this after the plug-in I'm about to apply.
02:02By the way, the color is not important.
02:04Next, I'm going to apply Effect > Noise & Grain > Fractal Noise.
02:10Fractal Noise and Turbulent Noise are very similar to each other.
02:15Turbulent Noise is actually GPU- accelerated, so in some cases it maybe faster.
02:20It also is set to create a more realistic form of Fractal Noise for those
02:25trying to create natural phenomenon such as smoke and fire.
02:27However, Fractal Noise has the advantage that you can actually force it to make
02:32seamless loops and since we're creating background textures, that's what we're
02:35going to take advantage of here.
02:37So here is Fractal Noise at its default settings.
02:40In the next two movies, we're going to change these settings to create a soft
02:44amorphous lighting type background, plus a stylized geometric blocky background.
02:49We'll also animate them both.
Collapse this transcript
Using soft lighting effects
00:07I have Fractal Noise applied to my layer and initially it looks like I have a
00:11cross between cotton balls, clouds, and I don't know what.
00:16However, it is very customizable.
00:18It also does not animate to start with but we'll also add that later on.
00:22The first thing to look at is your Fractal Type.
00:25This selects different fractal patterns to give you basic starting points for
00:30your fractal explorations, including some different ways of treating the numbers
00:35that are generated underneath the hood.
00:37When I am creating a generic lighting effect, I have personally found Dynamic
00:41Twist to be a really good starting point.
00:44You can see it has more of an interesting sort of fire look to it than the
00:47clouds we started off with.
00:49Secondly, you have the Noise Type pop-up, and again this further defines how
00:54the fractal is being painted on your screen.
00:57Soft Linear is the default.
00:58It tends to have a nice contrast.
01:00Linear has a little bit less contrast.
01:03It doesn't look so good with other fractal types.
01:05It does look good with Dynamic Twist.
01:08There's Block, which we will be playing with later on for that background.
01:11But when I am trying to create some nice soft fading in and out shadows and
01:16bright spots, I happened to like Spline.
01:18Again, it gives me this nice, soft, swirly pattern, which is a good starting
01:23point for creating smooth lighting effects.
01:26But feel free to change any of these to taste later on.
01:28Next, I want to turn this from clouds into curtains, something that's a little
01:32bit longer in dimension.
01:33So I'm going to twirl open the Transform section where I can scale the Fractal
01:38Pattern and I'm going to turn off Uniform Scaling.
01:43That way I can stretch this to be taller than it is wide.
01:48And this is how I start to get my curtains of light sort of effect, and just to
01:53give you a preview of what we're about to do I'm going to go ahead and scrub
01:56the Evolution and you can see how our curtains now move in and out, up and down.
02:00Now right now this is far much too detail for a sort of lighting effect.
02:06It's closer to fire than shadows and highlights.
02:09To reduce the detail you have a couple different choices.
02:12You can reduce Complexity, which is basically how many layers of different noise
02:18patterns are being added on top of each other.
02:191 is just a single layer, 2 is two layers, and so on.
02:26For my lighting effect I'll tend to go between say 2 and 3.
02:30Another option is to go into the Sub Settings.
02:33Sub determines how those additional layers of complexity are mixed into the final result.
02:39Sub Scaling is how large or small those iterations of noise are.
02:45A smaller Sub Scaling creates more detail because it's scaling down, making
02:51tighter or more complex those individual layers.
02:54A higher Sub Scaling reduces complexity, because the individual layers are not
02:59scaled down as much.
03:00They're more similar in size.
03:02Sub Influence controls how those individual letters are mixed together.
03:06If you turn this down to zero, we basically only get one layer again.
03:09But if you start to bring up Sub Influence it determines how those additional
03:14layers of complexity are mixed in.
03:16I am going to go for something around here where I have my soft shadows and highlights.
03:22Not a lot of detail like a fire effect might have.
03:25Next, to make this animate I want keyframes with that Evolution parameter
03:29we're applying with.
03:30I'll scroll down little bit here, turn on Evolution, and I'll go to the end of my
03:34composition and to create a seamless loop I need to go one frame beyond the end
03:40of my comp, therefore I am at a point in time equivalent to the first frame of
03:44my composition, coming back around to the head again.
03:46I'll have this rotate say 2 revolutions of Evolution.
03:52Press zero on the numeric keypad, RAM Preview, and see if I like that speed or not.
03:58If it's too slow I can create more revolutions inside my timeframe. If it's too
04:04fast I can have fewer revolutions or fewer degrees of change, but I like this.
04:10Okay, the next thing you might notice is, "Chris, it's not looping, why?
04:14You put that keyframe where you said I had to put it but it's not seamless."
04:18Well, to make a seamless loop in Fractal Noise there is one more thing you need to do.
04:22You need to open up Evolution Options and turn on Cycle Evolution.
04:28This is what forces Fractal Noise to seamlessly loop and is not available
04:33in Turbulent Noise.
04:35It's bit of a cheat but you know, sometimes we like cheats.
04:39Since I'm evolving two full revolutions for the length of my composition, to
04:43create a more complex pattern I'm going to say don't repeat yourself until
04:46you've gone through two cycles of Evolution.
04:50Now RAM preview and once the buffer gets calculated, we should have a
04:56nice seamless loop.
04:59We'll come around to the very end and come back up to the head
05:02completely seamlessly.
05:04So the nice thing is I could render this movie, import it back into After
05:08Effects or any other program, and loop it for as many times as I want, depending
05:11on what length of background that I need.
05:13The last thing you might play with is just, say, adjust these patterns or
05:18highlights and dark. Like I don't really like this pattern right in here.
05:22I'd like to try to get a different pattern if at all possible.
05:25To do that, I can go ahead and play with the Random Seed.
05:28Let's try some different values and see if I can create a pattern of lights and
05:32darks that I think might be more interesting.
05:34Let's try that one.
05:36Yeah, I think I can live with that pattern.
05:41That's a pretty good background.
05:44You've a lot more parameters inside Fractal Noise, but this is your basic recipe
05:48for creating a nice background lighting effect.
Collapse this transcript
Working with block patterns
00:07Okay. That's one example of Fractal Noise.
00:09I am going to turn that layer off for now, go back to the start of the
00:12composition, and create a brand new solid to create a different Fractal Noise effect.
00:17So I am going to call this fractal noise blocky.
00:23It's the size of my composition.
00:24And just to keep things clear I am going to change the name of my first
00:27example to soft and change the name of my composition to something more
00:34generic, like examples.
00:37Selected my blocky layer and I will apply Effect > Fractal Noise again.
00:42This time I will try out different settings for Fractal Type and Noise Type.
00:46You may remember when we played around with Noise Type there was one called
00:49Block and this is a great head start for that very geometric square-base
00:53pattern we saw earlier.
00:54Now that I have got that basic noise type, I can try different fractal types to
00:59see what sort of contrast do they give me.
01:02Basic gives me some pretty sharp contrast here. Max gives me something that's
01:06just very, very plain, very little detail. Cloudy gives me something that's very
01:11bright and blown out.
01:13I happen to find that threads gives me a nice low contrast subtle blend of colors.
01:19If I want to increase the contrast, I just increase the Contrast value, just to
01:23get some more high values back in.
01:25Now even though we've chosen a noise type of Blocks we still have a very cloudy
01:30sort of pattern and again this is because Complexity is a bit on the high side.
01:35Having a high Complexity is great if you're trying to do things like plasma
01:38rays, fire, things that have a lot of detail to them.
01:41But when you're trying to create background elements, sometimes simpler is better.
01:45To really understand what's happening with this block type, I am going to
01:47turn Complexity all the way down to value of 2 to where there is just 2
01:52layers of Fractal Noise.
01:54This will give me a good opportunity to explore the Sub Settings.
01:58As I mentioned earlier, Sub Scaling is how much each subsequent layer of noise
02:03is being scaled down.
02:04So I chose 50%, my next layer of noise is half the size or twice the detail
02:12of my original layer.
02:13I can now use my Sub Offset to carefully line up these different layers of noise.
02:17Maybe over there and maybe over there and Sub Influence again is the mixture.
02:24Again, to show you what's going on I will put Complexity down to 1, 1 layer,
02:29there is my basic block. 2, 2 layers, one-half the size of the other. 3 will go
02:36down and size it again and now you see it get a lot more detail back in this.
02:38So you get an idea of what's going on here.
02:41Again, Sub Influence is how those sub-layers are mixed together.
02:47You can go for a really neat aligned appearance like this or if you want to
02:51loosen things up, you can go ahead and take the Sub Scaling off of a perfect
02:54number, like say even just like 51 or 52 to where things don't quite line up
02:59and you've introduced some imperfections into the square pattern. Likewise you
03:03can go ahead and play around with the Sub Offset. Go ahead and change how
03:06things line up, so there is some alignment, but some misalignments, a mixture of order and chaos.
03:12You have the same options to animate this.
03:14For example I can use Evolution again.
03:16I will enable keyframing.
03:18Press N to go to the End.
03:20Press Page Down to go one frame past the end to create a seamless loop.
03:24Maybe I will create a slow evolution, just one revolution. Go back home,
03:29twirl-down Evolution Options, and enable Cycle Evolution as well so it's seamless,
03:34and press 0 to RAM preview.
03:36Now that it's calculated, you can now see my pattern of these square blocks fading
03:42in and out over time.
03:45If you want to align the grid better to your frame, you have other options.
03:49In addition to the Sub Settings, you can go back to Transform, you can go ahead
03:52and scale things up or down to try to make them match your edges a little bit,
03:57and maybe use a little bit of Offset position to go ahead and frame it better.
04:03Maybe over there, a little bit of Scale.
04:08And if I need to I can even turn off Uniform Scaling and scale differently in
04:11the X and Y. Back over a little bit there.
04:15I will increase the Contrast now just get some bright areas back and as I
04:19showed you earlier to go ahead and tint this, I can go ahead and apply Color
04:22Correction, something like Tritone.
04:25Change my Midtones. Decide what color I would like.
04:28Something like this blue or purple might be nice.
04:30And I can combine multiple layers of this fractal effect.
04:33I'll put the soft layer back on top, enable it, and rather than using it in its
04:39normal state, I will turn its blending mode into Overlay.
04:43This way I will brighten or darken the underlying layer based on the pattern to
04:48my Fractal Noise around top.
04:50Without my lighting layer, with. 0 to RAM preview and you will see that in
04:55addition to having the square block animation we also have some light and dark
05:00areas traveling throughout this
05:02thanks to the fractal noise soft layer on top.
05:04So those are a couple of quick ways you can use Fractal Noise to create
05:08random backgrounds.
05:10You may not necessarily use these elements on their own, but they create
05:13nice eye candy to blend into other layers to give them certain impressions
05:16for certain fields.
Collapse this transcript


Suggested courses to watch next:


Design in Motion (8h 15m)
Rob Garrott


Are you sure you want to delete this bookmark?

cancel

Bookmark this Tutorial

Name

Description

{0} characters left

Tags

Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading
cancel

bookmark this course

{0} characters left Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading

Error:

go to playlists »

Create new playlist

name:
description:
save cancel

You must be a lynda.com member to watch this video.

Every course in the lynda.com library contains free videos that let you assess the quality of our tutorials before you subscribe—just click on the blue links to watch them. Become a member to access all 98,466 instructional videos.

start free trial learn more

If you are already an active lynda.com member, please log in to access the lynda.com library.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Access to lynda.com videos

Your organization has a limited access membership to the lynda.com library that allows access to only a specific, limited selection of courses.

You don't have access to this video.

You're logged in as an account administrator, but your membership is not active.

Contact a Training Solutions Advisor at 1 (888) 335-9632.

How to access this video.

If this course is one of your five classes, then your class currently isn't in session.

If you want to watch this video and it is not part of your class, upgrade your membership for unlimited access to the full library of 1,893 courses anytime, anywhere.

learn more upgrade

You can always watch the free content included in every course.

Questions? Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com.

You don't have access to this video.

You're logged in as an account administrator, but your membership is no longer active. You can still access reports and account information.

To reactivate your account, contact a Training Solutions Advisor at 1 1 (888) 335-9632.

Need help accessing this video?

You can't access this video from your master administrator account.

Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com for help accessing this video.


site feedback

Thanks for signing up.

We’ll send you a confirmation email shortly.


By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked