[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