PlanarTracker is a powerful tool for tracking surfaces that lie on a plane in your source footage.
Planar tracking is often better than tracking individual points (with the Tracker node for instance) as it takes a great deal more information into account and gives you a more accurate result. A rigid surface, like a wall or a side of an object, are good planes to track. You can use your tracking results to replace the tracked plane with another image for instance. PlanarTracker uses the alpha channel to specify which RGB regions in the source input to track. You can either use an existing alpha channel, for example the result of a chroma key, or you can define the region to track by creating and animating roto shapes.
NOTE: Frame-by-frame updates in Nuke’s interface can be expensive, and real-time playback can suffer as a result.
The optimize Viewer during playback button in the Viewer tools stops updates elsewhere on the interface during RAM cache playback, helping to optimize the playback frame rate.
Here's a quick overview of the workflow:
1. | Create a PlanarTracker node, and connect your footage to the bg input of the Roto node that gets created along with PlanarTracker. For more information, see Connecting the PlanarTracker Node. |
2. | Draw your roto shape in Roto. It gets automatically linked up with PlanarTracker. See Drawing a Plane to Track. |
3. | Use the Tracker controls in the Viewer to track your footage. Then scrub in the timeline to make sure the results stick as they should. For more information, see Tracking a Plane. |
4. | You can then use the plane you’ve tracked to trace another shape on the same plane, or proceed to place an image on the plane. For more information, see Reusing a Track Result and Placing an Image on the Planar Surface. |