PDA

View Full Version : Realistic butterfly motion using expressions


CineJay
02-28-2007, 12:10 AM
I'm currently animating a flying butterfly. I've animated the wings using keyframes and a loop expression, but I'd like to modify the speed at which the wings flap over time. In other words, instead of a constant 5 beats per second, I'd like them to slowly fluctuate between 5 and 10 beats per second.

I was initially going to use time remapping to accomplish this, but that doesn't seem possible, especially since I want to render accurate motion blur.

Is there another set of expressions that can help me accomplish this? Or is there a way to modify the velocity of a loop expression over time?

Help is greatly appreciated!

CineJay
02-28-2007, 05:26 AM
I think I figured it out (at least on paper). Instead of using a keyframe loop, I'm going to base the wing motion on a sine wave whose frequency is modulated by a noise function. Should work...

superblack
02-28-2007, 03:27 PM
don't know about the expressions. but for the realistic Motion Blur, for me (i did something similar some weeks ago) it worked better with two different MBs. one high value for the wings, and a normal one for the body.

s.

a3R
03-01-2007, 02:06 AM
I dont know how your expression look like, but I would connect the speed to a slider so you have more control (then keyframe the slider so it has a higher speed when the butterfly moves more rapidly). Unless you got a lot of butterflys, then I would write something where the flapping speed was depening of how much the butterfly is moving. Or just do the sin/noise thing you where thinking of, it should work to.

CGTalk Moderation
03-01-2007, 02:06 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.