Activity › Forums › Adobe After Effects › Apply tracking data to masks?
-
Apply tracking data to masks?
Posted by Jiri Fiala on February 8, 2008 at 5:32 pmHello guys!
This seems like a n00bish question, but I’ve been working with AFX for a while and am still scratching my head with this one.
How do I apply tracking data to a mask? Let’s say I need to brighten someone’s eyes. I draw a mask and apply Levels to that one, but how do I shift the mask according to the tracker? In node based apps like Fusion this is really simple but in AFX, I cannot figure it out.
Thanks!
Mathias Möhl replied 13 years, 8 months ago 12 Members · 14 Replies -
14 Replies
-
Mike Clasby
February 8, 2008 at 8:49 pm -
Morgan Chadwick
February 8, 2008 at 8:51 pmrecord your tracking data to a null object and use the null object to parent your mask 😉
-
Jiri Fiala
February 8, 2008 at 9:10 pmMorgan, that’s what i tried first, but you cannot set Mask position in AE. Only its shape. If I duplicate the layer and parent it to the null, the whole layer moves and the masked region moves all over the place…
-
Jiri Fiala
February 8, 2008 at 9:48 pmThanks Mike, but that seems way too complicated for something as basic as this…
-
Jimmy Brunger
February 9, 2008 at 8:59 amI’d love to be able to apply different trackers to diff points on a mask…would that be a script-based command or is it not possible in AE?
I currently use Mocha for all my tracking & roto, but export of masks to AE is not possible so I have to export matte runs and track matte them in AE. To have mocha masks in AE would be special. Both can use Bezier splines so it *should* be possible I would have thought.
*Production Studio Premium CS2 / *Combustion 3 / Mocha v1.0.1 / Elastic Reality
————————————-
Win XP Pro 32 / Intel P4 3GHz / 2GB RAM / GeForce FX5200 / DeckLink Pro / Roland DS-5s / Sony BVM-20G1E / 2 x Dell 2007FP / DVS SDI Clipstation / Wacom Intuos 3 A4 / 110GB/80GB/600GB RAID-0 -
Nate Hanson
February 9, 2008 at 4:22 pmI think this tutorial explains exactly what you need to do. He applies a mask to an actor’s face and then gets the mask to stay “on” the face throughout the clip, even with shaky camera moves.
https://library.creativecow.net/articles/kramer_andrew/Demon_Face_Warp.php
Hope it helps!
Nate
-
Simon Bonner
February 9, 2008 at 5:01 pmHi Jiri,
Try adding your levels to an adjustment layer and drawing the mask onto that. Then track the footage, add the track data to a null, and parent the adjustment layer to the null. I think this works…
Simon
-
Christopher R. green
February 10, 2008 at 3:14 am[Jimmy Brunger] “I’d love to be able to apply different trackers to diff points on a mask…would that be a script-based command or is it not possible in AE?”
This is exactly why I wrote the Connect_Vertex_to_Point script, which is at the top of my scripts page:
https://www.crgreen.com/aescriptsWith my script, you do one vertex (mask point) at a time.
-
Mathias Möhl
March 12, 2009 at 1:05 pmTracker2Mask is a free script of mine that does the job and is really easy to use.
Usage is explained in the video tutorials here:
https://aextensions.blogspot.com/2009/02/tracker2mask.html -
James Niebauer
July 15, 2011 at 3:28 amok so. what you need to do is create a new null layer. label it footage tracking. track your footage. apply to null later. create new solid layer. make it comp size. mask out your footage on solid layer. invert the mask. feather and expand if needed. set blending mode to silhouette alpha. select footage, null layer, and solid and go to menu layer precompose. pre comp into new comp. name it footage pre comp. now you have footage precomped. bring in footage that you will overlay. track it. apply to new null layer. position tracking pre comp to scale position and rotation on overlay. parent tracking pre comp to new null layer. your done.
Reply to this Discussion! Login or Sign Up