New Feature: Playlist Center! Pick a topic and let our playlists guide the way—like a learning mixtape.

Start learning with our library of video tutorials taught by experts. Get started

Creating Simulations in MassFX and 3ds Max
Illustration by John Hersey
Watching:

Learning the difference between concave and convex meshes


From:

Creating Simulations in MassFX and 3ds Max

with Brian Bradley

Video: Learning the difference between concave and convex meshes

We have already discussed the vital role that collision meshes or shapes play in a dynamic simulation. We have also mentioned in passing two very important physical shape types that are available to us: convex and concave holes. If the simple primitive shapes we have access to are not suitable for our particular simulation needs, we may well need to use one of these options. The question is, in any given situation, which one should we choose? Well to make the right choice, we need to first of all understand the difference between the two.
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

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Creating Simulations in MassFX and 3ds Max
3h 53m Intermediate Feb 26, 2013

Viewers: in countries Watching now:

This course introduces basic physics simulation principles in Autodesk 3ds Max using MassFX, a system that makes it cost effective to animate rigid body objects, cloth, and particle systems. Author Brian Bradley introduces basic concepts such as gravity, drag, volume, and density, and how Newton's Laws of Motion can help you understand the interaction of objects with these unseen forces. Using the purpose built scene, Brian walks through the tools and features of the MassFX (PhysX) system, applying the principles discussed as he goes. Along the way, discover how to combine rigid bodies and constraints, mCloth fabrics, and mParticles geometry to create fairground-style effects.

Topics include:
  • Setting up your 3ds Max project
  • Understanding volume, mass, and density
  • Learning the difference between concave and convex meshes
  • Discovering Ground Collision and Gravity
  • Baking out a simulation for rendering
  • Adding an animation override
  • Adding Rigid constraints and creating breakability
  • Creating springy targets with the Hinge constraint
  • Spinning targets with Twist
  • Working with mCloth
  • Putting a rip in mCloth
  • Adding forces to a simulation
  • Using fracture geometry in mParticles
Subjects:
3D + Animation Particles Visual Effects
Software:
3ds Max
Author:
Brian Bradley

Learning the difference between concave and convex meshes

We have already discussed the vital role that collision meshes or shapes play in a dynamic simulation. We have also mentioned in passing two very important physical shape types that are available to us: convex and concave holes. If the simple primitive shapes we have access to are not suitable for our particular simulation needs, we may well need to use one of these options. The question is, in any given situation, which one should we choose? Well to make the right choice, we need to first of all understand the difference between the two.

Once we grasp that, we will be able to figure out which of them will fit our current simulation needs. According to one definition, a concave object is something that is hollow or rounded inward with respect to its surface, such as a soup bowl, whereas a convex object surface curves outward or is rounded like the exterior of a sphere. Actually, a flat surface is also counted as a convex surface inside a dynamic simulation, which is a good piece of information to just keep in mind.

To get the concepts of concave and convex clear in our minds, let's take a look at some visual examples, along with a very simple test we can perform that will show us which surface or object type we are dealing with. To test which of our two object types -- that is, convex or concave--we are looking at, all we need to do is simply draw a straight line through one of our shapes. If, no matter what angle we draw the line from, all we see is a single entry and exit point, then we have a convex shape.

However, if at any point we cross more than two edges of our outline--that is, we have more than a single entry and exit point--that would indicate to us that we have a concave shape, one that at some point has a surface indentation. This same simple test can also be applied to 3D geometry. The test criteria of course remains unchanged. If we can draw a line through our object from any angle and have only one entry and one exit point from the volume of our object, then we have a convex mesh.

More than a single entry and exit point would naturally indicate to us that we're looking at a concave mesh. Being able to identify which object type we are working with really is important. There are often limitations on where simulation software like MassFX will allow a particular option or object type to be used, especially is this the case with any concave geometry we may have in the simulation. For instance in MassFX, concave geometry cannot be used as a dynamic rigid body.

It simply will not simulate accurately. Concave geometry only behaves correctly when set as a static rigid body. Now, this of course initially could appear to limit our simulation options. To show that this is not case, let's take a look at a very simple scene consisting of a torus and teapot. By default, 3ds Max does not have the MassFX Toolbar enabled as we have it here. Although we do cover this in the chapter two video entitled MassFX and the 3ds Max UI, if you want to quickly grab this toolbar for yourselves right now, simply find an empty area up on the main toolbar, right-click, and select the MassFX Toolbar option.

Getting back to our torus and teapot, if these were real-world objects suspended in the air as they are, dropping them together would see the teapot drop through the center of the torus, and both objects would naturally come to rest on the ground. But if we just set these two objects to be dynamic rigid bodies inside MassFX and then run a simulation, you can see that actually doesn't appear to happen. Rather than falling through the torus, the teapot appears to sit on top of it. The torus, as we can clearly see, has a concave surface.

It rounds inward on itself. The dynamic rigid body modifier, however, defaults to creating a convex physical or collision mesh that cannot recognize an inward-curving surface. Technically speaking, our torus object cannot be used as a dynamic rigid body in the simulation. What though, if we set a physical shape to concave? After all, it does appear to be an option that is available to us. Well, when we do, and run the simulation again, as you can see, we run into a fairly serious problem.

The torus does allow the teapot to pass through its center but it itself is no longer a dynamic object. It doesn't react at all to the gravity set in the simulation. Thankfully, we can use the tools given to us in MassFX to work around these limitations. Down in the Physical Mesh Parameters rollout, once we switch our shape type over to concave, we get a number of previously unavailable options come to life, one of which is this Generate button. If we click this, MassFX will now create a number of convex holes that are stitched together to encompass the surface of our concave object.

Now, when we run the simulation, we do get the desired end result: the teapot falls through the torus; both objects come to rest on the ground plane. To prove that our objects can indeed interact very nicely, let's reset the simulation, just reposition the teapot a little bit, and then run the simulation once again. As you can see, no problems at all. We can indeed get an even better fit for our convex holes by checking this Improve Fitting checkbox.

Then we just need to click the Generate button once again. Understanding the difference between Concave and Convex surface types is clearly an important piece of the learning-to-create-simulations puzzle. Equally important of course is an understanding of which simulation situations we can and cannot use these mesh types in, although we have seen that with some careful planning and judicious use of the tools available to us--particularly in MassFX--we should be able to deal with most any rigid body simulation setting that comes our way.

In our next video, we are going to take a look at the concepts behind another extremely important set of rigid body simulation tools--these being constraints.

There are currently no FAQs about Creating Simulations in MassFX and 3ds Max.

 
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.
Upgrade now


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 Upgrade now

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

Notes cannot be added for locked videos.

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.