Learn about corner pin tracking with Boris Match Move and Mocha Pro.
- [Instructor] Boris supports another major form of match moving or motion tracking, and that's corner pin tracking. Corner pin tracking tracks something planar that has corners, like a door or window, a sign, a TV monitor, and so on. For example, I can use corner pin tracking on this footage to track a new sign that has four corners, so looks like it's on the side of this shovel. Let's give it a try. Now, the work flow is similar to the Boris match move, so we have to go into mocha Pro.
But let's do that one step at a time. This is a new project, which has a shovel footage as a layer, and this is called 5_2 in the chapter five folder. With the shovel layer selected, I'll go up to Effect, go back to Match Move, but this time, select the Boris Corner Pin. Now, when I apply that, I see a miniature version of the footage put back on top. This is temporary. What we want to do, though, is go ahead and track it, similar process to match move. If we go down to the motion tracker rollout, and then click on Track On-the-fly, I would normally do it that way.
However, when I do click it with this current version, I get this error message, just like match move. I can't actually use the internal tracker here. What we have to do is go back to mocha Pro, track there, export text file and bring it back in. Again, there are some advantages to that. You can use some of the properties that this effect has you might not get otherwise. All right, so I'm going to turn off Track On-the-fly, minimize After Effects and go to mocha Pro. Once again, I have to make a new scene, new project, import the clip, Shovel, which is included with chapter five.
Bring that in. Make sure it's 24 frames per second, which it is. Click OK, and again, I can write over the old temporary file. And there we go. Now, in some ways, it's easier to do a corner pin tracking with mocha because mocha is already planar, it's easier to imagine. Let's do that. I'm going to zoom in first so I can see the side of this vehicle. Once again, grab my x-spline, which I like to use. Now, here, I don't need to click on the corners of where I want the sign, and you see the click in the general area that has a pattern I can track.
So, I'm going to click here to the left of this paint square, go across to the other paint square, down below it, come back around, and right mouse button click to finish this. So, I've loosely encompassed the area where I want the sign. It's not exact, and you see the track this side of the vehicle. So, I'll give that a try, I'm going to track forward. Even though it's a subtle movement, it's difficult to reproduce by hand through manual animation, so tracking is definitely a good thing to do here, and it works pretty well here the first time.
If I scrub the timeline, it's very accurate. Now, I'll do a step I haven't done yet in this course, and that is turn on the planar shape. There's a little S button right here. When I click that on, it shows me a blue rectangle. The corners of this blue rectangle are the positions where the tracked item like the sign are going to be positioned. So, the sign is going to be distorted to fit this shape. What I can do is move this rectangle into the place where I want the sign to be.
So I can click drag its four corners and put them where I want to sign corners to also align with. For example, like at the corners of that paint splash on the left, and maybe the splash on the right. We'll be a little bit higher here. So you can visualize where that tracked item is going to appear within that rectangle. You can see that it does not have to match the x-spline shape. The x-spline shape is loose, and that's okay.
Now, if I scrub the timeline, you can see that that planar shape follows. That looks great. Now, I can export the data. And we can go back down to Export Tracking Data and click that button. And, this time, I need to choose Boris Corner Pin text. I'm going to save this out. I'm going to save it to the desktop. There's a little version right there, save it out. I've also saved the version for you to look at if you want to. And this is inside the Exercise Files folder, Tracking, MochaFiles, and there is the ShovelTrack.
All right, I saved the new version to my desktop. We're going to use that version. Minimize mocha. Now, once again, you can save this out for future reference if you want to. File Save Project As. I've also saved the version for you to look at if you want to of this project file, and that's in Exercise Files, Tracking, MochaFiles, and there's the ShovelTrack mocha file. For now, though, I'm just going to minimize this, go back to After Effects, go to Load, and then open up the one I just saved out called Shovel text on my desktop.
Open that up, and as soon as I do that, I have a little crane inside of a crane, I have the crane tracked on the side of the vehicle here. Play it back, you can see it tracks pretty nicely. Now, I don't actually want the same footage tracked on the side. I want a sign. So, let's go get some art. I have some artwork prepared for this. I'll import that as a file. This is in the chapter five folder, in the Footage folder, and it's called Sign.png.
This is a single frame, I'll import that, and this is a long skinny sign that says Lynda.com. I'm going to pull that down to the composition. You don't need to actually see it, though. I'll turn that off, so I can't see it. Go back to my Boris effect, and here, it works a little bit differently than match move. I need to go to this menu here, Corner Pin Source. Switch it to that new layer, Sign, and then it appears. Now, if I don't want to see the actual motion paths or the corners there, I can turn that off.
I can turn off Show Motion Path, and then I can play it back. And it tracks quite nicely. Now, here are some of the options you have with match move. For example, you have Motion Blur On. I can blur it. Now, in this case, the motion's pretty subtle, so the blur doesn't affect much, but if you had something that's moving faster, you can turn that on. There's a few ways to affect the edges of what you tracked. Right here, under Edge Width, Edge Softness, and Edge Smoothness, this all effects the quality of the tracked item.
For example, you can load it into the sign here by increasing the edge width. There's also built-in Light Wrap that works similar to light wraps in other effects, although it's not really appropriate here. So, there you go. So, that's essentially a track sign using corner pin tracking. Once again, if you want to use the Boris effect for that purpose, you have to go into mocha Pro, do the tracking, export the data, and load it into this effect.
VFX expert Lee Lanier begins by exploring shared Boris Continuum controls, and then shows how to apply stylistic effects. He explains how to work with the PixelChooser and Boris Lights, and discusses how to color grade and warp footage. He also takes you through using the Boris Chroma Key Studio and working with Mocha Pro for motion tracking, as well as how to add particles and work with 3D text.
- Overview of Boris Continuum
- After Effects preferences
- Applying stylistic effects
- Relighting with Boris Lights
- Adjusting colors
- Changing the time of day
- Warping footage
- Keying green screen
- Motion tracking
- Adding particles
- Working with 3D text