Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Need an expression to keep effect in same place in 3D scene

  • Need an expression to keep effect in same place in 3D scene

    Posted by James Huenergardt on June 15, 2012 at 3:53 pm

    Hi,

    Here is what I’m doing: https://www.youtube.com/watch?v=JNPBMR2CIMU&feature=youtu.be

    This is a short test animation.

    What I’m wanting to do is add the ‘magnify’ (or any other effect for that matter) effect to an adjustment layer BEHIND the big blue beaker (or any other beaker, etc in the set) so that when our main character walks behind a beaker, he’s warped or effected by the effect.

    This works great if I’m not moving the camera. Once I move the camera, it doesn’t work as the effect moves with the camera, or appears to.

    Is there any way to FORCE the center of the Magnify effect to stay ON the blue beaker no matter what the camera is doing?

    Thanks,

    Jim

    Reel Inspirations – http://www.reelinspirations.com
    Commercials, Dramas, Image Pieces, Documentaries, Motion Graphics

    James Huenergardt replied 13 years, 11 months ago 2 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    June 15, 2012 at 5:16 pm

    Try this:

    L = thisComp.layer(“beaker”);
    fromComp(L.toComp(L.anchorPoint))

    Dan

  • James Huenergardt

    June 16, 2012 at 1:30 am

    OK, where do I put this?

    Reel Inspirations – http://www.reelinspirations.com
    Commercials, Dramas, Image Pieces, Documentaries, Motion Graphics

  • Dan Ebberts

    June 16, 2012 at 1:44 am

    Bulge Center?

    Dan

  • James Huenergardt

    June 17, 2012 at 6:23 pm

    Thanks Dan,

    The first time I tried it there, it didn’t work, but I figured out my Adjustment Layer needs to be 2D and NOT 3D and then it works like a charm.

    Thanks again!

    Jim

    Reel Inspirations – http://www.reelinspirations.com
    Commercials, Dramas, Image Pieces, Documentaries, Motion Graphics

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