ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Experts: Tracked Mask, but Flipped?

COW Forums : Adobe After Effects

Respond to this post   •   Return to posts index   •   Read entire thread

Hank Leukart
Re: Experts: Tracked Mask, but Flipped?
on Apr 16, 2019 at 7:57:22 pm

Hi Kalleheikki,

Thanks so much for your help. I've fiddled more, based on your suggestion, and I found a solution that works-ish, though I admit I don't understand exactly WHY it works. I don't understand why steps 4-7 below (dealing with the Anchor Point) are required at all. I imagine there's a simpler set of steps for this, but I haven't found them yet.

1. Create a duplicate of the original footage and set the scale to -100,100. This will flip the footage.
2. On the flipped footage, draw the mask on the clean side of the lip, choose Track Mask, and then run the tracker. Doing this will make sure the clean side of the lip stays within the mask at all times.
3. Now, open the Tracker, choose Track Motion, and choose the original footage as the source. Choose Transform with Position and Rotation, and track both sides of the lip. Click Edit Target and choose the flipped footage as the target. Click Apply. This will add key frames to the flipped footage’s Position field. (the problem still isn’t fixed after this step — not sure why)
4. Add a Point Control to the flipped footage. We’re going to use this to store an offset for the Anchor Point.
5. On the flipped footage, hold Alt and click the stopwatch next to Anchor Point to open the expressions field for the Anchor Point.
6. We’re ALSO going to connect the Anchor Point to the tracker data. Connect the Anchor Point to the Feature Center for the tracker from the original footage, and add (sum) the Point Control offset to the coordinates: thisComp.layer(“").motionTracker("Tracker 1")("Track Point 1").featureCenter + effect("Point Control")("Point”);
7. Adjust the Point Control offset so that the small flipped footage piece (the clean side of the lip) is atop the other side of the lip in the original footage.
8. When you hit play, it will stay in place, kind of. It’s not perfect.


Posts IndexRead Thread 

Current Message Thread:

© 2019 All Rights Reserved