Saturday, April 11, 2009

Light Noise Animation

How to simulate "broken light" using MAXScript:

aStr = animationrange.start
aEnd = animationrange.end
step = random 1 3
for t = aStr-1 to aEnd by step do
    sliderTime = t
    set animate on
        $.multiplier = random -1 1
    set animate off

Yep, that's all. first 3 lines declared needed variables. Using random for step and for multiplier. Try this script and have fun.

No comments:

Post a Comment

Thanks for your comment