Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects light transmission

  • light transmission

    Posted by Morris Zagha on April 19, 2006 at 12:17 am

    I have a comp where 10 solids are accepting an image through light transmission. Is there a way to sequentially flip each solid 180 degrees to reveal a different source image? I’m trying to not have the source change globally at one moment, but sequentially, one solid at a time.

    I could nest a copy of the comp, replace the transmitted source image and trim layers as they flip, but I have a lot of these to animate and I’m hoping for a more elegant solution.

    Is there a way to group several solids to only accept one light, and a second group to only accept a second light, all living in the same comp?

    thanks,

    Sam Moulton replied 20 years, 1 month ago 3 Members · 5 Replies
  • 5 Replies
  • John Dickinson

    April 19, 2006 at 1:44 am

    Don’t know if this will help but have you tried making your lights adjustment layers?

    JD

    John Dickinson
    Motionworks
    http://www.motionworks.com.au

  • Morris Zagha

    April 19, 2006 at 5:54 pm

    Hi John,

    I hadn’t considered that, I’m not sure how that would work. Any hints?

    thanks,

  • Sam Moulton

    April 19, 2006 at 6:55 pm

    put the layers you are using for your 2 sourdes back to back then control the visibility of your layer with an expression that looks at the angle between the camera and the layer so that only one is visible at a time. Dan Ebberts put up the expression somewhere. I think it was for someone trying to make a flipping card. it was something like if angle is less than 0 then 100 else 0 in transparency. I’m just leaving now so don’t have time to search for it for you. Maybe Dan will chime in.

  • Morris Zagha

    April 19, 2006 at 7:20 pm

    That definitely is in the right direction but there is a gotcha. As the solids are flipping sequentially there will be many frames when both sources are visible. If a solid has more than 0 transparency it will see both sources projected on to it.

    I’m hoping there is a way via expressions to have a solid accept only a specific light, similar to how Trapcode’s Lux behaves.

  • Sam Moulton

    April 19, 2006 at 7:41 pm

    been waiting on hold on the phone so I looked for the expression.

    a = toWorldVec([0,0,1]);
    b = thisComp.layer(“Camera 1”).position – toWorld(anchor_point);
    c = dot(a,b)/length(b);
    if (c > 0) 0 else 100

    when a layer is facing the camera it is on, when it is not it is off. Maybe you could change the camera 1 to the light you are using and then only when the layer is facing the light would it be on.

    good luck.

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