brammelo
04-23-2003, 09:44 PM
Hi Guys,
I am building a cartoony disco floor - I need it as a background layer in AE. No need for real lights or raytracing - squares changing colors will sufice. I am trying to automate the color changes of the squares with XPresso.
This is what I have:
"Random" node drives Red, Green or Blue value of Luminance Channel of Material (I used a couple of extra nodes to clip values).
The problem with this situation is obvious: the color changes with every frame. So i need a switch to only allow new values from the "Random" node at given time intervals.
defining the interval is easy as well. Suppose "X" is the interval, then I have the following comparison:
If Time divided by "X" equals the Integer value of Time divided by "X", then the color needs to change. If it is unequal, then the switch needs to block new values from the Random node.
Question is: which node to use as switch, and how to use it? Boolean Node? Switch Node? Flipflop node? To be honest: I haven't got a clue, and I am hoping someone else has.
Cheers,
BaRa
I am building a cartoony disco floor - I need it as a background layer in AE. No need for real lights or raytracing - squares changing colors will sufice. I am trying to automate the color changes of the squares with XPresso.
This is what I have:
"Random" node drives Red, Green or Blue value of Luminance Channel of Material (I used a couple of extra nodes to clip values).
The problem with this situation is obvious: the color changes with every frame. So i need a switch to only allow new values from the "Random" node at given time intervals.
defining the interval is easy as well. Suppose "X" is the interval, then I have the following comparison:
If Time divided by "X" equals the Integer value of Time divided by "X", then the color needs to change. If it is unequal, then the switch needs to block new values from the Random node.
Question is: which node to use as switch, and how to use it? Boolean Node? Switch Node? Flipflop node? To be honest: I haven't got a clue, and I am hoping someone else has.
Cheers,
BaRa
