Skip to main content
Participant
February 1, 2021
Answered

PosterizeTime Epression not working

  • February 1, 2021
  • 3 replies
  • 4158 views

Hello All, I am trying to use a posterizeTime effect on the position of a layer to change it to 12fps, but I am having some problems. The expression will work if I write 'posterizeTime(12); value;' but it flips the layer on its side and will not follow the orient of the path. When I write 'posterizeTime(12); value; transform.position', the layer follows the path correctly but it does not move at 12fps, it moves at 24fps, as if there were no expression used at all. 

 

I'm sure there is a very simple reason for this, but I cant figure out why, and no videos I can find that will shed some light. 

 

Any help would be greatly appreciated, Thanks!

This topic has been closed for replies.
Correct answer Rick Gerard

Mylenium hit the nail on the head. 

 

My easy solution

  1. Precompose the animated layer moving all attributes and open the new composition
  2. Open the Composition settings and change the frame rate to 12 or whatever frame rate you want
  3. Select the Composition Settings /Advanced tab and select Preserve Frame Rate when nested or in the render queue

All done. No expressions, not time remapping, no effects, just an animated layer that will auto-orient to the motion path playing at 12 frames per second no matter what the frame rate of the main comp is.

3 replies

Participant
February 4, 2021

Thank you both very much @Mylenium  and @Rick Gerard , your help was very appreciated. I went with the pre composing option, worked perfectly, cheers. Súlán

Rick GerardCommunity ExpertCorrect answer
Community Expert
February 2, 2021

Mylenium hit the nail on the head. 

 

My easy solution

  1. Precompose the animated layer moving all attributes and open the new composition
  2. Open the Composition settings and change the frame rate to 12 or whatever frame rate you want
  3. Select the Composition Settings /Advanced tab and select Preserve Frame Rate when nested or in the render queue

All done. No expressions, not time remapping, no effects, just an animated layer that will auto-orient to the motion path playing at 12 frames per second no matter what the frame rate of the main comp is.

Mylenium
Legend
February 2, 2021

Well, you can't have both, obviously, as the auto-orient does not honor the expression and evaluates on the regular comp time. It's inherent in how the evaluation order in AE works. If it's just this simgle layer, simply pre-compose the auto-oriented layer and posterize the time with a time-stretch or the effect of same name. Otherwise you may need to use valueAtTime() ore re-create the auto-orient with expressions. Whatever is your preferred method of resolving this conundrum...

 

Mylenium