Tutorial: Page (1) of 2 - 06/18/05 Email this story to a friend. email article Print this page (Article printing at MyDmn.com).print page facebook
Simple Track Mattes Making mattes with layers in After Effects By Ko Maruyama Often I've seen a question that can be easily solved with the implementation of a track matte.  Often it isn't the creative limitations of the user, it's just that people don't know it exists.  Although it's been featured in several tutorials in the AE Channels here on DMN, a simple review might clarify its use.

In Photoshop, you have the ability to create layer masks which create masks based on luminance for the still image on that layer.  In After Effects, the layers can contain animation.  Moreover, the layers may have properties which animate as well.  Because you may want your fill layer may animate in a manner separate from your mask layer, it's important to be able to keep these layers separate (rather than using a mask to simply cut out the fill).

There are a few things you need to know about Track Mattes:

The Track Matte option is found in the Switches/Modes column of the timeline.  



Track Mattes work in pairs.  A track matte option won't be visible if you only have one layer in your composition.  It relies on one layer being the fill and another being a matte.   The top layer in the pair is the matte.  The bottom layer in the pair is the fill.





Track Mattes work on two separate image principles.  Either based on Alpha Channel or based on luminance of the pixels within the matte layer.  You can opt to use the inverted data of these two options by choosing one of the companion pull-down selections. (Of course you can turn if off by selecting "None")



Alpha Channel Track Matte

Using an alpha matte in Track Matte mode allows the bottom layer (the fill) to use the alpha channel of the layer above it.  The alpha channel can be interpreted from the transparency value of an imported still image, an embedded channel in a QuickTime movie, or even a mask created on the top layer made to create an alpha.

In this example, I have a merged Photoshop document, yellow with blue dots. (click for larger version to download)



Import the pattern into After Effects, and place the image in a new composition (320 x 240 px).





Next, create a white solid and make a new mask shape in the outline of a star.



Now that you have a layer above the dots image, you will also have the option to select a Track Matte option.  Using the pull-down menu, select the Alpha Matte option.  Note: After Effects has automatically made your matte layer invisible by turning the eyeball off in the visibility column. Now the top layer cuts out the bottom layer.



Next, animate the star layer's rotation value.  Animate the dots.psd position.  Notice that the two animations exist separately, because they're on two different layers.










Page: 1 2 Next Page


Related Sites: Creative Mac ,   Digital Producer ,   Digital Animators ,   Animation Artist ,   Siggraph News ,   Digital Media Designer ,   Oceania ,   MacAnimationPro ,   MacDesignPro
Related Newsletter: DMN Newsletter ,   Pixels Newsletter ,   Mac Alert Newsletter ,   Renders ,   Digital Media Net ,   DMNForums ,   Tutorial Finder
To Comment on This Article, Click HERE

Most Recent Reader Comments:
  • Re: Simple Track Mattes by Ko at Feb. 09, 2007 5:45 pm gmt (Rec'd 2)
  • Re: Simple Track Mattes by john3 at May 30, 2006 11:50 pm gmt (Rec'd 2)
  • Simple Track Mattes by DMN Editorial at Jun. 27, 2005 5:58 pm gmt (Rec'd 2)

    Click Here To Read All Posts
    Must be Registered to Respond (Free Registration!!!, CLICK HERE)

  • mac creativity
    Breakthrough Zone
    By , start from $ 52.55
    HOT THREADS on DMN Forums
    Content-type: text/html  Rss  Add to Google Reader or
Homepage    Add to My AOL  Add to Excite MIX  Subscribe in
NewsGator Online 
    Real-Time - what users are saying - Right Now!
        • Re: Reverse Mode in Vegas 9 • gspencer
    iTech SolarVoice 908
    Bluetooth headsets have become more and more popular throughout the years and now more and more cell phones have been able to take advantage of this technology. In this review we'll be looking at a brand new Bluetooth headset from iTech, the SolarVoice 908, one of the first solar charging headsets on the market. Read More
    Content Insider 134 - Flash
    Thank goodness you're a pack rat! You know, have to grab, keep everything that flies by...ok everything except that report or news item or YouTube yuck you saw last week and now desperately need. Can't find it it save your behind. And still you don't have enough storage...there are new worlds to conquer, new worlds to destroy or take home with you. Don't worry Flash will always be there for you Dale!!!! Read More
    War Dogs of the Pacific
    On this Veteran's Day 2009, as we honor those who served and gave their lives for America, there are stories about man's best friend being told by those who fought alongside their "War Dogs of the Pacific." Most Americans have no idea that dogs were trained to sniff out the enemy during World War II, 549 to be exact fought with the U.S. Marines on Guam, Saipan, and other battlegrounds of the Pacific Theater. Read More
    Microsoft ships Windows 7- should you buy it?
    Did you hear? Microsoft is releasing a new version of Windows - should you buy it? Windows 7 is here. In this article you will find out if Windows 7 is worth the wait and whether or not you should upgrade. Or is Windows 7 just another Vista? Read More
    @ Copyright, 2008 Digital Media Online, All Rights Reserved