Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects How to make the backside of a layer a solid color??

  • How to make the backside of a layer a solid color??

    Posted by Cmurray0 on February 1, 2007 at 7:19 pm

    Is there something you can do to a layer so that when you rotate it to it’s backside, the image on the front of layer doesn’t show through? (image on the front, solid on the back).

    I am working on opening a greeting card. Once it’s opened, you can see the image that’s supposed to only be on the front of the card on the inside.

    Hopefully you get what I’m saying, Thanks for the help!

    Cmurray0 replied 19 years, 3 months ago 5 Members · 5 Replies
  • 5 Replies
  • Ej Hassenfratz

    February 1, 2007 at 7:46 pm

    im guessing one way you could do this is make another 3d solid layer the color you want it to be and place it ever so slightly in z space behind the layer, precomp it with the card front layer and it should work?

  • Morebo

    February 1, 2007 at 8:01 pm

    You can do this with sub-pixel positioning. Put a colored layer (black) behind your footage, make both 3D and give the colored layer a position of 0,1. Parent that to your footage.

    morebo

  • Mike Clasby

    February 1, 2007 at 9:17 pm

    With sub-pixel positioning and parenting, if your trying to use another color besides Black for the back, somtimes you’ll see a little fringing, so an 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 (you need to add a 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.

  • Serge Hamad

    February 1, 2007 at 10:09 pm

    Hi,

    A third way would be to split your layer when it reaches a 90 degrees rotation then add the fill effect to the splited part.

    Salut.
    Serge

    “InvigoMany” On sale here:https://www.nyc-visual.com

  • Cmurray0

    February 6, 2007 at 3:56 pm

    Thank you so much, I tried this and it worked!

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