Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions A question about layers

  • A question about layers

    Posted by Mark Jackson on October 31, 2006 at 11:36 pm

    Is there any way for a layer to have one image on the front side and a different image on the back side of the same layer? I’m editing a wedding story project and my client wants me to create a photo album. She wants the pages to flip from one page to the other like a real book.

    Any help you could provide would be appreciated.

    Thanks in advance.

    Mark

    Brian Charles replied 19 years, 9 months ago 5 Members · 4 Replies
  • 4 Replies
  • Filip Vandueren

    October 31, 2006 at 11:56 pm

    Try parenting two layers together that are very closely spaced,

    other than that buena software makes a plugin called ‘flipside’ which does this, it is I think only included in the ‘depth cue’ suite of plug-ins.

  • Mike Clasby

    November 1, 2006 at 12:12 am

    Method 1.

    If the two layers are layer 1 and 2, make them both 3D, then separate layer 2 less than 1 pixel in Z space (say .5) and parent 2 to 1. Sometimes this leaves a little fringing if the backside is darker than the front side, so the other alternative is below.

    Method 2.

    Again make the layers 3D, but leave them with the same exact position numbers, parent 2 to 1, and add these Opacity expressions to make the layer invisible when the camera is on it’s backside.

    To layer 1.

    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

    Then this expression on the second layer down:

    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 The only difference between the two is the direction of the > (or) < These are Dan expressions from earlier posts. If your looking to make a 3D Book, Serge has a beaut, here: https://www.nyc-visual.com/3D_Book_M.html

  • Steve Roberts

    November 1, 2006 at 12:29 am

    Sorry, but I can’t recommend the “flipside” plug.

    If you move the layer too far off camera axis, the “backside” disappears. When I reported this bug, I received no reply from the developer.

    I hope it has been fixed.

  • Brian Charles

    November 1, 2006 at 3:16 pm

    Card Wipe might be a solution combined with the page turn.

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