In this tutorial we’ll learn how to create, stylize, and rig a lens flare using native tools in After Effects. In the tutorial I reference a few expressions which can be found below:
Negative X
mlt = 2;
dist = (mlt+1)*(width/2);
FP = thisComp.layer("Flare Position").transform.xPosition*-1;
EQ = (dist+FP)/mlt
Negative Y
mlt = 2;
dist = (mlt+1)*(height/2);
FP = thisComp.layer("Flare Position").transform.yPosition*-1;
EQ = (dist+FP)/mlt
Positive X
mlt = 1.5;
(width/2)+(thisComp.layer("Flare Position").transform.xPosition/mlt)-(width/(mlt*2))
Positive Y
mlt = 1.5;
(height/2)+(thisComp.layer("Flare Position").transform.yPosition/mlt)-(height/(mlt*2))
Also if you would like to download the project file here is a link:
http://bit.ly/1DYN3LT
Good luck,
Caleb
Watch video Rigging a Lens Flare in After Effects (No Plugin’s Required) online without registration, duration hours minute second in high quality. This video was added by user Curious Refuge 19 April 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,176 once and liked it 120 people.