Copy link to clipboard
Copied
Hi
I'm creating a project where an origami-style paper banner folds out and becomes a lower third for a video.
I want the FRONT side of the shape to be one colour, but also as it's folding out I want to see the BACK side of the shape as another colour.
I've attached what it looks like currently. You can see how it folds out, I just want to show the underside in another colour and keep the top side blue.
Thanks!
Be sure to set the layer to 3D to get this expression work
Also set the expression to legacy from project settings (file/project settings)
Copy link to clipboard
Copied
How did you build the shape and folding effect?
There are several ways but which one to choose depends on how you created the origami effect.
You can separate front and back side with masks, coloring each individually - re-coloring the shapes - using 3D lightning, just to name a few.
*Martin
Copy link to clipboard
Copied
Thanks for your reply Martin.
I built the shape by using shape layers and rotating them in the 3D space to give the appearance of folding out.
Does that make it difficult to colour now back and front?
Copy link to clipboard
Copied
Not at all!
You can change and animate the color of shape layers. Just recolor all shapes which are on the back and as soon as they flip to the front, put in keyframes and give them the front color.
You should try lightning, as well. Just add a light and give yourself an hour to play around with the settings. The advantage of lightning will be, that once set up, it will always work, even if you change the animation and timing.
*Martin
Copy link to clipboard
Copied
You can also do it by using some expression, this link must be useful CreativeCOW
also here a small free script can do this easily https://aescripts.com/two-sided-layer/
Copy link to clipboard
Copied
Thanks I will try that script perhaps.
I already saw that forum you linked to and tried that expression.
frontColor = [0,0.5,0.5,1]; // turquoise
backColor = [0.5,0.5,0,1]; // dark yellow
if (toCompVec([0, 0, 1])[2] > 0 ) frontColor else backColor
It returned an error sadly.
Copy link to clipboard
Copied
Be sure to set the layer to 3D to get this expression work
Also set the expression to legacy from project settings (file/project settings)
Copy link to clipboard
Copied
Wow thank you so much my issue was Legacy ExtendScript!!
My last question is I have brand guidelines to follow and not sure how to convert [0.5,0.5,0,1]; // Dark Yellow to a RGB value of my choice...
Copy link to clipboard
Copied
You can use this tools to get the value of the color you want instantreality 1.0 - tools - color calculator
take it from RGB Normalized decimal section and replace the first 3 digit and keep the number 1 as it is
Copy link to clipboard
Copied
YOU'RE THE BEST.
Copy link to clipboard
Copied
In 3d shape layer .must increase extrusion depth then Click on Add Button and choose front then color
Copy link to clipboard
Copied
Must choose render Cinema 4D