June 10, 2014

Automatic rounding with expressions

A few years ago, Stu Maschwitz noted the utility of the Math.round method, which rounds a number to the nearest integer. If you're repositioning or animating an object in AE, you'll often run into AE's subpixel positioning in Best Quality, which as noted long before expressions were a feature by Trish Meyer as the source of bad renders with lossy formats. 

But you can use an expression to force rounding on scale/position to whole numbers, in order to avoid softening on anti-aliased text or other layers. It's much easier to use that than to adjust entries by hand, and its utility goes further.

For the rest, see Fixing soft edges & number counters with automatic rounding at PVC.

No comments: