Wednesday, September 3, 2008

Noise every N frame

The other day my fellow editor asked me how to use the noise(frame) expression to create a value every 5 frame, because noise(frame) created a different value every frame, it was too fast, too shaky.

Well, i went back home and think of a quite complex expression formula. But, then, i thought why take so much trouble, there must be a easy way.

1. Say, you want noise(frame) on position.x every 5 frame, enter expression : noise(frame)*10



2. Next, select the whole position.x channel, then in the below box, select 'Bake'. This will bake the keyframe on every frame.


3. Then, select all the position.x keyframe in the animation curve window (use Ctrl + F, and draw a box covering all the keyframes), in the small blue box (beside the 'Insert Key') enter 5, and press enter.

4. Set the 'Hermite' to 'Constant'. Done.

5. You can further adjust the curve by using the Xscale, Yscale, Xtrans, Ytrans


This technique can be apply to other frame base expression like truerand(), sin(), cos().

Autodesk SmokeTips & Tricks
http://mysmoke.blogspot.com

1 comment:

Jabbar welcomes u said...

Good one dude, keep posting