Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Putting a rip in mCloth

From: Creating Simulations in MassFX and 3ds Max

Video: Putting a rip in mCloth

One very cool feature that has been added to the MassFX toolset in recent updates is the ability of mCloth objects to have tears appear in them when certain forces and/or collisions are applied to them. Not only does this feature work very nicely in mCloth, but it is also very easy to use. The first step of course is to add an mCloth modifier. I am going to do this by holding down the Shift and Alt modifier keys and then right-clicking in the viewport. From the quad menu, I just want to select the Create mCloth command.

Putting a rip in mCloth

One very cool feature that has been added to the MassFX toolset in recent updates is the ability of mCloth objects to have tears appear in them when certain forces and/or collisions are applied to them. Not only does this feature work very nicely in mCloth, but it is also very easy to use. The first step of course is to add an mCloth modifier. I am going to do this by holding down the Shift and Alt modifier keys and then right-clicking in the viewport. From the quad menu, I just want to select the Create mCloth command.

This of course applies an mCloth modifier to the geometry, but you will also notice that we are instantly switched into the Modifier tab of the Command panel. This means we can instantly begin to edit our cloth parameters. Before we go any further however, I just want to demonstrate the current scene setup that we're working with here. Let's come down to our animation controls and press Play. As you can see, our two upright poles begin to move away from one another, ultimately ending up at opposite edges of our stand geometry.

The idea of course is to attach our cloth to these uprights and create a tear as the cloth is pulled apart by the moving poles. The first thing we need to do then is attach our cloth to them. To do this we of course need to enter subobject mode on our mCloth modifier and make a selection. In this case I'm just going to marquee-select those two columns of vertices adjacent to our pole. Then we can use the Make Group button, give our selection an appropriate name, and then click OK.

As our poles are animated, we will need to make use of the node constraint here, so let's again click that button and then of course select the upright that we want to constrain our vertex selection to. When that is done, we need to repeat this process for the opposite side. Give our group an appropriate name. We want to use the node constraint, so let's click that option. With the cloth edges constraint we now need to create a tearable area on our cloth, a selection that lets MassFX know where the weak spot on the cloth object is supposed to be.

In this particular instance, I'm just going to select a few rows in the middle of our cloth. We could though place this selection anywhere we like. Now this time instead of clicking the Make Group button to create a regular constraint, we want to use the clearly marked Make Tear button. we will need to give our tear group a meaningful name. More often than not we will add multiple tears to a piece of geometry in order to get a realistic effect. Being able to quickly tell the various tear groups apart can be important. With those steps complete what we have essentially done is broken apart the vertices in our selection group and added a weld constraint back on top, so as to make it appear as if we're dealing with a single piece of cloth or geometry.

If we exit subobject mode now, we can add the last couple of tweaks to the modifier controls themselves. Firstly, in the Physical Fabric Properties rollout, we want to set our Stretchness value to 0.01. We do then of course need to scroll down to the Tearing rollout and tell the system that we want to make this piece of cloth tearable. With Allow Tearing enabled, let's make certain that our Tear Past value is set to 1.5. This tells the cloth how far it can stretch before any tearing occurs.

If we now set our simulation running, once the tear does occur, we can see that we are clearly getting a result that looks a little unnatural. Cloth very rarely will tear in perfect straight-edged strips or chunks as we have seen it do here. We really need to set up our cloth geometry a little differently. To show you what I mean let's first of all reset the simulation and then open up our 3ds Max Layer Manager. In here we want to select our Tearable Cloth Quads layer and then use the tools to make certain that all of the objects on that layer are selected.

Once they are, we can just hit the Delete key to get rid of them. We will probably want to also delete the layer itself. To add a new cloth object into the scene, we just need to unhide our Tearable Cloth GM layer. This layer contains a cloth object that instead of standing out life as a plain primitive, as that of our first cloth object, it started instead as a rectangular shape. This was a deliberate switch that allowed us to use a garment maker modifier to add detail to the cloth, instead of the standard geometry subdivisions that were being used by our plane.

Now before we can do anything with our new cloth object, we will of course need to add our mCloth modifier and re-create our node constraints. Let's add the modified from the MassFX toolbar and then coming across to the Command panel, we can enter subobject vertex mode. From here we want to again create a selection that we can constrain to our upright poles, so we'll just make a marquee selection of a couple of columns at the end of our cloth object, use the Make Group button, and again give our group an appropriate name. And then of course we can apply the note constraint and again select the appropriate upright.

