Start learning with our library of video tutorials taught by experts. Get started

After Effects Apprentice 07: Parenting
Illustration by John Hersey
Watching:

Dealing with non-uniform scale issues


From:

After Effects Apprentice 07: Parenting

with Chris Meyer and Trish Meyer

Video: Dealing with non-uniform scale issues

In this sidebar I'd like to show you a gotcha that can crop up with parenting and how to fix it. You don't need any particular source files. Anything around will do. If you were in the first project file that came with this lesson, you can go ahead and use that planted layer. If you're in the second project file, I have saved for you a pair of sphere objects. To demonstrate this I'm going to create a composition, again using a square pixel preset. I'm doing that just so you can see the distortion more clearly. This works at any composition size. And I am going to title it non-uniform scale, because that's the name of this issue.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
After Effects Apprentice 07: Parenting
1h 39m Intermediate May 25, 2011 Updated Nov 20, 2012

Viewers: in countries Watching now:

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
Subjects:
Video Motion Graphics Visual Effects
Software:
After Effects
Authors:
Chris Meyer Trish Meyer

Dealing with non-uniform scale issues

In this sidebar I'd like to show you a gotcha that can crop up with parenting and how to fix it. You don't need any particular source files. Anything around will do. If you were in the first project file that came with this lesson, you can go ahead and use that planted layer. If you're in the second project file, I have saved for you a pair of sphere objects. To demonstrate this I'm going to create a composition, again using a square pixel preset. I'm doing that just so you can see the distortion more clearly. This works at any composition size. And I am going to title it non-uniform scale, because that's the name of this issue.

I'm going to drag my two spheres into this composition and let's say that I decided that this sphere will be the parent and this one will be the child and let's say that my design happens to dictate that this sphere needs to start out distorted. So I'm going to type S to reveal scale, turn off its Constrain Proportions and squish it into an oval. Say so it's roughly half as tall as it is wide. So you can see what's going on underneath the hood.

I'm also going to reveal the Scale for what's going to become my child sphere. It sorts out at 100, 100. I parent this sphere into large copper sphere and watch what happens to the Scale value. It becomes 100, 200 even though it did not change apparent size in the Comp panel. Here is what's going on underneath the hood. Whenever you parent one layer to another, After Effects should not change the appearance of the child. However, the parent's transformations and the child's transformations are factored together to determine the final appearance of the child.

Since the parent was already scaled 50% in Y, under the hood After Effects had to scale the child by 200% in Y. So 50 times 200 gets back to the original 100% scale. Convoluted math it may seem, but that's what going on to maintain the original size. Normally, you can just ignore this. But what happens if you decide to say rotate this child as well? As I do so you see something very strange going on. Basically, the parent is casting a sort of reality distortion field around that child.

You're not rotating a nice sphere; you're rotating something through this distortion. And obviously this might not be your desired result. So let's go ahead and undo back to where we started and show you a better solution. Once again, we are going to use our friend the null object. I am going to create a Layer > New > Null Object. Give it a name such as scale correction. You can give it any name that you want. Just to I can keep my hierarchy straight, I'm going to put it between the spheres, because it's going to sit between these two in a parenting chain and soak up those non-uniform scales.

I want my null to be centered over my parent. So I am going to select my parent, reveal its position, copy it, and paste onto the null so that they are centered up. They'll transform from the same position and type S to reveal the nulls of the scale. I'm going to attach the null to my intended parent. You'll see it gets the same scale distortion as we had before, but since null objects do not render, it's basically soaking up that distortion. Now I can take my child, parent it to the null, and you will notice its scale does not change. Well, why is that? That's because 50 times 200 means that so far through the parenting chain we have a 100% Y-scale, therefore no strange distortion needs to be done to the child to make it look the same in the composition.

The null object has soaked up all of those strange distortions for us. Now when we rotate the child, it does exactly what we expected to do, no reality distortion field. So not only do null objects make fantastic parents when you're creating a parenting hierarchy, they also make great connectors in-between objects in a parenting hierarchy to help us soak up these non-uniform distortions and also just be good things to attach other children on to. If you ever have something weird happened late at night, remember this movie and remember this trick.

Use a null in between children to act as a mediator in-between them.

Find answers to the most frequently asked questions about After Effects Apprentice 07: Parenting.


Expand all | Collapse all
Please wait...
Q: This course was updated on 11/20/2012. What changed?
A: We added new movies on using the exercise files that come with this course, and added an additional set of exercise files designed for After Effects CS6.
Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed After Effects Apprentice 07: Parenting.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

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.

Sign up and receive emails about lynda.com and our online training library:

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

   
submit Lightbox submit clicked