Video tutorial
SynthEyes 2027 3-D Planar Tracking Manual
(c)2013-2027 Boris FX, Inc.
Introduction
This manual complements the main SynthEyes User Manual, consolidating all the information about planar tracking here, since it is relatively self-contained. For basics of opening shots and operating SynthEyes, see the main User Manual, including the "Quick Start: Planar Tracking" section there. Access to all the manuals can be obtained from the SynthEyes Help Menu.
What is 3-D Planar Tracking?
A regular SynthEyes tracker tracks a point, a single point feature in the 3-D environment, whether it's a spot of paint on the floor, or the corner of a window. SynthEyes follows that point feature as it moves around the image over the duration of the shot. You then solve the overall scene, with many trackers, to find the 3-D position of the points and the path of the camera in 3-D.
By contrast, a 3-D planar tracker follows a fairly large rectangular surface (the plane), as it moves around the image and 3-D environment. While mathematically a plane is infinite in extent, the rectangles in planar tracking have a fixed width and height: a window on the wall, a tile on the floor, the screen of a computer monitor. The rectangle must be mathematically precise, with opposite edges parallel to each other in 3-D, and adjacent edges perpendicular to each other in 3-D. When the rectangle is projected onto the camera image plane, of course the sides are no longer parallel or perpendicular; the angles can be quite different (even kite-like) depending on the relative orientation of the rectangle versus the camera.
That bring us to the important point: the 3-D position of the planar tracking rectangle versus the camera, the aspect ratio of the rectangle, and the field of view of the camera can all be determined from the corner locations on each single frame of the image (see limitations below). So tracking even a single planar tracker is enough to give you a 3-D camera or object path for adding simple 3-D effects!
In reality, you often won't be able to set up truly parallel/perpendicular rectangles in the source imager, but it isn't strictly necessary. You'll generally be able to get a reasonable and usable approximate solution; the planar tracking display and control panels help make that easier.
The planar tracking rectangle does not have to correspond to any trackable surface. Using the in-plane masking capabilities, the region(s) of the tracked pixels can be any shape or have holes or be in multiple pieces or somewhat larger than the pixels being tracked. The surrounding and supporting rectangle ties everything into 3D. The pixels being tracked should be coplanar, or close to it, however.
The planar rectangle will often be textured with an image or sequence with an alpha channel in a downstream application. Clever choice of the planar rectangle may let you achieve additional effects, such as adding details in locations with no trackable features.
TIP As with regular tracking, interlaced footage should be avoided due to the reduced vertical resolution. Also, if you use the Interlaced: Yes mode for the shot, performance will be reduced somewhat.
2-D Planar Trackers Too
As well as the 3-D planar trackers we have been describing, SynthEyes also offers 2-D planar trackers. The two are similar in appearance, but a 2-D planar tracker does not specify a 3-D position, an aspect ratio, or a camera field of view. Whereas a 3-D planar tracker allows only quite specific inter-related corner locations that correspond to a 3-D configuration, a 2-D planar tracker allows you to place the corners arbitrarily.
Two-dimensional planar trackers are essentially a much fancier form of regular SynthEyes trackers, one that allows you to
- set up crazy shapes,
- rotate,
- scale,
- do masking,
- go partially off the edge,
- etc.
A 2-D planar tracker produces the same kind of 2-D path as a regular SynthEyes match, spot, or symmetry tracker. That's true of 3-D planar trackers as well: you can use 2- or 3-D planar trackers in a conventional 3-D solve or as a zero-weighted tracker (ZWT).
Both 2- and 3-D planar trackers can also be exported as a 4-corner pin to applications such as After Effects that have a suitable 4-corner exporter. If you are more comfortable in the 2-D environment of After Effects, this gives you a way to move your planar tracks into After Effects with a minimum of fuss (ie, no requirement to match field of view).
You can produce four additional conventional trackers from each 2-D (or 3-D) planar tracker, in order to use them all in a conventional 3-D solve. See Using Planar Trackers with Regular 3-D Solves.
Limitations of 3-D Planar Tracking
Planar tracking is a tool, and a powerful one at that, so it offers a lot of ways to hit your thumb with this hammer, so to speak. As always, your best defense is for you to take the time to understand what the various features do, and think carefully about how they apply to the details of your shot. Make sure there is enough information available for your task to be done, even in theory! And make sure you are using the right tool.
Some planar tracking limitations are in your control, and require that you set various parameters appropriately, for example the size of the search area, so we'll discuss that in sections below. Other limitations revolve around things that destroy the imagery being tracked, such as occluding objects; we'll discuss those below too.
More significantly, users should be aware that though 3D planar tracking is a quick way to get some approximate 3-D, it is not a substitute for a full 3-D track of the scene. It offers nowhere near the accuracy of a 3-D solve: as you'll see working with 3-D planar trackers, small changes in corner position results in large changes in 3-D position, orientation, and field of view. That is telling you directly that a 3-D plane is sensitive to noise. And the smaller the plane appears in the camera image, the proportionately larger the noise is!
NOTE Observation: a 3-D solve calculates the FOV from tens or hundreds of trackers spread across the many frames of the entire shot. A 3-D planar tracker's FOV is based on four manually-placed locations in a single frame. The 3-D planar tracker has exactly the minimum information required, while a 3-D solve has much, much more, and that redundant data is averaged to produce a more-accurate value.
Each planar tracker specifies a field of view for each and every frame. When you have multiple planar trackers, this poses a bit of a problem, since the camera can have only one field of view on a given frame (and usually, it's the same for the entire shot). So the interaction between 3-D planar trackers requires some care, see Adding More 3-D Planar Trackers.
Similarly, if you have two planar trackers on the same wall, there's no assurance they will have exactly the same orientation, or the proper distances to be mutually coplanar. That gets even trickier.
You can easily envision all kinds of complicated ways to start tying multiple 3-D planar trackers together, to get them all aligned with respect to one another and the world. As soon as you start thinking about these considerations too much, STOP. This is your sign that you need to be doing a 3-D solve (potentially using your planar trackers as input).
If you find yourself especially concerned about the details of which way your plane is facing (the pyramid is pointing) so that you can add 3-D effects that are well off the 3-D plane, STOP. Again, this is a sign that you should be doing a 3-D solve.
Planar trackers don't intrinsically accommodate lens distortion in the source imagery. This is addressed below in the Advanced Topics section below.
If you find yourself playing around trying to get a planar solve to be accurate or handle some messy large occlusion problems, stop and think! The SynthEyes AUTO button can solve a lot of shots very quickly, using some of the roto masks you may have already set up! Be sure you are using the right tool for the job!!!
Planar Trackers are Regular Too!
Planar trackers are a heavily modified form of SynthEyes's regular trackers, so the planar trackers can be used in most places that regular trackers are: as part of solves, tracker cleanup, mesh-building, 3-D exports, etc.
In these non-planar-specific uses, the planar properties are not used: the basic 2-D path of the planar tracker's nominal center point is used, and the single static 3-D location produced by the main 3-D Solver panel constitutes its 3-D location. See Using Planar Trackers with Regular 3-D Solves for information about interaction with the main solver and see "OK, it's tracked. What Now?" for information about exporting planar trackers.
Some relevant tracker controls are available only on the Tracker control panel, and are not replicated on the Planar panel, such as the solver Weight, and the Zero-Weighted-Tracker (ZWT) status. You should use the Tracker panel to modify those attributes of both planar and regular trackers. The tracker type of planar trackers shows as a small plane.
A planar tracker has additional information such as the four corner locations, pitch, field of view, etc, that is not available for regular trackers. Similarly, planar trackers do not utilize some parameters of regular trackers, such as the position key track, offset track, key smoothing, and key every N.
Tools intended for regular trackers may have somewhat different effects when applied to planar trackers, based on the different information used and available. Hopefully the information here should give you the basis to utilize these tools appropriately when applied to planar trackers.
Creating Planar Trackers
In this section we'll talk about creating a planar tracker in a scene. It's pretty simple, just clicking on four corners, though there are a bunch of additional details to it.
SynthEyes's planar trackers have extensive masking capabilities to handle intervening occluding objects and complex shapes. While you'll usually configure those when you create the planar tracker, we defer them for now; see the Masking section.
In the following major section we'll talk about how to track your planar tracker through the whole scene.
Hint: Be sure to see the section on Adding more 3-D Planar Trackers in the Tracking section: it will save you from rework later.
Where it happens
Planar trackers are created with the Planar Tracking panel, as part of the Planar room on the top room tab bar.
NOTE I don't see it! If you don't see the planar tracking room in SynthEyes 1311 or later, the scene or your preferences need to be updated to include the planar room configuration (we don't change your customized configurations). See the section I Don't See the Planar Room
There's also a secondary panel, the Planar Options panel, that appears underneath the main panel on large displays, or you can get the Planar Options panel to pop up as a floating panel by clicking the gear icon under the tracker mini-view.
There's also a very handy Planar Tracking script bar that gives you quick access to various planar-tracking-related tool and export scripts; you can launch it by control-clicking the same gear icon, or clicking the Script/Script bars/Planar Tracking menu item.
For direct consolidated information on the control panels that shows their layout, see the Planar Control Panel section in the 3-D Planar Tracking reference. You may want to print out those few pages for quick reference while you read here.
The planar tracking scripts are also briefly described in the reference.
Shot Prediction Mode & Planar Search Region
The planar tracker needs to know where it should look for the pattern, based on how much change there can be from one frame to the next. A larger search region will accommodate more drastic bumps in the footage, but at the cost of much longer compute times, and an increasing chance that the tracker will move to a similar but unintended image pattern nearby (especially likely with repeating patterns such as bricks).
When you begin configuring a planar tracker, you should always begin by setting the tracking prediction mode on the Track menu to either Steady Camera or Hand-Held: Sticky. The first setting is for smooth stable shots, and predicts where the tracker will be next based on its recent history, allowing for a small search region. The hand-held setting is for hand-held or vibration-prone shots; there is no prediction since on these shots it is generally harmful!
You'll need a larger search region for hand-held shots. SynthEyes looks at the shot's prediction mode to decide on the initial search size parameters, so you should adjust the prediction mode at the very beginning. The default is for smooth shots, so you should be sure to change it for shaky hand-held shots.
Picking the Main Frame
Before you create a planar tracker, you have two important decisions to make: on what frame to create it, and what type it will be.
The frame where you create the planar tracker is called its main frame. The image contained in the four corners will be used as the image reference for the rest of the shot, to exactly re-locate the tracker in the other frames. (You can set additional reference images, but main frame is the first and most important!)
For a 3-D planar tracker, the corner placements on the main frame determine the camera field of view for the entire shot (unless there's a zooming lens). And they determine the physical aspect ratio of the 3-D planar tracker rectangle (in the real on-set world, not the image).
Here are factors to consider when picking the main frame:
- You do want the planar tracker bigger and closer to the camera, so there is good interior resolution. (If it is far away, it may only be 10 or 20 pixels across, and not sharp.)
- You do not want it so close that parts are off-screen.
- There is a performance cost to processing a lot of pixels, so you may not want to pick the exactly largest frame if it is unreasonably larger than most.
- You do want the camera to be looking generally perpendicularly at the plane, not edge on—edge on will produce a blurry low resolution reference image in that direction.
- You do not want the camera looking exactly head on, perpendicular to a 3-D planar tracker. If so, there is no perspective and therefore no ability to determine field of view and aspect ratio.
- You do want the plane in a position where there is some perspective present, to help determine field of view and aspect ratio.
- You do not want the main frame to be occluded by anything, if at all possible.
So it's a helpful list, for each piece of advice the opposite piece as well. This is why you are a tracking artist, not a robot.
You should scrub through the shot quickly to determine a suitable frame to use as the main frame, stop on that frame, and proceed to the next step.
Note that later after you have created the tracker and perhaps several key frames, you'll be able to distinguish the main frame on the main time bar by the taller key marker on the main frame.
Selecting a Planar Tracker Mode
Once you've chosen the main frame, you need to decide on the type of planar tracker.
SynthEyes offers a selection of different planar tracking modes, which describe what you know about the scene and what is being tracked; what is changing and what must be held constant. The 3-D modes provide a simple 3-D solve from a single tracker, while a 2-D tracker can be used for a 4-corner pin, or to provide one of the many tracks required for a conventional 3-D solve.
| 2D Modes | 3D Modes |
| 2D Translation (2D T) | 3D Perspective |
| 2D Translation and Scale (2D TS) | 3D Known Field of View (FOV) |
| 2D Translation and Rotation (2D TR) | 3D Zoom |
| 2D Translation, Rotation, and Scale (2D TRS) | 3D Known Aspect |
| 2D Translation, Rotation, Scale, and Aspect (2D TRSA) | 3D Known FOV, Aspect |
| —*** | 3D Zoom, Known Aspect |
The 2D modes offer different degrees of freedom, depending on whether the pattern can rotate or not, or scale or not. An aspect-changing mode is available as well, which gives an approximation to 3D perspective changes, as a 2D tracker.
[***: We may offer an "anything-goes" mode as well, it's unclear just how much that is necessary.]
The 3D modes include variations on what the lens is doing, mirroring the SynthEyes Lens Panel: whether the camera lens is fixed and unknown; whether it is Known (it may be a known constant or known varying values); or whether it is an unknown Zooming camera. The Known modes are used to accommodate on-set information, to integrate with an existing 3-D solve, or when there are several 3-D planar trackers present (see Adding More 3-D Planar Trackers).
A second set of 3D modes encompasses the situation where you know the aspect ratio of the planar surface being tracked. That known aspect might come from on-set measurements, or a known circular or square shape; it gets placed in the Planar Option panel's 3-D aspect spinner. (See Measured Height and Width: Known Aspect in this manual.)
Based on what you're tracking, the nature of the shot, and what you want, you can select the mode. Once you turn on the Create wand on the Planar control panel, you can set the tracking mode. If there is an existing planar tracker already selected, control/command-D to unselect it, to avoid changing it. Set the planar tracker mode to the one you want.
Creating....Clockwise
You begin creating the planar tracker from the Planar Control panel by turning on the Create wand (or by holding down 'C' when you click the first corner). You should have already moved to the new main-frame-to-be. And you should have set the planar tracker motion type.
Push, adjust, and release to locate each of the corners in succession: top-left, top-right, bottom-right, and bottom-left (clockwise from top left). You can hold down the control key to drag even more precisely, as with regular trackers.
The exact orientation is somewhat arbitrary: SynthEyes doesn't care if you start at the bottom left, and proceed clockwise from there, for example. It will simply cause the tracker mini-view to display a rotated view of the tracker. (If you need to, you can rotate the tracker later to fix that.)
NOTE You've been warned: don't create counter-clockwise or twisted (X-shaped) planar trackers. It won't go well.
NOTE But you ignored the warning: Use the Rotate planar script (in the Planar Tracking submenu) to rotate the corners into place, or reverse the order. If you created an X-shaped planar, you're on your own.
If you are creating a 3-D planar tracker, you'll notice that something dramatic happens when you get to the fourth (bottom-left) tracker: the tracker takes on a mind of its own, wanting to do its own thing rather than following the cursor exactly.
That happens because given the three corners you have placed, there are only certain other regions where the fourth corner can be placed that correspond to a valid 3-D plane. SynthEyes is guiding you to them; it won't let you create an invalid 3-D planar tracker.
If the first three locations you have placed are problematic, it may not be possible to place the fourth where it needs to go.
IMPORTANT Sorry, we can't change the rules of physics to make something that isn't rectangular into a rectangle.
If placing the fourth point is difficult, problematic, or impossible, hold down the ALT/command key as you drag. This will "free up" the first three trackers so that they can move a little, to make it possible to place the fourth tracker where you want. The changes to the first three trackers will be kept as small as possible, and will usually be quite small.
Here, we show a newly-created 3-D planar tracker. Notice the tracker's pyramid, which sticks out from the plane in 3-D with a handle at the apex. The pyramid shows the 3-D orientation of the tracker; the handle allows it to be changed, as well.
As you create a 3-D planar tracker, you should monitor the tracker's pyramid display, the tracker's Own FOV (field of view) value, and its 3-D Aspect, to make sure that the pointing direction is appropriate, and that the FOV and aspect are reasonable values based on your knowledge of the shot.
If there is a known FOV or 3-D Aspect, those values are applied and enforced while you are creating the tracker (and any time you move the corners), which further reduces the possible locations the fourth corner can be placed given the first three.
Once you've created the tracker, you may want to fine-tune the positions a bit; we'll describe methods to do that in a moment. After that, you can configure some of the additional planar tracking controls, leading up to tracking your planar tracker through the entire shot.
Be sure to see "Adding More 3-D Planar Trackers" before you add additional 3-D planar trackers to the scene.
2- and 3-D Placement Adjustments
Once you've created your tracker, you may find that you want to further fine-tune the corner locations. You can do that in the camera view or in the tracker mini-view. Note that the following lists are partial, showing only the functionality applicable to fine tuning.
In the camera view, you can
- drag the entire tracker rectangle,
- drag a corner—on 3-D planar trackers the possible locations are limited to those determined by the other 3 corners and any required 3-D Aspect and field of view,
- shift-drag a corner to scale the entire planar tracker uniformly,
- (3-D planars) shift-drag a corner, then release shift while continuing to drag, to scale the tracker independently in width in height,
- rotate the planar tracker, using invisible rotation handles located just outside the corner handles as in Adobe Illustrator, or
- (3-D planars) drag the pyramid's apex handle to re-aim it (ALT/command allows the field of view to change while doing so).
In the tracker mini-view, you can
- drag in the center, to reposition the entire tracker,
- drag in any corner, to reposition that corner, or
- ALT/command-drag any corner, to reposition any corner while freeing up the other three to adjust slightly to maintain the FOV and 3-D aspect.
In the Planar Control panel, you can
- drag the Own FOV value (or click to enter a value), or
- drag the 3-D Aspect value (or click to enter a value).
As you can see, there are quite a few ways to adjust the new planar tracker!
More about 3-D Placement Adjustments
Three-D planar trackers are positioned, aimed, rotated, and scaled in 3-D space, not as 2-D image-plane effects. This is quite handy for setting up trackers.
Scaling
When tracking something like monitor screen with no internal detail, you must track some of the boundary too. Set up the planar tracker exactly on the edges of screen for accuracy, then shift-drag a corner to scale up the entire tracker rectangle so that it encompasses some of surrounding region. Shift-scaling does not change FOV or aspect or aim direction. Shift-scaling preserves the planar aspect ratio; once you have started scaling, you can release the shift key to begin adjusting width and height independently (re-depress shift to return to the original aspect), again without changing FOV or aspect.
Rotation
When you rotate a 3-D planar tracker, it spins in 3-D, without affecting the aim direction, FOV, or aspect ratio. You'll see the image in the tracker mini-view rotate simply, while the shape of the 3-D rectangle in the camera view changes substantially. (If the planar tracker is poorly aimed to start with, 3-D rotation may produce unexpected results. If you need to, you can switch a tracker to 2-D, adjust it, then switch it back, or just adjust the corners individually.)
Aiming with the Apex
You can drag the pyramid apex handle to re-aim the planar tracker, based on your own sense of the perspective. This will adjust all the corner locations to some degree.
When you drag the apex, the field of view will not change. If that doesn't give you the results you want, hold down ALT/command, which will permit the FOV to change (unless the tracker is in a Known FOV mode). Of course, if the FOV is changing, you should monitor it on the Planar Control Panel to make sure it stays reasonable.
Dragging the apex may balk at some positions, try a different path around those spots. You may have to drop the apex then pick it up again, if the new corner positions get to be very far from the originals.
Positioning
When you drag the entire tracker rectangle around in the camera view, you will notice its shape changing somewhat. Again, this is because its position is being altered in 3-D, not 2-D.
Using Create-circle to align to circular features
You may need to track a circular object, such as a manhole cover in a road or a dinner plate on a table. If you know that the object is truly circular, that is useful information that can be used to enhance 3-D accuracy.
Immediately after you create the planar tracker, change the planar motion type to "3D Known Aspect" and the 3-D Aspect (on the Planar Options panel) to exactly one (1.0).
Next, click the circle icon in the In-Plane Masks section of the control panel. This will create an exactly-circular in-plane mask. Depending on the situation, you can keep it as positive or negative polarity—and you can delete it after initial alignment.
With the aspect at 1.0 and the circular reference mask, adjust the four corners of the planar tracker to exactly position the circular mask over your circular image feature in the main camera view. (Do not adjust the mask handles on the circle itself!)
You can use ALT/command drag of the corners to help position them, in either the camera view or tracker mini-view. The pyramid apex can also be helpful.
Channel Selection and Display
By default, the planar tracker will look at only the luminance data of the image as it does its matching. This works well on many common shots with good contrast, and saves processing time versus full RGB processing, which predictably takes about 3 times as long for the image-related processing.
You can select any image channel for processing, using the channel selector flyout immediately above the tracker mini-view. It is the rectangular patch with a top to bottom gradient. You can select among full 3-channel RGB processing; red, green, or blue channels; (the default) luminance; or the alpha channel.
Notice that the tracker mini-view shows the full RGB image, even when the channel selector is set to a monochrome selection such as luma or green. That RGB display means you can't see what the tracker is seeing. To see the channel being tracked, click the button immediately to the right of the channel selector, with 3 overlapping RGB circles, or a single gray one. This button selects whether either the full RGB image or the selected channel is shown in the tracker mini-view. This is a temporary user-interface control, not a permanent property of any tracker.
When an image has a single strong color, for example a green or blue screen, you can often choose one of the other channels and get very good contrast. (The blue channel is usually noisiest for video cameras.)
If the image has little luminance contrast but a variety of colors, you should switch to the full RGB processing.
If you want to track a chroma-keyed shape, supplying an alpha channel and tracking it may be a good choice. (The alpha channel can be part of the source images, or a separate set of images, see Separate Alpha Channels in the main SynthEyes user manual.) Tracking a chroma-key shape with no interior detail does not work because the pattern can shrink continually, while still exactly matching the reference image. It is the border that conveys useful information. You have to track some of the surrounding background, to prevent the tracker from being able to shrink, and then changes in the background moving behind the keyed object will affect tracking. If you track a keyed alpha channel, then the background is always black and the keyed object white, and the larger tracker receives no interference from the background.
NOTE When preparing to use alpha-channel tracking, be sure to check the Keep Alpha checkbox when opening the shot.
IMPORTANT Do not use alpha-channel masking when tracking the alpha channel, as this will allow trackers to shrink arbitrarily.
Additional channels could be added in the future: an edge channel is likely for another approach to lighting invariance (in the interim, use the image preprocessor!). Other possibilities include chrominance or saturation or the color differences R-Y and B-Y (these differences are efficient to generate). Your suggestions are welcome.
Selecting the Detail Mode
To track, SynthEyes matches up the image on a particular frame to the reference frame. Most of the time, features being tracked within the planar tracking mini-view occupy a fairly large portion of it, and it is comparatively easy to get the images to align.
Suppose we're tracking a red dot on a green screen. If we make the planar tracker only somewhat larger than the red dot, when we compare the reference and new images, the red dots will overlap a bit, and it will be easy to get them to match up exactly.
Suppose, however, that we make the planar tracker much larger than the red dot. When we compare the two images, odds are that the dots won't overlap at all. If we shift the images around a little, there is little change: there's a red dot compared to a green background, and a green background compared to a red dot. That's still the story if you shift the images around a bit. It takes some effort to figure out how to get them to align up.
That's what the Detail Mode dropdown is for. Normally, you can run in Low detail mode, for large features.
If there is only fine detail in the tracked image, as in our small red dot example, you should switch to High Detail mode. The High Detail mode requires more computation, but is essential to handling fine patterns, such as thin text or a large area with a few small marks.
The Medium detail is a combination of the two, rather than an intermediate level of processing. In Medium mode, the Low detail processing is performed, then the High detail processing to further refine it. This is worthwhile with a sloppy large pattern and some more precise fine detail that might be problematic in its own right.
So the Medium detail mode can take the most computation of all!
Planar Tracker Movable Center Point
Each planar tracker has a movable center point that is the 2-D location fed to the 3-D solver. By default, it is at the center of the 2- or 3-D planar tracker, but it can be moved to any location on the tracker, or even somewhat outside. This is similar to offset tracking with regular trackers.
For example, if a tracker is tracking the corner of a building, with the building filling most of the planar tracker, the center point can be moved away from the center to the point of interest, so that that location is the one whose 3-D location is calculated by the 3-D solver.
You can change the center point at any time, by dragging it on the surface of the planar tracker. When you do that, the entire temporal 2-D position of the tracker is recalculated (this is very quick and does not require re-running the planar tracker). Shift-right-click resets the point back to the center.
The center point is not animated: it has only a single location on the tracker in all frames. If you think you have a need to animate it, that means that the tracking isn't very stable, or that the center point isn't sufficiently co-planar with the planar surface; a separate conventional or planar tracker is likely required.
Tracking
Once you have created your planar tracker on its main frame, you will track it through the rest of the shot by hitting Play and letting SynthEyes run through the rest of the shot frame by frame. (The tracking rate is determined by the number of trackers being run and their various settings.)
With either the Trackers or Planar control panels open, all unlocked regular and planar trackers are updated when you play or step forward a frame at a time; tracking stops at the end of the shot. You can have only the selected trackers tracked using the View/Only selected trackers menu item. You can also track in reverse, see the section below.
Tracking does not occur while scrubbing or playing in the reverse direction from the tracker's. And there is no tracking from other panels such as Summary or Solver: the other panels perform pure playback, then loop automatically back to the beginning.
Typically, and especially with large planar trackers, it is best to track only one planar tracker at a time. As it tracks through the shot, you can monitor its operation using the tracker mini-view and camera view.
If a problem develops, you can hit the stop button (or the space key), examine the situation, take corrective action, and continue. We'll discuss various such conditions and countermeasures in following sections.
IMPORTANT Important: Be sure to lock up when you are done with a tracker, as described right here:
Once you are done tracking a planar tracker through the shot, be sure to lock it, using the icon at top right of the planar tracking panel. This will lock the tracker to prevent inadvertent changes and make sure that the CPU doesn't keep calculating the same tracks over and over. Planar tracking does involve quite a heavy CPU load. If you have a few unnecessary planar trackers active in the scene, you will probably reduce your machine to a crawl.
Adjusting the Search Region Parameters
Here we see a 3-D planar tracker as it tracks through a shot.
The outer rectangle is the search region, which is only displayed on non-key frames. In addition to the presence of the search rectangle, the blue color of the corner handles of the tracker and the search rectangle indicates that neither is keyed on the frame; they are red when keyed.
This is an automatically generated search rectangle; it is determined based on the shot's prediction mode and the search region parameters at the bottom of the Planar Control Panel.
The search parameters are initially based on the prediction mode; it is up to you to adjust them based on what you see over the course of tracking. If the shot proves to be too bouncy or move too rapidly, so that tracking is lost or shifts to an incorrect configuration, you should increase the appropriate search size parameter.
The search region controls for planar trackers includes rotation and scaling settings as well as the horizontal and vertical settings of conventional trackers. A large rotation setting may be needed for hand-held shots that suddenly dutch left and right or any shot that pinwheels around the camera axis. A larger scale setting may be needed to track objects that are rapidly approaching or receding from the camera.
The values do not have to be set to some exact values; they are approximate. The search only starts in the search rectangle; it can finish outside it if the situation warrants. You can watch the search rectangle versus the tracker rectangle as the shot tracks; if the tracker rectangle is frequently close to or outside the search rectangle, you should increase the search parameters accordingly. Or, decrease them if the shot is very stable.
Repositioning the Search Region
Normally the search region is based on the recent tracker history using the current shot prediction mode and the search region parameters, as described in the previous section.
You can also manually key the search region (separate from the tracker itself). The manually-positioned search region shows SynthEyes where to begin to look for the pattern (though it can finish somewhat outside). You can relocate and/or tighten up the search region by adjusting its corner handles.
Here are some situations where manually-keyed search regions are useful:
- when a shot contains an object already moving at significant speed at the main frame (you provide search guidance while the predictor gets up to speed);
- when there are repeating textures such as brick or windows, and the tracker has jumped to the wrong repetition;
- there is a small short-term occluding object knocking the tracker off course (some quick search guidance can be easier than masking);
- when there is a big bump in an otherwise-smooth shot.
Keying the search region is a very powerful and useful technique; you should key the search region, rather than the tracker, whenever possible.
If you re-position the tracker's corner keys manually, you will typically introduce glitches in the final tracker, camera, and object path. By keying the search region, you still allow SynthEyes to find the best match, avoiding unnecessary glitches.
To set a key on the search region, you can
- drag the search rectangle,
- drag an individual corner,
- shift-drag a corner to scale the search region,
- rotate it with the virtual rotation handles (just outside the corners.
The tracker will update when you stop dragging. After you have keyed the search rectangle, its corner handles will be red on that frame, and a key will be shown in the main time bar.
Large search regions will greatly increase compute time; rotating the default search rectangle can inadvertently create very large search regions.
You can remove the manually-set keys on the search rectangle on a particular frame by shift-right-clicking the search rectangle. If the control key is down, all search rectangle keys will be deleted.
Re-Keying the Pattern
Over the course of a shot, the plane that is being tracked can change substantially, especially due to lighting changes where the plane brightens up due to its alignment to a light source, due to changes in the image being tracked (ie it is not fully planar), due to resolution changes, or other shot-dependent effects. Those changes can cause tracking to be lost or to drift off target systematically.
When this occurs, back up to a recent time when tracking was doing well, and double-click the main tracker rectangle. This will set new corner keys at exactly the tracked locations, and this optical pattern will be used for following frames. You can do this repeatedly over the course of a shot.
NOTE Tricky this kind of re-keying to accommodate lighting changes is the done automatically for regular trackers by the Key Every setting—and you can set up a Key Every setting for a planar tracker. Since this setting is not visible from the Planar tracking panel, it is easy to forget you have set it! Be careful that you don't unwittingly add a key when a small object moves in front.
WARNING You can't delete an auto-key, because it is instantly re-set. You must change the auto-key value, add a new key somewhat before the bad auto-key, so that the next auto-key is pushed later in the sequence..
If you need to make changes in the original main key frame, you'll need to re-set the additional keys, either by deleting them en masse in the graph editor, say, or individually as you reach them when re-tracking. To remove the existing key, shift-right-click the main tracker rectangle (as you can with the search rectangle). To delete all keys except that on the main frame, shift-control-right-click.
When you add additional keys by repositioning the corners (not by double-clicking), the corner locations will be limited so that the 3-D aspect and field of view exactly match those of the main frame, except that the field of view will be alterable for zooming 3-D planars.
Pattern Completely Occluded or Off-Screen
Sometimes your tracker may become completely untrackable, for example when it goes completely off-screen, and actor covers it entirely, an explosion whites out the screen, etc.
In this case, you should disable the tracker on the frame where it disappears or becomes useless, via the small green/yellow stoplight under the tracker mini-view. It will no longer be tracked.
Then re-enable the tracker when it is adequately visible. If the tracker has been hidden only for a short time (set by a preference), the tracker will reappear and attempt to re-locate its pattern in the image based on its predicted location. If it reappears, but in the wrong location, key the search rectangle to show SynthEyes where to look.
If the tracker does not immediately reactivate because it has been missing for more than the preferred number of frames, hold down the 'Z' and shift keys and push the left mouse button to drop the tracker into its new position.
This "shift-Z-drop" positions the search rectangle, not the tracker corners, to ensure maximal continuity of the pattern with the original main key frame. The tracker should jump into the best new location without the need for corner position keys.
You can use the basic Z-drop with no shift to re-enable the tracker and place the tracker itself at the location you specify. You can re-key all four corners as necessary.
NOTE You can switch back and forth between shift-Z-drop and Z-drop as you drag, or as we often do, when you recall that shift-Z-drop is actually a better idea.
NOTE Hint #2: If you need to create a planar tracker that is partially off-screen, zoom the display out first. Note that there will be no reference pattern available for the off-screen portion, so once the tracker is all on-screen, you may want to set another key.
Tracking Forwards or Backwards
Each tracker in SynthEyes (planar or regular) has a tracking direction, shown by the small arrow underneath the tracker mini-view. This tracker direction is different than the playback direction arrow on the main timebar; either can be changed at any time.
When you hit Play on the main time bar, only trackers with the same direction are updated, ie tracked to follow whatever they are following. Trackers with a different direction are shown, but only show previously-obtained results.
Though this may seem unnecessary at first glance, it turns out to be essential to providing the experience you expect otherwise. (Tracking is more like simulation than animation; it is causal with one thing depending on the next ... time flows in a particular direction.)
When you create a tracker, it takes its direction from the current play direction. You can hit Play, and it will track through the shot (along with any other unlocked trackers in the same direction setting).
If you needed to create the main frame somewhere in the middle of the shot, you can then go back to the main frame and click the tracker's direction arrow, to change the direction of the tracker. SynthEyes will make some updates to the tracker's enable track (and for regular trackers, add some position keys) to accommodate the changed tracking direction.
The main playback direction will also change, for your convenience, and you can then click Play to continue tracking in the new direction.
You can change a tracker's direction as often as necessary, with different frames tracked in different directions. This can cause some subtle issues, however.
When planar tracking, SynthEyes uses as a reference the most recent key... ie the closest keyed frame behind the current frame, considering the tracker's tracking direction. If there are multiple keyed frames, the reference frame for a specific frame depends on the tracking direction. With keys at frame 20 and 30, the reference is 20 when tracking forward, and 30 for tracking backwards.
If you change direction and retrack the same frame, you may get a different result, and neither one is specifically "right." In practice, this is rarely a significant concern; we point it out for your awareness, and present a little advice.
We advise not changing tracking direction too wildly or unnecessarily; have a little bit of a plan. If you do find that you have changed tracking direction repeatedly in a disorganized fashion, we advise doing a final tracking pass at the end that makes a single pass, or two with the main frame in the middle, to make all the tracking results consistent. That will prevent unexpected results if you update the track days or weeks later. It can be helpful to set a few more keys in problematic areas to ensure that the retrack stays on course.
Glitch Fixing
You can expect to see a higher jitter level in a 3-D planar tracker's 3-D path than you would from a solid normal 3-D solve, since the planar track is based on less information. You should not be unduly concerned about that for the purposes intended for planar tracking, because the jitter corresponds to motions that will not make a difference to effects inserted near the tracked plane.
You may notice larger glitches in the camera or object path that you didn't initially notice in the tracker data itself, and those bear investigation and correction. Clearly, the best choice is to fix the tracking data itself.
If you attempt to set 2-D keys on additional frames of the planar tracker in the image to correct problems, it will be very difficult to produce smooth paths.
Instead, set new search region keys on the tracker wherever that is effective; allowing the tracker to find the correct solution.
You can manipulate the camera or object path in the 3-D environment using the 3-D or perspective viewports, which are probably what you are looking at anyway. The perspective view offers path-relative handles (via the right-click/View submenu) that can help.
NOTE You can see the 3-D path of a planar tracker in the graph editor, but it is not editable there.
Another option for relatively smooth camera or object motions: delete the camera or moving object's position/rotation key on a problematic frame, by right-clicking one of the spinners on the 3-D panel with the camera/object selected, or using the graph editor. Data for the missing frame will be interpolated from adjacent frames.
To reduce small overall jitters that have proven problematic, you can consider using the Filtering Control button on the Solver panel to filter the converted camera/object path.
IMPORTANT : filtering causes sliding, creating mismatches between the 2- and 3-D data. Accordingly, filtering should be avoided unless absolutely necessary.
Filtering the Distance channel will cut down chatter towards and away from the plane, without affecting the image much, good or bad.
Perspective View of 3-D Planar Trackers
A 3-D planar tracker's 3-D rectangle is displayed in the perspective window; you can see it moving about from any vantage point.
When you lock the perspective view to the camera, and want the planar tracker to match up with the shot imagery, the camera field of view must match the 3-D planar tracker's.
The planar tracker's FOV is what the tracker says the FOV must be, in order for there to exist a 3-D rectangle that can be placed to match the 2-D coordinates. If the viewing FOV is different, there will be a mismatch.
You can see this in the perspective viewport when it is locked to the camera view. Both the 2-D outline of the tracker and the (reprojected) 3-D rectangle are shown. Normally, with matching FOV, the two rectangles match exactly and appear as one.
But if the viewing FOV is different than the tracker's FOV, there will be a mismatch, and you will see two different rectangles. This is a problem, since your inserted 3-D effects will be based on the 3-D rectangle—here you are literally seeing that your effects will not match up, not only in SynthEyes, but in your downstream 3-D applications either.
So it is crucial that a 3-D planar tracker always be viewed by a 3-D camera that has exactly the FOV that the 3-D planar tracker says it must. (For zooming 3-D planar trackers, the camera must zoom identically.)
Adding More 3-D Planar Trackers
When you add additional 3-D planar trackers into the scene, you must take some care to make sure that they are compatible with each other, as well as with the viewing camera.
Since each and every planar tracker must match a single camera, all of a camera's 3-D planar trackers must have exactly the same field of view! This is not a limitation or bug... it's just the way physics works! A camera can have only one field of view.
It requires paying attention a little, to make sure you get it right.
First, it's best to create the largest and best 3-D planar tracker first, ie the one that is best for discovering the camera field of view.
For subsequent planar trackers, you should re-use this same field of view. The easiest way to do that is to run the Save Planar FOV as Known Seed script (available on the Planar scriptbar), then set up subsequent trackers with the motion type 3D Known FOV.
If you have already created some planar trackers with mismatched fields of view, you can correct this relatively easily. Determine which field of view you would like to use. Then either apply it to each tracker, or, preferably, to the lens seed FOV track and change the trackers to have Known FOV. The advantage of the latter approach is that this will keep the correct FOV even if you change the tracker's main frame later.
We'll run through three different methods altogether; the first is recommended.
Save a Tracker's FOV as Known
To do this recommended approach, select the tracker with the FOV value (or values, for zooming lens) that you want to use, and run the Save Planar FOV as Known Seed script (available on the standard planar tracking scriptbar).
After setting up the known lens seed value, change each 3-D planar tracker to 3D Known FOV mode, and answer Yes about correcting the main frame corner keys. You must re-run each affected tracker through the entire shot. For relatively small FOV changes, this should be safe and reliable, though it will likely take some time. Better to get it right in the first place.
Manually Enter a FOV as Known
You can set the Lens seed value manually to any value, though this is difficult for zooming lenses. On the lens panel, change the Lens mode to Known. (If a question pops up about asking to copy the Solve to Seed track, say No, then go to the View menu and turn on Show Seed Paths while you enter the value.) Enter the desired field of view value.
After setting up the known lens seed value, change each 3-D planar tracker to 3D Known FOV mode, and answer Yes about correcting the main frame corner keys. You must re-run each affected tracker through the entire shot. For relatively small FOV changes, this should be safe and reliable, though it will likely take some time. Better to get it right in the first place.
Manually Adjust Tracker FOVs Individually
To set the FOV on individual trackers, go to their main frame. Enter the desired FOV into the tracker's Own FOV spinner. You must re-run each affected tracker through the entire shot. For relatively small FOV changes, this should be safe and reliable, though it will likely take some time. Better to get it right in the first place.
Troubleshooting
If your planar tracker goes off course and wanders away, or switches to a somewhat different version of the search pattern, here's a checklist to examine.
- shot prediction mode—should it be set to hand-held, ie is it a bouncy shot?
- search size— (very common!) if the search size is too small, sporadic bumps in the shot will often cause loss of track, or a pattern that inexplicably changes to a somewhat different version.
- obscuring objects—if other significant objects come between the camera and the tracked object, they should be masked out, see Masking.
- poor contrast—if the pattern has little monochrome contrast, you may need to switch to specific channel or full RGB processing, see Channel Selection.
- pattern has only fine detail—if the search pattern is mainly fine lines such as text, you may need to switch to High Detail mode.
- rotation—if the shot suddenly "goes dutch" and spins, or an object being tracked spins rapidly around the axis facing it, increase the rotation rate search parameter.
- zoom shots—the default scaling change parameter is intended for slow changes. If there is a crash zoom, increase the scaling rate search parameter.
If the tracker mini-view shows an interior that slowly shifts in some direction over the length of the shot
- the tracked surface isn't flat (a recessed door, say). The interior may need to be masked out (see Masking)
- the field of view defined by the main frame corners isn't correct. The corner locations should be adjusted, possibly by adjusting the Own FOV spinner.
Masking
Planar tracking will be corrupted if objects such as actors, vehicles, or foreground objects pass between the camera and the tracked surface. Similarly, tracking is compromised if environmental effects such as changing light level, reflective highlights, or spotlights affect the image. Small occlusions or changes may be ignored successfully due to the robustness of the planar tracker, but for larger changes, the tracker will be less accurate, or tracking may be lost totally.
There are several ways to mask out occluding objects or highlights from SynthEyes planar trackers:
- Auto-Mask — automatically-generate a mask based on comparison to the original reference frame.
- In-plane masks — static masks on the planar tracker itself, for example to mask out interior holes.
- Roto-masks — Animated garbage masks created from the SynthEyes Roto panel.
- Planar tracker layering — one planar tracker can occlude another
- Alpha masking — an externally-supplied alpha channel acts as mask
WARNING The “Invert” button on the Roto Masking panel is not supported by Planar Tracking. Inverted layers are treated as if they are not inverted. In all known cases, a spline stack containing inversion can be converted to an equivalent version that does not use inversion (and it’s usually simpler).
Each of these methods allows you to prevent a portion of the image from being considered during tracking. You're able to see that directly in the monitor view of the Planar tracking panel; untracked pixels show as a faint colored checkerboard.
You must ensure that there is enough of the image left to constrain the tracker pattern appropriately. For example, a single corner feature does not contain enough information to control the scale of a 2-D or 3-D planar tracker: there needs to be several features spread throughout the planar area.
NOTE Where are the controls? Each masking method is largely configured via the Planar Options control panel, which is available underneath the main Planar control panel on larger monitor displays. On smaller displays, pop it up via the gear icon directly underneath the tracker mini-view.
Auto-Mask
Naturally, using an automatically-created mask has a lot of appeal, rather than doing detailed mouse work to create animated roto-masks. Like using the big AUTO button for 3-D tracking, using the Auto-Mask feature is a tool, one that can be very useful on some shots, and not at all on others. We describe it first mainly because users will be drawn to it anyway.
The basic idea is simple: SynthEyes compares the reference frame to the immediately prior frame, and generates a mask (the auto-mask) for the parts that are different. Tracking for the current frame then ignores the masked-out portions, as if they were off-screen or covered by a garbage mask.
For this to work:
- there must be an unobstructed reference frame with decent resolution,
- there must not be substantial lighting changes compared to the reference frame, and
- the occluding object must not have moved too much since the prior frame where the auto-mask was generated.
The following sections describe the auto-mask controls. The enable is on the main planar control panel; the other controls are in a special section of the Planar Options control panel.
While we aim to have the default values apply to as broad a selection of shots as possible, if you are using auto-mask you should be familiar enough with the controls to be able to recognize when they need adjustment.
Auto-Mask Enable
Auto-masking is turned on or off by a control in the row underneath the tracker mini-view: an empty screen means disabled, a screen with a stylized person means enabled in monochrome mode, and a screen with stylized person and RGB background means enabled in RGB mode.
As with planar tracking itself, the auto-masking can be done in monochrome mode (ie based on the channel selected for tracking) or in RGB mode, where red, green, and blue are processed regardless of the tracking channel. And again, RGB processing works better for content with low luminance contrast, at the expense of somewhat longer processing time.
Despite the longer processing time, the RGB option is probably a good choice if you enable auto-masking.
Auto-Mask Threshold
The threshold sets the minimum difference in a pixel's values between the reference frame and the frame being evaluated, in order for that pixel to flagged, ie be considered as having changed enough that it needs to be masked out.
The value ranges between 0 and 1, scaled appropriately to match 8-bit, 16-bit, or floating-point source imagery. At zero, even the slightest change will be flagged, while at one, even full-scale changes will be ignored.
A smaller value provides more sensitivity, to better ignore occluding objects even if they are relatively close in appearance. But a value that is too small will flag too many spurious pixels due to camera noise, lighting changes, and small shifts near image edges.
Auto-Mask Coverage
The coverage values ranges from 0 to 1 and affects noise filtering of the mask, which is performed after the thresholding in the prior step. Larger values will better eliminate spurious flagged pixels, though it will shrink the mask slightly. Smaller values will better permit small details of occluding objects to be flagged or not.
Though this value may be the subject of some experimentation, generally it should be the least likely of the three to require changing.
Auto-Mask Spread
The spread value controls how much the mask is expanded, after the coverage checks above. Use the spread control to account for the motion of the occluding object from one frame to the next: the mask shows where the object is occluding on frame 100, say, yet the mask is needed for frame 101, and the object and plane will have moved between frame 100 and 101. The mask from 100 is just an approximation of the mask needed for 101; the spread control makes it a bit bigger so that the object is still masked out.
While a larger spread accommodates more object motion, a larger mask leaves that many fewer pixels for the actual tracking, putting the track at risk. And a larger spread does increase processing time.
Workflow Suggestions
If you need auto-masking on a shot, try it with the default parameters. If you find that you need to adjust the parameters, usually you will still have a number of frames tracked that include at least some of the occluding object.
You can use those frames to experiment with the auto-mask parameters. Once you've determined satisfactory settings, you can go back and rerun the track with those parameters.
To experiment with the settings, it's easiest to go to a frame that is already successfully tracked, but where the occluding object is already occluding the planar tracker. Set a key on that frame by double-clicking the tracker rectangle. That will prevent the tracker from moving as you experiment with the settings.
You can now adjust the auto-mask settings, examining their effect in the tracker mini-view to see if the auto-mask is as required.
Once you've found appropriate settings, shift-right-click the tracker rectangle to remove the key, back up before the occluding object appears, and proceed with tracking.
Limitations of Auto-Masking
Auto-masking is a tool and image issues may make it inapplicable.
Chief among these is lighting changes, especially where the changing orientation of the lights, tracked plane, and camera cause large highlights to appear on the tracked plane, with resulting changes not only in luminance but in saturation as well. In a non-occluded shot, you normally deal with this by periodically re-keying the search pattern, but this is not an option when there is an occluding object as it "burns in" the image of the occluding object. If the main illumination compensation control is turned on, auto-mask performs additional processing to try to compensate for the lighting change, but this has limited effectiveness on significant illumination changes.
You may also see flagged pixels start to appear more and more near sharp edges in the image, where slight changes in planar position correspond to large changes in pixel values. You should be sure to use Detail: High mode, and you may be able to mitigate this by increasing the Coverage value.
If auto-mask isn't able to work with your footage, you'll need to use animated roto masks or layered trackers.
In-Plane Masks
A planar tracker is a rectangle, but you can refine its shape using In-plane Masks, created using controls at the bottom of the Planar control panel. You draw the in-plane mask on the 2-D or 3-D planar tracker itself: if you move or re-shape the tracker, the in-plane masks are carried along and reshaped to match.
Create a mask by clicking the create button in the In-Plane Masks area of the Planar Options panel. Then begin clicking within the planar rectangle in the camera view to create control points for the mask. Points are corners by default; to make a point smooth, hold down control while clicking to create it. After you've created the last one, right-click to exit that mode.
After you finish creating a mask, you can change control points from smooth to corner or vice versa by double-clicking them. You can move a control point, though since the in-plane masks correspond to static features on the plane itself, movements are not animated. You can add more control points by shift-left-clicking the curve (again, control for smooth curves), or delete a control point by shift-right-clicking it. A mask is deleted when it has less than two points, or you click the red X in the In-Plane Masks area.
You can create positive or negative in-plane masks: positive masks say that the interior pixels should be considered in the tracking region, while negative masks are excluded from tracking. Use a positive mask to track only within an irregular area. Use a negative mask where you need hole, for example over a window in the side of a building, if the action happening within the window would compromise the track.
In-plane masks are layered: the order matters and can be adjusted with buttons. This should be familiar to users of compositing software such as Photoshop, AfterEffects, Illustrator, etc.
The bottom-most mask (ie the first one you create, unless you have changed the order) is treated specially: if the bottom mask is positive, the exterior of the mask is untracked and only the interior is tracked, subject to additional layers added on top. If the bottom mask is negative, then the entire exterior of the mask (planar rectangle) is tracked and the interior is untracked, subject to additional layers added on top. This control is really what you expect and require, though it may surprise you initially as you are setting up and configuring the masks.
Roto-masks
Any garbage mattes that you set up using the SynthEyes Roto panel will occlude (cause holes in) all planar trackers that they pass in front of. So you can set up an animated garbage rotospline around actors, vehicles, elements of the set, etc that pass between the camera and the tracked 3-D plane. Be sure to set the spline to "Garbage" on the roto panel, not "Camera01", "Object01", or other camera or moving-object names: only garbage mattes are processed by planar trackers.
NOTE Roto-masks are quite different than In-plane masks. Roto masks are animated, correspond to something that is not part of the planar surface, are not specific to any particular planar tracker, and are created from the SynthEyes Roto Panel. In-Plane masks are static, correspond to something on the planar surface itself, are part of a particular planar tracker, and are created using controls on the Planar tracking panel.
WARNING The “Invert” button on the Roto Masking panel is not supported by Planar Tracking. Inverted layers are treated as if they are not inverted. In all known cases, a spline stack containing inversion can be converted to an equivalent version that does not use inversion (and it’s usually simpler).
You can create some preliminary conventional or 2-D planar trackers and use the "Import Tracker to CP" (control point) button on the roto panel to rapidly animate a spline. Import to a spline's Origin and Rotate/Scale control points to rapidly create a spline that tracks something through an entire shot. Once you've done that, you can hand-animate the individual control points for fine tuning.
Planar Tracker Layering
Planar trackers occlude one another: if a planar tracker moves in front of another planar tracker, the tracker in back will have a dynamic hole knocked in it by the foreground tracker.
For example, consider a planar tracker tracking a car as both pass in front of a wall that is being tracked by a second planar tracker. The tracking of the background wall will not be affected by the pixels corresponding to the foreground planar tracker.
Note that to make this useful, the in-plane masks on the foreground planar tracker are used to occlude the background. If the foreground planar tracker is circular, for example, it will knock a circular hole in the background planar tracker, as you'd expect.
NOTE ! If you change a foreground planar tracker, you will probably want to manually re-run the track of the background planar tracker as different pixels will be exposed or covered; this must be done manually because it generally involves a substantial CPU load, and you don't want to do it until you're really done with the foreground tracker.
Alpha Channel
Especially in shots that contain green-screen elements, you may have already roto'd out actors. Those same actors are often the elements that occlude objects you are trying to track. You can save your roto mattes (from whatever application you are using to generate them) and use them in SynthEyes for the planar trackers.
You can store the alpha channel in the RGB(A) source imagery (be sure to turn on the Keep Alpha checkbox when opening the shot), or you can store the alpha channel data in a separate set of files in tandem with the RGB imagery. The file naming is controlled by a preference, by default for a shot with files shot38_0000.dpx you'd name them shot38_alpha_0000.png for the default preference setting. Support for gray-scale-only image formats is limited: use PNG or TIFF files for true gray-scale images.
The alpha polarity control says whether to include or exclude the selected pixels in the alpha mask, or to ignore any alpha channel.
Working with On-Set Measurements
Measured Height or Width in 3D
You may have measurements from the set for the dimensions of the plane you are tracking, for example a 36" wide door. Such on-set measurements will allow you to provide a 3-D track that ties in to real-world measurements. A single width or height measurement will not affect the tracking of an individual tracker, but if you have both you can specify the exact aspect ratio, which will affect positioning of corners and subsequent tracking.
If you have one measurement, you can enter it into the 3-D Size value, and set the radio button to Width or Height appropriately. As you adjust the 3-D Size spinner, you'll see the scaling and positioning of the planar tracker change in the 3-D views, moving towards and away from the camera. But the size in the camera view does not change! (If you have a choice of values to measure, a height is preferred. For measurement accuracy, the longer dimension is better, so with high-aspect rectangles you might want to consider height the long dimension.)
Measured Height and Width: Known Aspect
If you have both width and height measurements from the set, then you know the rectangle's aspect ratio. You should divide width by height to obtain the rectangle aspect ratio, select the 3-D Known Aspect planar mode (or a variant), and enter the computed aspect ratio into the 3-D Aspect spinner on the Planar Options panel. (You'll likely need to re-set corner positions to compatible locations.) Note that the known aspect ratio mirrors the tracker aspect ratio on the tracker panel.
With the aspect ratio configured, you can also enter the measured height into the 3-D Size spinner.
OK, it's tracked. What now?
To be useful in most 3-D animation packages, and compositing applications with a 3-D environment, each 3-D planar tracker should appear as a 3-D plane (rectangle), with either the plane or 3-D camera animated.
You can then texture the 3-D plane with a still, image sequence, or anything else (e.g. AE composition). Use an alpha channel to limit effects to the desired portion of the 3-D planar tracker. You can also add additional 3-D objects, particle effects, etc; that's all up to you.
If you have 2-D planar trackers, you can export them as animated 4-corner pins to After Effects, Fusion 7, Nuke (other applications TBD). They can be exported as a single 2-D tracker path by a number of SynthEyes 2-D exports, or of course used in a SynthEyes 3-D scene solve to determine their 3-D location.
The 3-D planar trackers can be exported to any application that supports the required functionality via the Planar Export Preparation script. (Exports to After Effects are described separately later.)
IMPORTANT See Exporting to Your Animation Package in the SynthEyes User Manual for information about exporting the completed scene to the various applications.
The script adds a matching physical 3-D mesh object for each 3-D planar tracker. In moving-camera mode, it animates the camera to move appropriately. In moving-object mode, it creates a SynthEyes moving-object, animates the moving object to move appropriately, and parents the planar object's mesh to it.
The augmented scene can then be exported through any regular exporter.
Running the Planar Export Preparation Script
To ready a scene with 3-D planar trackers for export, run the Planar Export Preparation script, in the Planar Tracking subsection.
TIP You may not need to do this if you are doing a 2- or 3-D export to After Effects. See the following sections on export to After Effects.
NOTE Export Preparation is on the Scripts menu, not in the Exports section, as it is a tool, not an exporter itself.
NOTE Great Tip: To save time, you can use the Planar Tracking script bar. Control-click the Planar Options' gear icon, or use the Script/Script bars/Planar Tracking menu item. The script bar will save a lot of time!
The script will ready the selected planar 3-D trackers, so you should select the desired tracker(s) for conversion before running the script.
The script contains a fair amount of error checking for your benefit. For example, it catches trackers that have one field of view value for part of the track, and a different value for the rest, or where different trackers have different fields of view. (See Adding More 3-D Planar Trackers.)
Once you start the script, you'll have a few decisions to make. The key "Moving Camera or Moving Object?" choice is covered in the following section, and choosing a coordinate system for 3-D planar trackers in the section after that—it's much simpler than for a full 3-D solve.
You can choose how many grids you want in the 3-D mesh created for the planar tracker. By default, just for esthetics, it is twice the number in the planar tracker itself, which makes it very visible within SynthEyes and results in accurate renders in downstream applications. You can pick any desired number.
You'll have to decide whether the SynthEyes seed tracks or solve tracks should be written by the script. This depends on how you want the planar tracks to interact with any existing or following regular 3-D solve. So it you are only doing planar tracks, this doesn't matter! If you will be doing additional known-FOV planar tracks, you can write to the seed tracks. If you want to filter the data, use the solve track.
NOTE Background: Seed tracks are made available to SynthEyes solves for potential guidance, ie the starting point of a solve using Known lens mode, or From Seed Path solving mode. Solve tracks are where the result of a 3-D solve is put; these are considered relatively transitory.
After you've run the script, you'll see the newly-created mesh(es) and any newly-created moving object(s) in the scene, and you can export using whatever 3-D export you want. Note that not all exporters support embedding 3-D meshes in the export; in that case you'll need to recreate the mesh in the application, or export it separately.
After exporting, it may be convenient to hit Undo to remove the effect of the Export Preparation script, if you want to do additional work on the planar trackers.
Or, run the Unprepare script, which will delete the added meshes and moving objects for all planar trackers in the scene.
Moving Camera or Moving Object?
The plane needs to move correctly relative to the camera; that can be achieved either by having the camera moving in 3-D and a stationary planar tracker, or a stationary camera and the planar tracker moving in 3-D. From the standpoint of a camera match, both are equivalent and neither is necessarily the 'right' answer.
For a shot from a helicopter with a planar tracker on the ground, a moving camera configuration makes sense. For a shot from a camera on a tripod tracking a planar tracker on car driving by, where effects are to be added to the car, a moving object configuration makes sense.
Sometimes artists may prefer a moving object approach (stationary camera) just because it is more familiar and similar to a 2-D environment.
When multiple planar trackers are concerned, a moving object approach is indicated, because the camera can't be positioning correctly with respect to two differently-moving planes at the same time. For example, changing the hood logos of two racecars battling each other down the straight-away, a two moving-object approach makes sense.
IMPORTANT When you have multiple 3-D planar trackers in a scene, you need to make sure they have the same field of view! See Adding More 3-D Planar Trackers.
The situation is a bit more complex when particle effects are involved (or other world- or velocity-dependent effects). Consider adding a smoke trail to a moving steam locomotive, as shot from a helicopter (or tripod shot tracking it). The smoke needs to trail behind the locomotive based on its ground-relative velocity, then rise vertically, ie with no ground-relative velocity. You've tracked the locomotive.
With a moving-camera setup, the locomotive isn't moving at all. With a moving-object setup, the locomotive is moving gradually around relative the camera, and the smoke is going all different directions relative the locomotive, perhaps creating some helix above it. Clearly neither approach is correct!
Instead, you need to also track the ground. Animate the camera relative the ground tracker, and in a second pass, the locomotive tracker as a moving-object tracker. This way, the locomotive moves correctly relative to the stationary ground (world coordinate system), and the smoke particle effect can work properly.
For multi-object situations that require accuracy, conventional 3-D or tripod solves for the camera and moving object (train) may be a better approach.
Coordinates for Planar Trackers
As with a traditional 3-D solve, you should decide where you want the camera and your 3-D planar trackers to appear in the 3-D environment. This is an artistic decision, not a technical one, as the match-move is unaffected by where you place the scene. That means that it's up to you to decide what you want! You don't have to do anything, but a good decision can make your later work easier.
For example, suppose you have tracked a rug on the floor; you want to add a logo to it. You could use a default moving-object export, and the rug mesh would be moving around in "the middle of the air," not on the ground plane. You could do the effect, though it might be a big less intuitive. (If it was a 3-D particle effect, it would not be satisfactory.)
If you switch to a moving-camera export, the rug mesh will be stationary, with the camera moving instead. But where should the rug be?
The Export Preparation has a dropdown for you to answer that question: you can select Front plane, Top (Ground) plane, Left wall, Right wall, Back, or Ceiling. (There's a little creative ambiguity in these names to be more intuitive.)
So for a rug, you probably want to select the Top(Ground) plane setting. If you tracked a window, you might choose Front, for something directly ahead you see in the front camera view, left wall for a window to the left, ceiling for something on the ceiling. Back is for something on the back of the front wall.
There's an additional setting, Camera as-is, that says to leave the stationary tracker right where it is in 3-D on the first frame of the shot, and animate the camera to evolve accordingly after that.
NOTE If the 3-D planar track isn't valid on the first frame of the shot when using As-is mode, then the tracker's main frame is used as the official position of the tracker. When positioning the scene, do so on the correct frame.
When using as-is positioning, or using the moving-camera mode, you can manually pre-position the camera to any desired location, using the 3-D viewports, perspective view, and tools on the 3-D panel. For a moving-object shot, for example, you might decide that the camera was looking mainly down to the left, and adjust the 3-D camera accordingly before running the export.
You can also adjust the positioning of the camera and planar trackers as a unit after running the export preparation script. Go to the 3-D panel and click the Whole button, meaning that you want to move the entire scene.
For example, suppose you had tracked a window in a second story building, as shot from ground level. When you run Export Prep, you select the Front option. The generated scene puts the window tracker at the origin (ground level) with the correct orientation. You can then use the Whole button to move the scene upwards, so that the window is at some subjectively reasonable (but untracked and unknown) height.
The result will be a scene that will be more easy to visualize and work on, and that is the point of paying attention to the coordinates.
3-D Export to After Effects
Planar 3-D trackers can be exported directly to After Effects, creating a 3-D environment in After Effects; you do not have to run the Export Preparation script, or any 3-D solve in SynthEyes. Of course, planar trackers can be exported as part of a solved SynthEyes scene as well, either as planar trackers or as regular trackers. (And you can export a 2-D After Effects scene, as described in the following section.)
In the most common case, you will create and track a 3D planar tracker. After you orient the camera as desired, you can run the After Effects Javascript exporter. The planar tracker will be exported as a moving 3-D placeholder layer with a stationary camera. (For an export where the camera moves, use the Export Preparation script first, as described in the section on it. Similarly, use export preparation if you want to preconfigure imagery for the planar tracker's After Effects layer from inside SynthEyes.)
When you include planar trackers in the After Effects exporter, the exporter examines the camera FOV and sets it to the planar tracker's FOV, if necessary. If there are multiple incompatible planar trackers, an error will be reported and the export will stop. See the section on Adding More 3-D Planar Trackers for more information.
You can replace the placeholder with whatever still image, footage, or composition you want, using usual After Effects functions. You can ALT-drag (Win) or Opt-Drag (Mac) replacement footage into the planar tracker layer. Replacement footage should have the same size as the original shot; due to the details of After Effects operation. If you need to change to images of a different size, put the different-sized footage in a new comp with the same size as the main original shot, then replace the placeholder with the comp.
2-D Export to After Effects & Etc
If you'd rather work in After Effect's 2-D environment, or you only have 2-D planar trackers, you can use the After Effects 2-D from Planars exporter.
NOTE There are comparable 2-D corner pin exports for Fusion 7 and Nuke, though the discussion here describes AE in particular. Exports should be possible for other compositing applications that support animated 4-corner pins. If you are interested in that and willing to supply sample data and otherwise help, contact us.
It will create a simple 2-D After Effects composition with the original footage and a 2-D placeholder layer for each planar tracker. The placeholder will have an animated 4-corner pin using the SynthEyes tracking data. The 2-D exporter can be an easy solution for simple tasks such as monitor insertions or sign replacements. (You do not have to run the export preparation script.)
As with the 3-D export, you can replace the placeholder with whatever still image, footage, or composition you want, using usual After Effects functions. You can ALT-drag (Win) or Opt-Drag (Mac) replacement footage into the planar tracker layer. Replacement footage should have the same size as the original shot; due to the details of After Effects operation. If you need to change to images of a different size, put the different-sized footage in a new comp with the same size as the main original shot, then replace the placeholder with the comp.
Both 2-D and 3-D planar trackers can be exported using the 2-D exporter. Note that there is no FOV consistency requirement for 3-D planar trackers when using the 2-D exporter, because there is no camera in the AfterEffects setup.
Advanced Topics
Changing the Main Frame
If you realize that you must change the main frame, that can be done by deleting the current main frame and allowing a new one to be chosen. That will be the previous keyed frame from the current main frame (considering the tracker's tracking direction). In general, you may need to remove all keys except the current main frame and the one you want to be the new main frame.
You can do that by shift-right-clicking the tracker rectangle on frames where the tracker key is to be removed. If there are many keyed frames, it may be easiest to control-shift- right-click the tracker rectangle to remove everything except the current main frame, then re-establish the key on the desired main-frame by double-clicking the tracker rectangle.
Either way, once there are only the old and new main key frames left, delete the old main frame key, and a new one will be determined, ie the one you want.
If you want to change the main frame without affecting other frames, you'll need to use a small Sizzle script. In general, changing the main frame at all should be very rare, if you are paying attention to start with.
Self-Consistency
When you change a parameter that affects a planar tracker, any prior tracking results no longer correspond to the current settings. For example, if you move a corner location slightly on a key frame, this will change the tracker reference position and likely tracker location on all frames that have been tracked using this frame as a reference. Just about every parameter change ripples from one frame to the next throughout the shot in a version of the infamous "Butterfly Effect". (Tracking is inherently quite different than animation systems you are familiar with.)
So in theory, when one parameter changes, we should invalidate many or all already-tracked frames, marking them for re-tracking.
In practice, that can cause a lot of unnecessary work.
It's far more convenient to allow you to change parameters without necessarily erasing everything else immediately. Many minor changes wind up not really mattering, at least immediately. By not immediately invalidating earlier work, you can proceed through a shot. This is especially important with changes in tracking direction, etc.
Ultimately, you can wind up with a situation where the stored tracking data is not internally self consistent, as it was created with one set of parameters in one area, and a different set in another area.
We recommend that if you've been busy experimenting with parameters over the course of a track, you go back and have it re-track through once more without making changes to ensure that everything is self consistent (eliminating path glitches due to such changes).
Using Planar Trackers with Regular 3-D Solves
Planar trackers provide their own built-in 3-D solve, but they can also be used in regular 3-D SynthEyes solves, ie using the Solve panel. They can be used before the solve to provide additional tracking input, and they can be used after the solve to produce additional outputs.
Before the Solve
Before the solve, you can run the Create Planar Corners script to augment each selected planar tracker (2-D or 3-D) with four automatically-generated clones, one at each corner of the planar tracker. This gets you a lot closer to having enough for a traditional 3-D solve. (Naturally, this assumes that the 3-D planar tracker is solid.)
Because these trackers are all interrelated, they are not as data-rich as five independent trackers, but should be counted as 3-4 for purposes of assessing whether there are enough for a traditional 3-D solve (6+). Two planar trackers should be enough for a basic 3-D solve, as long as the two trackers are not co-planar. In a practical situation you might use several planar trackers and several regular trackers for a 3-D solve.
If a planar tracker is small, or much larger than the pixel region actually being tracked, and its corner data is not accurate, do not run the Create corner trackers script, and use only the nominal tracker center in the solve.
If you have a high degree of confidence in the field of view values produced from your planar 3-D trackers—and they are all the same—you can configure the camera lens to Known mode (which you may have already done to make multiple planar trackers match), so the 3-D solve will use it too. More on that in a moment.
NOTE A solver-computed FOV based on many trackers and frames will be more accurate than a FOV you have manually determined from one planar tracker on one frame.
Adding Planars After the Solve
You may want to add planar trackers after a 3D solve: not only is an exact FOV available, but so is the lens distortion. This is important for doing planar tracking with distorted shots.
After the 3D solve, you should run the appropriate Lens Workflow script, mode #1 or #2, depending on whether undistorted or distorted images will be delivered.
Then, run the Planar Tracking/Save Solved FOV as Known Seed script, to copy the solved FOV to the seed track, where it is available to planar trackers.
Then, create planar trackers and, before tracking them, change them to a Known FOV mode.
Planars Before and After a 3-D Solve
Here we consider what you can do with planar trackers that exist before a 3D solve, and how to make them consistent with a subsequent 3D solve.
After the 3-D solve, SynthEyes will have computed new locations for every tracker, including 2- and 3-D planar trackers, and any cloned corner trackers produced with the Create Planar Corners script.
The newly-produced location data will not match up exactly with the planar trackers or corner clones. The corner clones will not be precisely spaced to match the planar trackers, won't be coplanar, and the computed 3-D planar tracker locations won't match their original (still-displayed) positions.
While this may be surprising, it is not a bug, but a feature: the new data is more accurate than the old, and therefore different!
Since the main camera field of view is now different than the planar trackers' fields of view, you should not attempt to export them by running the Export Preparation script on them. That will tangle everything up. The exception: if your planar trackers all have the same FOV, and you set that FOV up as the Known FOV before solving (or for a re-solve), then it will still be possible to export the planar trackers directly. But remember that solver FOVs are more accurate!
So given that you should use the solver-computed FOV, and the planar trackers no longer line up, what should you do?
The first choice is to create new planar meshes that are the right size, shape, and position, using the 3-D viewports or perspective view. If you have set up a good coordinate system, or use the movable grid in the perspective view to snap onto the computed cloned corner tracker locations, you can create appropriate meshes easily.
The second alternative is to adjust the 3-D planar trackers to match the newly-computed field of view. To do that, go to each tracker's main frame, unlock it, and enter the Lens panel's FOV as the planar tracker's FOV. The corner positions will automatically adjust slightly to match the new FOV (hopefully not much different). Then re-run the tracker through the shot, and re-lock it.
NOTE You can also change the tracker to Known-FOV mode. There's a slight complication to this, as the Known-FOV data comes from the seed FOV track, not the solved FOV track. So if you want to do this, you need to copy the solve FOV to the seed FOV, whenever the solve changes, likely using Blast on the 3-D Panel. And each time you do that, the tracker needs to be re-tracked to the different FOV, which takes a while. Suggestions in this area welcome.
Once you have an overall 3-D solve, you can create additional planar trackers (see the note above). Planar trackers can be set as zero-weighted trackers (ZWTs), like regular trackers (and only on the regular Trackers panel!), which gives an instant 3-D solution as soon as two or more frames are solved. That solution gets used to determine planar tracker scaling. So there are some interesting possibilities there.
Lighting Compensation
If the lighting levels in the source shot change significantly over the duration of the shot, it can cause the planar track to lose tracking and wander off. One of the major causes of this is that the flat surface being tracked can suddenly catch a glare from the sun or on-set light, and blow out the exposure a bit. Often this entails not just a light-level change, but a change in colors as well. There are a number of ways to address shots exhibiting this issue.
First, you can periodically set a key on the pattern, if you are satisfied with the track on that frame. The planar tracker will use the most recent keyed frame as a reference, so you can set new keys that gradually accommodate the change in lighting. See Re-Keying the Pattern for more information.
Second, you can try the Uniform setting of lighting compensation, on the planar control panel. Under this setting, SynthEyes tries to adapt to signficant changes in lighting level between the reference and tracked frame. This setting is not without costs, however: depending on the imagery, it might throw off tracks that would otherwise succeed, and it adds a substantial amount of CPU time. So we advise using it only on specific shots that might benefit from it.
Third, you can use the high-pass filtering capability of the image preprocessor (hit 'P' to open it quickly). Adjust the Hi-Pass spinner on the Rez tab. This is not entirely convenient since it affects the images totally, as stored in the RAM cache, you'll be able to see only the high-pass image.
With the high-pass option, the image will be less affected by the changes in lighting. Of course, a good portion of the image is gone too, so there is less information to track! Be sure to set all planar trackers' detail mode to High, when using high-pass filtering.
Lens Distortion
If you have trouble placing the 3-D planar corners on the right spots to obtain a 3-D pyramid, even though they are clearly correct, or if you place them OK but the middles of the drawn sides of the planar tracker don't follow actual edges of the plane in the image (bowed in or out), these are signs that there is lens distortion in your images.
Planar tracking is incompatible with lens distortion (and other image deformations such as rolling shutter). Distortion should be removed via the image preprocessor, or you should do a 3-D solve, which is able to calculate it, so it can then be removed using the image preprocessor or some exporters, such as After Effects 3D.
Animated Rectangle Aspect?
Just like field of view, there could be a different rectangle aspect ratio determined on every frame of a shot, based on the best-matching corner locations. A rectangle with a changing physical aspect would have to be animated through the entire tool chain. However, animated aspect ratios doesn't correspond to our physical model, that of a fixed-3D-size and fixed-3D-aspect rectangle that is being tracked. So there is an intentional choice to find the best positions with the same 3D aspect—several algorithms work specifically to maintain the originally-chosen aspect ratio (either a known aspect, or that resulting from the original corner placements).
I Don't See the Planar Room
If you have set up your own customized room configuration, or open an older SynthEyes scene file, you may need to update the room configuration to have a Planar room. Details follow.
NOTE SynthEyes 1311, aka 2013.11.1029, or later is required for planar tracking.
To reset your room preferences to include the planar room, right-click in the tab-bar at top to get the room menu. Select Reset all to Factory, then right-click again and select Save all to Prefs.
Alternatively, if you wish to add the planar room to your existing custom configuration, start SynthEyes to get a clean new scene, right click and Add Room. Set it up with name Planar, panel Planar, secondary panel Planar Options, view Camera, Show Timebar checked, tooltip "Planar Tracking Panel: create and operate planar trackers." Then right-click Save all to Prefs.
If you open an older SNI scene file with no Planar room and wish to do planar tracking in it, right-click in the room area and select Reset all to Prefs.
Hall of Horrors
I'll try to show some things not to do here!
Chief among them: setting up trackers on uniform surfaces, so that the pattern can move without any change in the image. For example, tracking a monitor with a green card on it with a tracker that contains only the green card, nothing around it... the planar tracker can shrink down infinitely small and it is still perfectly green! Trackers need to include some contrasting surroundings.
Patterns should have large-scale features. For example, for monitor inserts having some tiny dots is not a good idea... any slight mismatch between the reference and the potential match, and the dots don't overlap at all. When that happens, there is nothing to be learned by repositioning the potential match—nothing changes because you are comparing background to background and dot to background. High Detail mode is a must.
Planar trackers where the interior is not coplanar with the border, for example, a fancy doorway where the door is recessed several feet from the frame. Because the interior isn't coplanar, it must be masked out, and only the coplanar border tracked.
Last modified on October 26, 2026
Was this page helpful?
What did you particularly like about this page?
What did you dislike about this page?
Thank you for your feedback.