nCloth Balloon
 
 
 

This example will show you how to create a flexible skin for a virtual balloon.

Create the balloon

To model the balloon you will create a Icosahedron. This will result in more realistic movement than a polygon sphere.

To model the balloon

  1. In the Polygons menu set select Create > Polygon Primitives > Platonic Solids > .

    The Polygon Platonic Solid Options window appears.

  2. Set Platonic Type to Icosahedron and click Create.
  3. Select Mesh > Smooth.
  4. In the Attribute Editor, select the polySmoothface1 tab.
  5. Set Method to Linear
  6. In the Linear Poly Smooth History section adjust the attributes as follows:
    • Division Levels: 1
    • Divisions per Face: 3
    • Push Strength: 0.8
    • Roundness: 2

Resize and reshape the balloon

In this example the balloon model for the balloon will remain spherical. You can optionally reshape the model into a more balloon-like shape.

  1. Select the balloon and select the Move Tool.
  2. Move the balloon above the ground plane (in the positive Y direction).
  3. Select Smooth Shade All mode (hotkey: 5).
  4. -click the balloon and select Face from the marking menu that appears.

    The balloon now appears in face selection mode.

  5. On one side of the balloon, select 6 adjacent faces that form a hexagon.
  6. Press .

    The selected faces are deleted.

Make the balloon model nCloth

  1. In the nDynamics menu set select the balloon and then select nMesh > Create nCloth.

    Maya converts the polygon balloon into an nCloth object.

Make the balloon model act like a balloon

Now that you have the basic shape for your inflated balloon, you need to configure the balloon’s attributes so it acts like a balloon and its initial state so it starts deflated.

To adjust the balloon's attributes

  1. Select the balloon.
  2. In the Attribute Editor, select the nClothShape1 tab.
  3. In the Collisions section set Thickness to 0.02.
  4. In the Dynamic Properties section set Stretch Resistance to 80.
  5. In the Pressure section set Pressure to 0 and Seal Holes to On.
  6. In the Quality Settings section set Evaluation Order to Parallel.
  7. Select the nucleus1 tab.
  8. In the Ground Plane section turn on Use Plane.
  9. Set the End Time of the playback range to 450.
  10. Playback the simulation.

    The deflated balloon falls to the floor.

To set the balloon's initial state

  1. Go to the beginning of the playback range.
  2. Select the balloon and select nSolver > Initial State > Relax Initial State > .

    The Relax Initial State Options window appears.

  3. Select Edit > Reset Settings.
  4. Set Steps to 200 and click Relax Initial State.

    Maya will automatically playback the scene to frame 200 and save the balloon simulation to disk.

  5. Select nMesh > Rest Shape> Set Rest to Start Shape.

    The balloon begins its simulation in its deflated form.

Inflate and deflate the balloon

Now that the balloon begins deflated you can animate the balloon inflating and then deflating.

To inflate the balloon

  1. Go to the beginning of the playback range.
  2. Select the nCloth balloon.
  3. Open the Channel Box and under Inputs, select nClothShape1.
  4. Select Pressure and then -click Seal Holes to include it in the selection. -click either name and select Key Selected from the context-sensitive menu that appears.

    The fields will change color to confirm you set the keys correctly.

  5. Go to frame 200 of the simulation.
  6. Set Pressure to 10.
  7. Select Pressure.
  8. -click the name and select Key Selected from the context-sensitive menu that appears.
  9. Playback the animation.

    The balloon inflates very quickly initially, and then slows down until frame 200.

To deflate the balloon

  1. Go to frame 300 of the animation.
  2. In the Channel Box, select Pressure and -click Seal Holes to include it in the selection. -click either name and select Key Selected from the context-sensitive menu that appears.

    The fields will change color to confirm you have set the keys correctly.

  3. Go to frame 301 of the animation.
  4. Set Seal Holes to off.
  5. -click the name Seal Holes and select Key Selected from the context-sensitive menu that appears.
  6. Go to frame 450 of the animation.
  7. Set Pressure to 0.
  8. -click the name Pressure and select Key Selected from the context-sensitive menu that appears.
  9. Playback the simulation.

    At frame 300 the balloon flies away due to the release of air from the hole in the geometry.