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

Matching layer motion by applying tracker data

From: Maya Rendering for After Effects Composites

Video: Matching layer motion by applying tracker data

We have come up with a good motion path by applying the Tracker to the footage. We have tracked that X on the piece of tape as it travels through the scene. As soon as you feel that you have created a good motion path, and it's accurate, you can apply that data to a different layer, and therefore activate the actual motion tracking. In this project, we're going to apply the data to the Render layer, which is the nested version of that spyglass all combined. Before we apply the data however, we have to do one additional step in this composition to make this work. I need to go to the Matte layer, go to the Parent menu, and change it to Render.

Matching layer motion by applying tracker data

We have come up with a good motion path by applying the Tracker to the footage. We have tracked that X on the piece of tape as it travels through the scene. As soon as you feel that you have created a good motion path, and it's accurate, you can apply that data to a different layer, and therefore activate the actual motion tracking. In this project, we're going to apply the data to the Render layer, which is the nested version of that spyglass all combined. Before we apply the data however, we have to do one additional step in this composition to make this work. I need to go to the Matte layer, go to the Parent menu, and change it to Render.

I want the Matte layer to follow the Render automatically. The Render layer is going to get the motion data. However, I don't want to apply the data second time to the Matte layer. So what I can do to save time is simply change its Parent menu to follow the Render layer automatically. So now we're ready to try to apply the data. I am going to go back to the Tracker, and the first thing I need to check is the Edit Target button. I need to tell it what layer to apply the data to. So I need to switch this menu beside layer to Render. I can only apply data to one layer at a time. So I have to pick the one I want to apply it to.

So, I'm going to click OK. And now I can go down to the Apply button, and apply that data. It's going to ask me if I want to apply it in the X and Y? And I do, I want to apply the left- right and up-down movement, so OK, and there it's applied. A couple of things happened. One, if I check out the Render layer and look at the Transforms, the Position property is animated for every single keyframe, that's where the motion tracking data winds up. Another thing that happens is the thing you applied the data to is going to move. In fact, our spyglass moved way up in the air. Let's play it back to see how it's working.

So Tracking is working, however the spyglasses is hovering up in the air, it's following the stick, at least it's relative to it, but it's not in a good position. Why'd that happened? Well, what happens is when you apply the tracking data, the position is animated, but basically wherever the anchor point was for the layer you applied it to is moved to where the motion path was. Now, because the anchor point for the spyglass is in the center of frame, the entire frame was moved upwards so that anchor point was stuck to where the motion path was, and that's where that little X was moving. So therefore it's too high.

Well, how do you solve that? What you can do is adjust the anchor point before you apply the Motion Tracker. So, what I'm going to do is destroy the position animation. I'm going to turn off the Time icon. That gets rid of it. Then reset the spyglass, or Render layer, and then do some preparation work by altering where the anchor point is. You can see the anchor point in the viewer, it's actually a little circle with four little lines coming out from it. It can be a little hard to see, there it is right there. It's a little circle with four little lines, that's where the Anchor Point is.

Now, by default, that is placed in the exact center of frame when you make a new layer. I want it to be up here behind the spyglass, because I want that X on the tape to be basically behind the spyglass, or where you see it in an opposite fashion, the spyglass seems to be in front of this pole, and this X. So, I need to place the anchor point where the X would be. So I'm going to grab the Pan Behind tool, which is this little square with the four arrows. I can use that to interactively move the anchor point, click-drag up to here. So, you can imagine that when this is in place, the pole is here, tape is here, and the X is somewhere in this area. So, it looks like a pretty good position.

So I'm going to go back to the arrow to get out of that tool, and now we can try to reapply. I'm going to go back to my Tracker, make sure it's visible, and then reapply, and say yes to X and Y. So instantaneously, it jumps over to left, because I have the anchor point in a different position. Also it's not nearly as high up in the sky. So let's play it back now. So now it's definitely tracking, and it starts off in a better position, still not exact. At frame 0, it's not covering up the pole completely, and then when I play forward, you can see it's starting to slip off to the right.

Why is it slipping? Well, in Maya, we do not animate the camera, and there is animation on the spyglass, but that's just a very simple tilt backwards. It doesn't really emulate the complex motion of the actions of hand or the camera, the camera in terms of the real camera. Now, what you do with a slide like this? The motion path is actually working for us. The problem is the relative position of that 3D object compared to where the 3D camera was. What you can do though inside After Effects is place the animation on the anchor point, you can change the anchor point by interactively moving it, and also keyframe it, so it has slightly different positions over time.

