Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Dealing with non-uniform scale issues

From: After Effects Apprentice 07: Parenting

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.

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.

Show transcript

This video is part of

Image for After Effects Apprentice 07: Parenting
After Effects Apprentice 07: Parenting

17 video lessons · 7259 viewers

Chris Meyer and Trish Meyer
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

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.


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.

Join now "Already a member? Log in

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
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.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

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
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.