New! Unlimited audio, video & web asset downloads! Unlimited audio, video & web assets! From $16.50/m
Advertisement
  1. 3D & Motion Graphics
  2. Maya
Cgi

Understanding Particles and Dynamics in Maya—Part 21

by
Difficulty:IntermediateLength:ShortLanguages:

In this part of the series, I'll show you how to create burning and flying chunks using particles and fluid dynamics in Maya.

Preview


1. Setting Up the Particles System

Step 1

Open Maya.

Open Maya
Open Maya

Step 2

Jump into the Dynamics mode. Go to Particles > Create Emitter.

Particles  Create Emitter
Particles > Create Emitter

Step 3

A volumetric spherical particle emitter icon gets created on the grid, as shown in the following image.

A volumetric spherical particle emitter icon
A volumetric spherical particle emitter icon

Step 4

Click on the Animation Preferences icon in the lower right corner. It opens the Preferences window. Set the Playback Speed value to Real Time 24 fps and click on Save.

Animation Preferences
Animation Preferences

Step 5

With the Emitter selected, go to emitter1 attribute and Set Key the value of Rate (Particles/ Sec) to 400 at the 1st and 6th frames.

Particles Sec to 400
(Particles/ Sec) to 400 

Step 6

At the 7th frame, Set Key the value to 0. This action will stop the particles emission from the 7th frame onward.

Set Key
Set Key 

Step 7

Go to Volume Speed Attributes and set the value of Away From Center to 35.

Volume Speed Attributes
Volume Speed Attributes

Step 8

Set the value of Random Direction to 4

Random Direction
Random Direction

Step 9

Set the value of Along Axis to 15.

Along Axis
Along Axis

Step 10

Create a ground plane. Select the emitter followed by the ground plane and go to Particles > Make Collide.

Particles  Make Collide
Particles > Make Collide

Step 11

With the particle system selected, go to Fields > Gravity.

Fields  Gravity
Fields > Gravity

Step 12

Go to the gravityField1 attribute and increase the value of Magnitude to 70.

gravityField1 attribute
gravityField1 attribute

2. Setting Up the 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.

Fluid Effects  Create 3D Container
Fluid Effects > Create 3D Container

Step 2

Select the particles followed by the container. Go to Fluids > Add/ Edit Contents > Emit from Object and click on the option box.

Fluids  Add Edit Contents  Emit from Object
Fluids > Add/ Edit Contents > Emit from Object

Step 3

Set the Emitter name as Chunks Emitter and click on the Apply and Close button.

Emitter name
Emitter name

Step 4

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.

Go to fluidShape1 attribute
Go to fluidShape1 attribute 

Step 5

Set the values of Temperature and Fuel to Dynamic Grid.

Set the values of Temperature and Fuel to Dynamic Grid
Set the values of Temperature and Fuel to Dynamic Grid

Step 6

Under the Dynamic Simulation rollout, set the values of High Detail Solve to All Grids, Substeps to 2, Solver Quality to 30, Simulation Rate Scale to 1.5, and turn on the Emit in Substeps option.

Under Dynamic Simulation
Under Dynamic Simulation

Step 7

Go to Auto Resize to turn on the Auto Resize option. Set the values of Max Resolution to 500 and Auto Resize Margin to 3.

Auto Resize
Auto Resize

Step 8

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

Under Display rollout
Under Display rollout

Step 9

Go to the ChunksEmitter1 attribute and set the values of Rate (Percent) to 7000 and Max Distance to 0.700.

Go to ChunksEmitter1
Go to ChunksEmitter1

Step 10

Under the Fluid Attributes rollout, turn on the Motion Streaks option.

Under Fluid Attributes rollout
Under Fluid Attributes rollout

Step 11

Under the Fluid Emission Turbulence rollout, set the values of Turbulence and Detail Turbulence to 1.

Under Fluid Emission Turbulence rollout
Under Fluid Emission Turbulence rollout

Step 12

Under the Emission Speed Attributes rollout, set the values of Speed Method to Add and Inherit Velocity to 1.5.

Under Emission Speed Attributes rollout
Under Emission Speed Attributes rollout

Step 13

Hit the Play button. You'll see the simulated frame in the viewport, as shown in the following image.

Hit the Play button
Hit the Play button

Step 14

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

Content Details  Density
Content Details > Density

Step 15

Under the Velocity rollout, set the value of Swirl to 3.

Under Velocity rollout
Under Velocity rollout

Step 16

Under the Turbulence rollout, set the values of Strength to 0.250, Frequency to 0.200, and Speed to 0.100.

Under Turbulence rollout
Under Turbulence rollout

Step 17

Hit the Play button to see the final effect, as shown in the following image. 

Hit the Play button
Hit the Play button

Conclusion

In the next part of the series, I'll show you how to create a gasoline explosion in Maya.

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.