And that will help solve these kind of sliding issues you might come up with. Well, how you do that? Well, you want to figure out where the object is sliding first. For instance, I can just start with frame 0, it's not quite in the right place at frame 0, so I can go to the anchor point, click the Time icon to turn that on. And then instead of interactively moving it in the frame, what I can do is go to the values for X and Y, put my mouse over top of that number cell. When I do that, I get a special icon with a little hand with a finger and two arrows. When I have that, I can click-drag left or right, and change the values through this part of the layer editor, as opposed to the viewer.

So, I am going to slide this around till it lines up with that pole. I can also do this up and down. So that's the first keyframe. Then I can move forward and figure out where it really started to slip off. Some maybe around frame 6 would be a good place for me to keyframe. It's definitely not in the correct position here. So I'm going to slide this over, and maybe a little bit of up and down too. Looking for a gap between the black handle and the fingers, it's fairly consistent, also when I see it at the same distance from the edge of the finger. Now, to continue to keyframe this is going to be difficult to do in real time during this video, so you're going to have do additional work on this.

Now I did probably with this in advance, so I do know additional keyframes are needed. In fact, a good place to keyframe is frame 0, frame 6, frame 8, frame 18, 24, and 28. I'm not going to be able to do that right now, it's going to take too much time. But the general idea is to go to the next keyframe, move the anchor point by sliding through the cell values, and going on to next one and next one. So, the next video I'll have this keyframed for you, and it will be solved. At this point, you have to do a little additional work by setting your own keyframes.

That's the general idea though. So we have applied the motion tracking data to the Render layer, we made sure the Parent, the Matte, the Render layers, or the Alpha was working. We did a little fine adjustment by first interactively changing the anchor point position and then also setting some additional keyframes.

Show transcript

This video is part of

Image for Maya Rendering for After Effects Composites
Maya Rendering for After Effects Composites

34 video lessons · 5212 viewers

Lee Lanier
Author

 
Expand all | Collapse all
  1. 2m 0s
    1. Welcome
      47s
    2. Using the exercise files
      1m 13s
  2. 29m 49s
    1. Working with image sequences
      7m 24s
    2. Importing reference video as an image plane
      5m 13s
    3. Matching the 3D camera to the video footage
      4m 23s
    4. Lighting the model
      5m 35s
    5. Creating mattes and shadows in preparation for rendering
      7m 14s
  3. 15m 38s
    1. Using the Render Layer Editor
      4m 21s
    2. Splitting a scene into multiple render passes
      6m 6s
    3. Adding flexibility by assigning material and render overrides
      5m 11s
  4. 15m 2s
    1. Creating render passes using mental ray
      3m 50s
    2. Batch rendering render passes: Project one
      5m 24s
    3. Batch rendering render passes: Project two
      5m 48s
  5. 19m 4s
    1. Importing render passes into After Effects
      6m 25s
    2. Recombining render passes in a composition
      6m 31s
    3. Transforming multiple render passes as a single unit
      6m 8s
  6. 48m 7s
    1. Setting up a motion tracker
      5m 17s
    2. Using a tracker to analyze motion in footage
      3m 56s
    3. Adjusting tracker options for better results
      7m 2s
    4. Matching layer motion by applying tracker data
      6m 26s
    5. Refining a layer's transparency with rotoscoping
      6m 45s
    6. Improving layer movement with the Smoother tool
      5m 7s
    7. Improving the CG by adding blur and effects
      8m 7s
    8. Adding shadow to make the composite believable
      5m 27s
  7. 32m 36s
    1. Recombining render passes for project two
      5m 17s
    2. Removing unwanted elements with a garbage mask
      4m 57s
    3. Applying motion tracking data to a null layer
      6m 38s
    4. Adjusting shadows and matte edges
      8m 12s
    5. Using color correction to improve layer integration
      7m 32s
  8. 25m 46s
    1. Stabilizing shaky video with the Tracker
      8m 2s
    2. Tracking rectangular elements with the Perspective corner pin option
      5m 31s
    3. Adjusting corner pin points and paths
      6m 56s
    4. Applying corner pin data to multiple layers
      5m 17s
  9. 1m 16s
    1. Next steps
      1m 16s

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 Maya Rendering for After Effects Composites.

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.