ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Element 3D & Text Expressions

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
anifsa vladimirElement 3D & Text Expressions
by on Jan 2, 2014 at 4:23:50 am

Hello, I was having an issue with an animated text countdown (using an expression) and Element 3D.

I setup a text layer, type CD to mark the layer so i know it is the countdown layer.
Then I apple the expression to the text.
After, I set up E3D on a solid, link the layer with custom text layer, and extrude so that I can get a nice look and have more customization.

However, when I play the countdown back, the text jumps a little. It only does it with E3D extruding it and doesn't jump if i just use the regular 2d text layer.

Any suggestions?

This is the expression code:
offset = 0;
i = inPoint + offset; //the in point of the layer
dur = 10; //the duration of the countdown in minutes
dur *= 60; //the duration of the countdown in seconds

seconds = Math.max(dur - Math.max((time - i), 0),0); //the countdown time in total seconds
minutes = Math.floor(seconds / 60); //the countdown time in minutes
seconds = Math.floor(seconds - (minutes * 60)); //the countdown time in seconds (minus minutes)

if(seconds < 10) seconds = '0' + seconds; //add an additional '0' in front of single digit seconds

minutes + ':' + seconds
(Supplied by a nice man from CC, Thank you!)

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved