Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions After Effects Expression – Lens flare to light

  • After Effects Expression – Lens flare to light

    Posted by Philipp Zakrzewski on November 28, 2012 at 2:31 pm

    Hi there,

    I’ve got the following problem. I’m trying to have a lens flare follow a 3D light. Actually a simple thing, using

    L = thisComp.layer(Light 1);
    L.toComp([0,0,0]);.

    I’ve seen quite a few of the tutorials dealing with this issue and it all makes sense to me.

    However, whenever I try to do this on my iMac at work running After Effects CS4 on OS X 10.6.8 the lens flare is offset from the light. It moves when I move the light, but as I said, it doesn’t occupy the same ‘comp space’, i.e. it is not on top of the light looking from active camera view.

    Here’s where it gets crazy. I tried the same thing using a trial of After Effects CS6 and guess what, it works like a charm. Unfortunately we can’t afford CS6 at the moment. Since this is a bigger project, so for the sake of downward compatibility after the test phase runs out, I should stick to CS4.

    Any ideas why AE CS4 might react in such a strange way?

    Thanks a lot for your suggestions.

    Philipp Zakrzewski replied 13 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    November 28, 2012 at 6:26 pm

    It should work fine in CS4. Is it possible the layer that you applied the lens flare to is not the same pixel aspect ratio as the comp (square vs. rectangular) ?

    Dan

  • Philipp Zakrzewski

    November 28, 2012 at 9:44 pm

    Hi Dan,

    I feel like such a beginner. Yes you were pointing in the right direction. I forgot that the layer I applied the lens flare to, wasn’t comp size and not scaled to 100%. Thanks so much for pointing that out.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy