ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

generating area from points

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Julia Staufenbiel
generating area from points
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

Roland R. Kahlenberg
Re: generating area from points
on Aug 8, 2011 at 4:53:34 pm

You can use the Beam effect to create a line to connect two points. Use the following Expression example to connect the Beam's 2D points to the light layer's 3D position property -
start script
LightLayer01 = thisComp.layer("Light1");
//end script

Once you have 3 Beam layers linking all three lights, you can fill in the area defined by the 3 Beams with another layer, an Adjustment Layer, and apply the Paint Bucket effect on the Adjustment Layer.

Precomp or nest this comp and use the result as your mask.


Intensive AE & Mocha Training in Asia.

Return to posts index

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