ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

animating a number

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Simon Jonesanimating a number
by on Aug 4, 2010 at 11:52:40 am

Hi all

I have a problem I need to create an animated texture that is applied to a 3d model. The texture has to start from 1 up to 180 but it has to stay on each number for 9 frames.

As it stands i'm creating a layer with 9 frames for each number! It's painful and the number may increase from 180 to 400!

Is there any other way for me to do this, taking into account i know very little about scripting but i'm more than willing to learn. Can anyone help/Point me in the right direction?

Thanks in advance


Return to posts index

Dave LaRondeRe: animating a number
by on Aug 4, 2010 at 3:15:05 pm

If you made the 3D model yourself, it would probably be better to apply the texture in your 3D application.

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


Return to posts index

Walter SoykaRe: animating a number
by on Aug 4, 2010 at 4:31:04 pm

[Simon Jones] "I have a problem I need to create an animated texture that is applied to a 3d model. The texture has to start from 1 up to 180 but it has to stay on each number for 9 frames... Is there any other way for me to do this, taking into account i know very little about scripting but i'm more than willing to learn. Can anyone help/Point me in the right direction?"

You don't need scripting, but you will need expressions.

Dan Ebberts has very graciously made some sample code for a very flexible counter available online.

Quickly simplifying this to count up by 1, from 1, every 9 frames, we get:

frames = 9;
clockStart = 1;
rate = (1/thisComp.frameDuration) / frames;
clockTime = clockStart + rate*(time - inPoint);
Math.floor(clockTime);


Alt-click (Option-click on a Mac) on the stopwatch for the Source Text property of a text layer and paste that code in.

Walter Soyka
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog - What I'm thinking when my workstation's thinking
Creative Cow Forum Host: Live & Stage Events


Return to posts index


Simon JonesRe: animating a number
by on Aug 23, 2010 at 2:00:18 pm

Thanks very much for the help

it's all about the X and the Y


Return to posts index

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