Skip navigation
Currently Being Moderated

TrkMat luma colour change

Jul 30, 2012 3:31 PM

Tags: #after_effects_cs5.5 #luma #trkmat

I have a cartoon drawn in black on a white background. I have put a black layer infront of the cartoon and changed the trkmat to inv luma. So the white part becomes transparent. Unfortunately the black lines don't show because they turn black.

If I change the layer solid colour to blue then the lines show as blue. What I want is for the lines to be white but the layer solid to be black. Any help appreciated

 

Kal

 
Replies
  • Currently Being Moderated
    Jul 30, 2012 5:04 PM   in reply to kal192

    Sorry if I missed a part of what you were saying, but I think it's a situation where you need to use a white solid layer as the layer with the matte.  Then put a black solid behind those layers - then you will have white lines on a black background.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 30, 2012 10:39 PM   in reply to kal192

    Does Find Edges on the original drawing give you the look you want?  Try turning on Invert inside Find Edges.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 31, 2012 10:38 AM   in reply to kal192

    kal192 wrote:

    What I want is for the lines to be white but the layer solid to be black.

     

    Use the Invert effect.  You get white lines on black.  If you don't need transparency in the black portions of the image you're done.  No track mattes needed.  Add a black solid to the comp if you want an opaque black background.

     

    if you do need transparency you can add the Shift Channels effect and set the alpha to Luminance.  The black becomes transparent.  You can check it by clicking on the checkerboard setting at the bottom of the comp window.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 31, 2012 11:22 AM   in reply to Dave LaRonde

    There's a basic flaw in your concept. When you create a matte you loose the outlines of the drawing because you either have the background (black) visible and a hole where the white is or you have the foreground visible (white) and a hole where the black is. For your effect to work you need to create some lines between the black and white.

     

    A more effective way to create a luma matte for a high contrast black and white drawing is to use set matte. Combine that with Refine Matte or Matte choker and you can create some outlines. Use Screen to make the black dissapear or Multiply to make the white dissapear and you end up with only the lines generated with the matte choker visible. You have to hope that you've got clean enough lines and enough detail to not end up with Jaggies....

     

    This will give you kind of what you want. It's the closest you can get with the kind of artwork you've got. Take a close look at this screenshot and duplicate the settings. It should help.

     

    Screen Shot 2012-07-31 at 11.10.54 AM.png

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 31, 2012 2:54 PM   in reply to kal192

    Use a copy of your woman with set matte applied as a track matte for the pink solid. Set the pink solid to Screen mode.

    Screen Shot 2012-07-31 at 2.50.44 PM.png

    You could also just use luma matte on the top copy of the woman.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points