Learn Maya 3D Nonlinear Deformers Part III – Sine
June 2nd, 2008After studying Bend and Flare Deformer now it’s the moment learning Sine. Differs from Flare Deformer, where I apply Flare just for modeling (has not got idea to apply Flare for animation). For Sine, I only apply Sine just for animation, but possible Sine applicable to assist modeling process (I have never tried applies Sine for modeling). I have ever made animation tutorial to apply Sine Deformer in Simple Wave.
Sine Deformer has some parameters or attributes, that is:
- Envelope
- Amplitude
- Wavelength
- Offset
- Dropoff
- Low Bound
- High Bound
I confuse explains meaning of each parameter Sine Deformer. So, you can see in explanation part, assisted with picture that easier to be understood.
Explanation
Create a polygon cube.

Select cube and choose Sine Deformer.

I give name for Sine Deformer curve to make easier explains it to you.

If you determine amplitude value hence height dynamic curve will change.

If you increase wavelength value hence dynamic curve will make a move towards linear curve.

If you decrease wavelength value hence amounts from wavelength will increase many. At values wavelength 0.1 cube doesn’t follow forming of wavelength because amounts from edge loop owned by cube to fall short, thus you must add subdivision high to follow forming of wavelength.

If you increase Offset value hence Dynamic curve will make a move towards to bottom end curve.

If you decrease Offset value hence Dynamic curve will make a move towards to top end curve.

If you determine Dropoff value to 1 hence every end part from dynamic curve will be locked in top and bottom end curve.


If you determine Dropoff value to -1 hence midpoint from dynamic curve will be locked in middle curve.


If you detemine Low Bound to 0 hence half from static and dynamic curve will lose. So do if you determine High Bound to 0.


For animation
I have fish character (to try this animation you can apply polygon cube or cylinder, but number of subdivision must fulfill).

Select fish character then chooses Sine deformer. Determine Sine attributes like this:
Envelope: 1
Amplitude 0.1
Wavelength: 2
Offset: 0
Dropoff: -1
Low Bound: -1
High Bound: 0
Apply translate, rotation or scale to locates the Sine like picture below.

Create a cylinder curve and berry name of fish_control.

Add attribute at fish_control. Berry name of Wave_control at this new attribute. Then contents of data like picture below.

This is result from addition of new attribute.

Add expression at Sine offset.

If you successfully add expression at Sine offset attribute hence the color will turn into purple. Now time to play.

Thank has joined in this tutorial. See you in part four.


thanks,for your information
This was a very helpful tutorial, but after the fish gets its swimming motion, how can it be used on a motion path where the animation of fish loops, but he fish can travel around on the given motion path or can be used for instancing particles to simulate a shoal of fishe, will be very helpful if some important tips can be given on the above, thanks and lot again!