Adobe After Effects Forum
Lines / Images behind shapes
Lines / Images behind shapes
by Lee Merrington on Aug 11, 2012 at 5:39:31 pm

Hello All,

I've been playing around with AE now for about a day and I love it!... but I'm stuck trying to make lines (or an image) display in a shape but hide when outside the shape, but still keeping the background image or video.

Is this possible?

I thought that this would be done with a mask. Am I right?

I have attached an image to make it a littler easier so you know what i'm on about :D

http://images.creativecow.net/240748/lines.jpg

The lines will be animated to move along the red shape from right to left, but as you can see its a strange shape and I want the green lines to hide when they are out of red shape but still keeping the image in the background (currently black)

Sorry if this doesn't make any sense :(

Thanks in advance

-Lee


Re: Lines / Images behind shapes
by Dan Fredley on Aug 11, 2012 at 7:15:23 pm

If all of the green lines are on one layer and the red shape on another layer. You can duplicate the red shape, put the duplicate above the green lines layer and set the track matte of the green lines layer to alpha. This will use the red shape as a "cutout." There are a dozen different scenarios, so it might be better to see you timeline.


Re: Lines / Images behind shapes
by Lee Merrington on Aug 11, 2012 at 9:33:01 pm

thank you so much, its working like a charm. (I had to Google Track Mattes but I got there in the end)





© CreativeCOW.net