Meanwhile over at Red Giant in Look Ma! No 3rd-party plug-ins!, Aharon Rabinowitz skips the Hold keyframes to share workarounds for using numeric Text (for game scores and other digital readouts). You can do what he's doing with just the Numbers filter, but a door is opened to other purposes as the tutorial uses a Null, a Slider Control, and 2 expressions by Dan Ebberts:1. (Not sure why it was needed) Round to the nearest whole number:
s = thisComp.layer(”Null 1″).effect(”Slider Control”)(”Slider”);
Math.round(s)
2. Layer marker triggers addition to current value:
s = effect(”Slider Control”)(”Slider”);
n = 0;
if (marker.numKeys > 0){
n = marker.nearestKey(time).index;
if (marker.key(n).time > time){
n–;
}
}
s + n
Update: in another approach Colin Brady helps you in Overcoming limitations of the Numbers effect in After Effects.
No comments:
Post a Comment