3dsmax Cloth animation with Bones and Skin

Special tutorials, usually for the exporter plugin, but also general modeling tutorials.

3dsmax Cloth animation with Bones and Skin

Postby Embreon » Thu Jan 20, 2011 5:51 am

How to create a cloth that moves realistic on wind.

For this tutorial we are going to use certain aspects from 3Dsmax , such as Reactor, the cloth modifier, bones and skinning methods. It’s best to practice with an easy cloth fist before you start working on complex models.

Starts by making a box at the size you want your object to be, and increase the amount of segments. The more segments you will give your object the more detailed it will be, but keep in mind that it’s going to be a lot more work ! For this tutorial I made min 5 high.
Image

When your box is the way you want it to be apply a cloth modifier to it, which can be found in the modify tab as “ reactor cloth “ . Hit the + next to the cloth modifier and it will open up its tree, and display vertex. Click on vertex and select the two top vertices ( this is where the cloth is going to stay fixed to the scene) and hit Fix Vertices.
Image

To be able to let Havok ( the physics engine of 3dsmax ) calculate how the cloth is going to react to gravity we need to apply a “cloth collection” and that is found on the reactor toolbar
Image

If you don’t have this toolbar go to: Customize -> Customize User Interface and unhide the reactor toolbar
Image

Hit the gear icon on the Reactor toolbar that say’s “ create animation” Havok will then calculate how the cloth is going to move. When it’s done you can see the result when you move the time slider on the bottom. The animation time is set standard to 100 frames, if you want to increase this time, go to the Utility tab and then to Reactor to increase this time.
Image

For the wind effect you need to add a Reactor Wind that can also be found on the Reactor toolbar
Image
Put is in your scene with the arrow pointing towards your object.

The speed setting of the wind in the modifier tab depends on the size of your cloth so I can’t really tell you how strong you will have to set this value. Just play around with them until you have what you want!

Now that your cloth is moving as you want it to be it’s time to add some bones. You can find then under the system create tab -> normal -> bones. And add the bones on the vertical lines off your object !
Image

The first bone you create is the parent, all the other will follow the bone above itself. When the bones are in place it’s time to animate the bones according to the moving cloth. Since Plasma does not know what to do with animated vertices we need to skin the object. Animating the bones works the same way as animating any other object. Just hit the auto key on the timeline and animate every bone to match the cloth. You can do this on ( for example ) every 5 or 10 frames.

When all your bones are animated, delete the cloth because skinning does not seem to work with Editable poly( In the picture I am, but that just to show you about the skin modifier ) objects. So create a new box at the same size as you cloth used to be ! Now its time to add the Skin modifier, that can be found on the modify tab under “skin”
Image

Add all the bones to your object, to let the object know which bones to follow and not. For each bone you need to set its envelope. This is the region the bone will affect the object. The regions will overlay each other, that is normal. Set all the bones to have a certain amount of effect on the box.
When this is done, apply an “Animation” component to all the bones and set it to play the entire animation and to loop it. Also add a “No show” component. Export your age and look at what you made ;)
Image

That’s about it..
The trick is of course to make your cloth move in such a way that It’s loop-able and detailed enough.

Good luck
Embreon
 
Posts: 66
Joined: Sun Nov 02, 2008 5:21 pm

Re: 3dsmax Cloth animation with Bones and Skin

Postby andylegate » Thu Jan 20, 2011 10:32 am

I've added this to my Max tutorials on the UAM wiki with full credit to you for the tutorial:

http://dusty.homeunix.net/wiki/How_To_U ... h_Reactors
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 0 guests

cron