Advertisement
  1. 3D & Motion Graphics
  2. Maya
Cgi

Understanding Particles and Dynamics in Maya—Part 20

by
Difficulty:IntermediateLength:ShortLanguages:

Preview

1. Setting Up nParticle System

Step 1

Open Maya. Create a polygonal torus on the grid.

Open Maya
Open Maya

Step 2

With the torus selected, set the value of Radius to 3 at 1st frame and click on Set Key option. At 30th frame, set the value to 12 and click on Set Key option. 

Set Key option
Set Key option

Step 3

Delete the half part of the torus mesh as shown in the following image.

Delete the half part
Delete the half part

Step 4

Jump in nDynamics mode. With the torus mesh selected, go to nParticles > Create nParticles > Emit from Object and click on the option box.

nDynamics mode
nDynamics mode

Step 5

In the Emitter Options window, set the Emitter type as Surface and click on Create.

Emitter Options
Emitter Options

Step 6

With the emitter selected go to emitter1 attribute and set the value of the Rate to 80000

Rate
Rate

Step 7

Go to nParticleShape1 > Shading attribute and turn on Lighting option. This option illuminates the particles in the viewport. 

nParticleShape1  Shading
nParticleShape1 > Shading 

Step 8

Open Lifespan rollout and set the values of Lifespan Mode to Random range, Lifespan to 0.1 and Lifespan Random to 0.08.

Lifespan rollout
Lifespan rollout 

Step 9

The value of Rate is set to 80000 at 1st frame, so click on Set Key option. At 40th frame, set the value to 0 and click on Set Key option.

Set Key option
Set Key option

2. Creating Fluid Dynamics System

Step 1

Jump in Dynamics mode. Go to Fluid Effects > Create 3D Container and draw a 3D fluid container in the view port as shown in the following image.

Dynamics mode
Dynamics mode

Step 2

Go to fluidShape1 attribute and set the value of Base Resolution to 50, Boundary X to None, Boundary Y to –Y Side and Boundary Z to None.

fluidShape1 attribute
fluidShape1 attribute

Step 3

Under Display rollout, set the Boundary Draw option to Bounding box.

Display rollout
Display rollout

Step 4

In the Outliner window, select fluid1 followed by nParticle1. Go to Fluid Effects > Add/ Edit Contents > Emit from Object.

Fluid Effects  Add Edit Contents  Emit from Object
Fluid Effects > Add/ Edit Contents > Emit from Object

Step 5

Go to Auto Resize to turn on Auto Resize option. Set the values of Auto Resize Threshold to 0.002 and Auto Resize Margin to 2.

Auto Resize
Auto Resize

Step 6

Go to Lighting rollout and turn on Self Shadow option. Set the value of Shadow Quality to 1. Turn off Real Lights option.

Shadow Quality
Shadow Quality

Step 7

You can see the dust simulation in the viewport as shown in the following image.

Dust simulation
Dust simulation

Step 8

With the emitter selected, go to Fluid Attributes and set the value of Density/ Voxel/ Sec to 10

Fluid Attributes
Fluid Attributes

Step 9

Go to Emission Speed Attributes rollout and set the values of Speed Method to Replace, Inherit Velocity to -10, Directional Speed to 5, Direction X and Y to 0 and Direction Z to 1.

Emission Speed Attributes
Emission Speed Attributes

Step 10

Go to Fluid Emission Turbulence and set the values of Turbulence to 2, Turbulence Speed to 1 and Detail Turbulence to 2.

Fluid Emission Turbulence
Fluid Emission Turbulence 

Step 11

With the fluid container selected, go to Content Details > Density and set the values of Density Scale to 1, Buoyancy to 1, Noise to 1 and Dissipation to 0.1.

Content Details  Density
Content Details > Density

Step 12

Under Velocity rollout, set the values of Swirl to 32 and Noise to 2.

Velocity rollout
Velocity rollout

Step 13

Under Turbulence rollout, set the values of Strength to 0.1, Frequency to 0.6 and Speed to 1.

Turbulence rollout
Turbulence rollout

Step 14

Go to Field > Volume Axis and draw an icon in the view port.

Field  Volume Axis
Field > Volume Axis

Step 15

Set the values of Volume Shape to Sphere and Transform Attributes as shown in the following image.

Volume Shape
Volume Shape

Step 16

Go to Volume Speed Attributes rollout and set the values of Away From Center to 1 and Along Axis to 5.

Volume Speed Attributes
Volume Speed Attributes

Step 17

Hit the Play button and you will see the spreading dust simulation.

Hit the Play button
Hit the Play button

Conclusion

In the next part of the series, I'll show you how to create various dust impact effects using Maya fluid dynamics.

Advertisement
Advertisement
Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.