lens flare from lightness
by Todd Morgan
on
Sep 13, 2009 at 4:14:28 pm
Hi all,
Is there any way to create a lens flare source from a white dot? I have a moving logo and I want to have a lens flare travel along a letter, all the while the logo is moving in 3D space. I have created a small white dot that is parented to the logo for where I want the flare to link to.
Re: lens flare from lightness by Kevin Camp on Sep 14, 2009 at 12:28:54 pm
to link the flare's center point to the dot layer's position, you'll use an expression.
select the dot layer and hit 'p' to reveal its position property. then select the lens flare's center point property in the timeline and choose animation>add expression. click that expression's pickwhip and drag it to the position property of the dot layer.
this will link the flare's center position to the layer's and it should now track it.
Re: lens flare from lightness by Ben Heusner on Sep 15, 2009 at 5:16:05 am
Dan Ebberts has an awesome expression that also lets you link brightness to Z position to save you from keyframing brightness. Apply this to Flare Intensity:
INTENSITY
l = thisComp.layer("YOUR DOT LAYER");
r = (l.transform.scale[0]/100)*(l.transform.scale[0]/100);
s = value*r;
c = thisComp.activeCamera;
p = l.toWorld(l.anchorPoint);
f = c.cameraOption.zoom;
dist = p - c.toWorld([0,0,0]);
vec = c.toWorldVec([0,0,1]);
dist = dot(dist, vec);
s * f / dist;
You should link the Flare Center to the layer's anchor point.
Cheers,
Ben
Curious Turtle Pro Video Training | Editing | Support
Out Now - Film Wash Color Effects Vol. 3
for After Effects & Apple Color