switch - expression for switch inpute every nth frame

   3476   2   0
User Avatar
Member
24 posts
Joined: Oct. 2016
Offline
Hi all.
I have a switch node with 3 inputs and i would like to switch the input evry 140 frame.

0-140 input 0
140-280 input 1
280-420 input 2

How can i achieve that?

thank you
User Avatar
Member
8832 posts
Joined: July 2007
Offline
demonsd_miles17
i would like to switch the input evry 140 frame.
put an expression in the switch Input parm, something like this:
floor($F/140)
or if you want to switch on specific frames not necessarily every 140:
($F>=140) + ($F>=280)
Edited by tamte - May 26, 2022 11:50:26
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
24 posts
Joined: Oct. 2016
Offline
tamte
floor($F/140)

works like a charm
thank you
  • Quick Links