Cellphone Commercial: 4-Point Tracking in mocha AE
Master Professional Motion Tracking with Mocha AE
Core Technologies You'll Master
BorisFX Mocha AE
Professional planar tracking software that installs with After Effects. Specializes in tracking surfaces rather than individual points for superior accuracy.
4-Point Corner Pin Tracking
Advanced tracking technique that monitors all four corners of a surface, essential for realistic screen replacements and perspective matching.
Planar Surface Detection
Revolutionary approach that tracks flat surfaces using X-splines and planar surface definitions for precise motion analysis.
Project Setup Requirements
Navigate to Project Files
Access Desktop > Class Files > After Effects Level 2 Class > Cellphone > Finished Clips to preview the final result
Open Working Project
Ensure yourname-Cellphone.aep is open in After Effects with previous exercises 3A-3B completed
Alternative Setup
If starting fresh, open Cellphone-Ready for 4-Point Tracking.aep and save as yourname-Cellphone.aep
Always set your Composition viewing panel to Full resolution before tracking. Tracking at less than Full resolution will produce imprecise results that compromise the entire project.
After Effects vs Mocha AE Tracking
| Feature | After Effects Native | Mocha AE |
|---|---|---|
| Tracking Method | Point-based tracking | Planar surface tracking |
| 4-Point Capability | Limited accuracy | Specialized excellence |
| Surface Recognition | Bull's eye point focus | Entire surface analysis |
| Wobble Handling | Struggles with rotation | Excels at perspective changes |
X-Spline Creation Workflow
Set Essentials Workspace
Click dropdown in upper left corner next to Tools and ensure Essentials workspace is selected
Create Outer Boundary
Use Create Rectangular X-Spline Layer tool to draw box around entire phone including fingers
Refine Spline Points
Switch to Pick Tool and adjust points by dragging at base of blue handles, not the blue boxes
Define Planar Surface
Click Show planar surface button and adjust blue inner box to match exact screen corners
Hold Z key and drag up to zoom in, drag down to zoom out. Hold X key and drag to pan around the view. Never press spacebar as shortcuts differ from After Effects.
You may notice that Janet's hands appear to pass behind the logo when they should be in front of the phone screen—an obvious compositing error that breaks the illusion. We'll correct this using a matte technique.
Drag the phone matte layer to the top of the layer stack in the Timeline.
Enable the phone matte layer's visibility by clicking its eye icon
.
Scrub through the sequence to examine the matte layer. The black areas represent regions that will be hidden (Janet's hands), while the white area defines the visible phone screen region. This grayscale matte will control which parts of our composite remain visible.
Notice this layer is already configured as a
Key Takeaways