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

Using fracture geometry

From: Creating Simulations in MassFX and 3ds Max

Video: Using fracture geometry

We did mention in our opening chapter that one common use for dynamic rigid body simulations was taking prefractured geometry and simulating the collapse of solid objects, such as buildings, bridges, and the like. This effect requires the simulation of geometry that comes in all shapes and sizes. In order to make use of mParticles to produce such an effect then, we would need to have the option of using irregular-shaped geometry in a simulation--not being stuck with standard primitive shapes only.

Using fracture geometry

We did mention in our opening chapter that one common use for dynamic rigid body simulations was taking prefractured geometry and simulating the collapse of solid objects, such as buildings, bridges, and the like. This effect requires the simulation of geometry that comes in all shapes and sizes. In order to make use of mParticles to produce such an effect then, we would need to have the option of using irregular-shaped geometry in a simulation--not being stuck with standard primitive shapes only.

To show that this is indeed possible, we're going to make use of the prefractured castle turrets that we have set up in our start scene. To save ourselves a little bit of time here, if I just hit the 6 key to pull up Particle view, you can see we have already set up MassFX Flow, which of course also creates a MassFX World helper in our scene set at the world origin. We have made a single change to the flow. In this instance we have replaced the Birth Grid operator with a Birth Group. However, if we were to hit the Play button in our animation controls at this moment in time, we wouldn't find any particles being generated.

This is because we haven't actually specified any particle objects for the Birth Group operator to work with. To set this up, we need to have our prefractured geometry selected. Now, because I know we have all of that geometry on its own layer, let's open up the 3ds Max Layer Manager, select the Fracture_Turrets layer, and then click the Select Highlighted Objects and Layers button. Then of course we can close the Layer Manager dialog. Jumping back into Particle view, we need to select the Birth Group operator, and in the Practical Objects field we can click the Selected button to add all of the currently selected geometry.

What we get initially doesn't look quite right. This is because we still have a shape operator in our flow. As this is clearly not going to be required, we can just delete it. Let's close Particle view for a moment and just take a closer look at what we now have in our scene. If I just select a piece of the segmented geometry and then hit the W key to enable the Move tool, you can see, as I moved the geometry off to one side, that we now have plain gray particles sitting in place, essentially re-creating the form of our castle turrets.

I am just going to use Ctrl+Z to undo that move. This means we can clean things up a little in our viewport by reopening our Layer Manager and hiding our Fracture_Turrets layer. You may be thinking that what we have here seems like a bit of a backward step, as we are left with plain gray turrets whereas before we had some nice brightly colored materials applied. What we are seeing is actually a graphical display error. The particles should appear with the materials visibly in place and indeed, for you on your machine, they may have done just that.

If not, all we need to do is open up Particle view again, click on the Birth Group operator, and scroll down to the Acquire Shapes section. Now, if we just twiddle our Sub-Material ID Offset spinner up and then back down, that should pop our textures back into view. If not, again, don't worry, because if you were to take a render, you would definitely see that your video materials are in place. Now even though we have our particles looking okay in the viewport and we know that if we take a render they will look okay, if I just select our MassFX Shape operator, over in the parameters, you can see that we still have our collision shape for the particles set to Box.

In fact, if I just set the Display As option to Shaded, what we have here would obviously simulate in a very unrealistic manner. To fix this, let's set the Collide As option to Convex Hull, which clearly gives us a collision mesh that much more closely matches our turret geometry. If we want, we can of course turn our shading enough now by setting Display As to None. There is one extremely important distinction between mParticles and the MassFX dynamic simulation that we need to highlight or reiterate at this point.

mParticles are running inside their own MassFX world. This means they are not controlled by, nor do they interact with, the standard MassFX dynamic system. To run an mParticle simulation then, we need to use 3ds Max's animation controls, are opposed to the Start Bolton on the MassFX toolbar. Let's do just that. As we can see, our mParticles definitely simulate, but there is a distinct lack of interaction between our mParticles and the stand geometry.

To change this behavior, all we need to do is add a specific modifier to the object we want our mParticles to interact with. Let's select the stand then and from the modifier list over in the Command panel, we can add a PFlow Collision Shape World space modifier. As this is by default set to use Geometry as the collision shape, we can just click the Activate button. Our final interaction step is to add a MassFX collision test to our flow. So from the depot, let's left-click and drag one in, making sure we set it below the MassFX world operator.

All we need to do now is add our standard geometry into the deflectors list. So with the operator selected, let's click the By List button and then select the stand Ggeometry from the dialog. Now we can close Particle view and again run our simulation. We now have a dynamic rigid body particle simulation that uses scene geometry as particles. Whilst this may not seem to be incredibly exciting, nor indeed a simulation effect that the MassFX system itself couldn't create, the truth is we can now use all the power of the particle flow system to affect our simulation in any way we want.

This gives us the ability to create simulation effects that are just not possible with the standard MassFX dynamics system.

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 · 2507 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.