ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

generating area from points

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Julia Staufenbielgenerating area from points
by on Aug 8, 2011 at 11:54:53 am


Is there a way to generate an area by connecting points?
I have got 3 lights and I want to connect them and use the resulting shape as a mask.
So I need a filter that connect points and fill the area at least.

As far as I know, there is no way to connect mask points with something by expressions, right?

Return to posts index

Kevin CampRe: generating area from points
by on Aug 8, 2011 at 4:50:33 pm

there is a script that will connect a mask vertex to a 2d point (like position). however, you'll need to convert you 3d light's position to a 2d position (presumably a null) since i don't think the script does this. you can do that with an expression on the null... some thing like this (from should do it:

target = thisComp.layer("UL"); // change this to one of your lights

or, if you don't need a mask, but could use a layer with the corner pin effect, then you could just use that expression as it was originally used:

that layer could then be used as a track matte (or similar) if that's what you intended the mask to be used for.

Kevin Camp
Senior Designer

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved