ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

create 2 surfaces for one object

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
kate koyama
create 2 surfaces for one object
on Nov 4, 2010 at 2:23:14 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???


Return to posts index

Dave LaRonde
Re: create 2 surfaces for one object
on Nov 4, 2010 at 3:27:02 pm

Piece o' cake:
  • Make your shape in color #1.
  • Duplicate the shape.
  • Change the color of the duplicated shape to color #2.
  • Make them BOTH 3D layers.
  • Change the position of the layer intended to be the "top" layer to -0.5 on the Z-axis.
  • Change the position of the layer intended to be the "bottom" layer to +0.5 on the Z-axis.
  • Make a new comp.
  • Nest the first comp in the second comp.
  • Turn on the Collapse Transformations switch.

Now your nested comp will act like a 3D object, with a front and back.

Dave LaRonde
Sr. Promotion Producer
KCRG-TV (ABC) Cedar Rapids, IA


Return to posts index

kate koyama
Re: create 2 surfaces for one object
on Nov 4, 2010 at 4:37:12 pm

where to you turn on the collapse switch??


Return to posts index


kate koyama
Re: create 2 surfaces for one object
on Nov 4, 2010 at 4:39:52 pm

I nested the comp and made the new comp 3d but it didn't work...


Return to posts index

kate koyama
Re: create 2 surfaces for one object
on Nov 4, 2010 at 4:43:10 pm

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


Return to posts index

Kevin Camp
Re: create 2 surfaces for one object
on Nov 4, 2010 at 3:27:23 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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]