Then of course repeat the process for the opposite side. Select those two columns of vertices, use the Make Group button, give our selection an appropriate name, and then click OK. We will of course need to also re-create our tear, so let's again select a chunk of vertices around about the center of our cloth geometry, click the Make Tear button, and give our group an appropriate name. With that done we are ready to exit subobject mode and then run the simulation again.

This time around, once our cloth does tear, we can see that it has a much more believable ragged edge to it now. As you can see then, creating tearable mCloth is a pretty straightforward process, one that can produce some very nice results if we take the time to make good use of the tools available to us.

Show transcript

This video is part of

Image for Creating Simulations in MassFX and 3ds Max
Creating Simulations in MassFX and 3ds Max

51 video lessons · 2489 viewers

Brian Bradley
Author

 
Expand all | Collapse all
  1. 3m 27s
    1. Welcome
      58s
    2. Working with the exercise files
      46s
    3. Setting up the 3ds Max project structure
      1m 43s
  2. 39m 20s
    1. Why simulate and not animate?
      3m 38s
    2. A look at gravity and drag
      3m 55s
    3. Understanding volume, mass, and density
      3m 45s
    4. What are Newton's laws of motion?
      3m 20s
    5. Finding believable frames per second and substeps
      3m 5s
    6. Understanding the difference between rigid and soft bodies
      3m 28s
    7. More about rigid body types
      3m 32s
    8. How collisions are calculated
      4m 35s
    9. Learning the difference between concave and convex meshes
      6m 24s
    10. What is a constraint and how do we use it?
      3m 38s
  3. 24m 20s
    1. A look at the MassFX and the 3ds Max user interfaces
      5m 52s
    2. Exploring the MassFX workflow
      5m 14s
    3. Discovering ground collision and gravity
      4m 49s
    4. Adjusting substeps and solver iterations
      3m 43s
    5. Using the Multi-Editor and the MassFX Visualizer
      4m 42s
  4. 44m 11s
    1. Breaking down the shot
      4m 51s
    2. Setting up the launchers
      3m 59s
    3. Setting up the drop system
      4m 30s
    4. Prepping the cans
      3m 33s
    5. Refining the simulation on the launchers
      5m 9s
    6. Refining the simulation on the colliders
      6m 5s
    7. Baking out the simulation for rendering
      5m 37s
    8. Reviewing the simulation with an animation sequence
      5m 3s
    9. Adding an animation override
      5m 24s
  5. 33m 32s
    1. Adding a rigid constraint and creating breakability
      8m 3s
    2. Creating a moving target with the Slide constraint
      4m 47s
    3. Creating springy targets with the Hinge constraint
      5m 59s
    4. Spinning targets using the Twist constraint
      4m 57s
    5. Creating crazy targets with the Ball & Socket constraint
      4m 58s
    6. Constructing a MassFX Ragdoll
      4m 48s
  6. 36m 51s
    1. Applying the mCloth modifier and pinning the hammock
      5m 55s
    2. Setting up the hammock's physical properties
      5m 39s
    3. Working with the mCloth interaction controls
      6m 14s
    4. Attaching the hammock to animated objects
      4m 5s
    5. Putting a rip in mCloth
      6m 14s
    6. Using mCloth to create a rope object
      4m 53s
    7. Creating a soft body object
      3m 51s
  7. 14m 47s
    1. Adding forces to a simulation
      5m 27s
    2. Putting forces to practical use
      5m 33s
    3. Using forces with mCloth
      3m 47s
  8. 35m 27s
    1. Walking through mParticles
      4m 38s
    2. Using fracture geometry
      6m 0s
    3. Creating breakable glue: Part 1
      4m 19s
    4. Creating breakable glue: Part 2
      5m 19s
    5. Creating a gloopy fluid: Part 1
      4m 14s
    6. Creating a gloopy fluid: Part 2
      4m 41s
    7. Adding forces to mParticles
      6m 16s
  9. 1m 5s
    1. What's next?
      1m 5s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Creating Simulations in MassFX and 3ds Max.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.