Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects create 2 surfaces for one object

  • create 2 surfaces for one object

    Posted by Kate Koyama on November 4, 2010 at 2:23 pm

    hello there!!

    so I was wondering how can I have a shape with a color on the front and a different color on the back. I’d like to use this shape to rotate it and I’d like the front and back to be different colors.

    any suggestions???

    Kate Koyama replied 15 years, 6 months ago 2 Members · 4 Replies
  • 4 Replies
  • Kevin Camp

    November 4, 2010 at 3:27 pm

    one way would be to duplicate the shape, change it’s color and offset the duplicate a fraction of a pixel in z-space. then parent it to the original. as you rotate the original you should see the duplicate on the backside.

    another way is to use an expression to change the color when the layer faces away from the viewer/camera. you can use this expression (from .motionscript.com) in the ‘source opacity’ property of the ‘solid composite’ effect to effectively change the color of a layer when it faces away from the camera:

    if (toCompVec([0, 0, 1])[2] > 0 ) 100 else 0

    you could also change the actual color of say a shape layer, or color property in an effect by creating 2 keyframes for that property (one for each color) and modifying the expression to this:

    if (toCompVec([0, 0, 1])[2] > 0 ) f=2 else f=1;
    key(f).value

    it is just displaying the color from one key frame when the layer faces the camera, and the other when it faces away.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Kate Koyama

    November 4, 2010 at 4:37 pm

    where to you turn on the collapse switch??

  • Kate Koyama

    November 4, 2010 at 4:39 pm

    I nested the comp and made the new comp 3d but it didn’t work…

  • Kate Koyama

    November 4, 2010 at 4:43 pm

    oh never mind I did a search on after effects and it worked!!! thanks!!

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