Skip to main content
Known Participant
October 17, 2024
Question

posterizeTime(0) & valueAtTime(0)

  • October 17, 2024
  • 0 replies
  • 247 views
I have a general question about optimizing expressions using posterizeTime(0) & valueAtTime(0).
 
While I use valueAtTime(0) often, I recently learned about the posterizeTime(0) update in AFX 16.0 (https://helpx.adobe.com/after-effects/using/legacy-and-extend-script-engine.html#freezing-property-values).
 
At first glance, posterizeTime(0) seems like it could be a game-changer for speeding up complex expressions that only need to be computed once in the comp / project.
 
I'd love to hear from others about their experience using posterizeTime(0) and how it has / hasn't helped improve workflow.
 
Also, how does using valueAtTime(0) with posterizeTime(0) work together?
For example:
  • Comp_1 has a complex expression that uses posterizeTime(0)
  • Comp_2 references the Comp_1 expression
  • In Comp_2, will using valueAtTime(0) when referencing the Comp_1 expression help / hurt / make no difference for performance?
Thanks all.
This topic has been closed for replies.