Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width50%

In this tutorial we explore how to create dust-like simulation using Chaos Phoenix smoke. We go through setting the right simulation units, appropriate geometry dimensions and scene setup suggestions. Most importantly, we guide you through how to make a realistic sand smoke coming up as the horses step on the ground using Voxel Tuner. We compare how different values of some crucial parameters change the whole simulation's look.

 

This simulation requires Phoenix 4.10 Official Release and V-Ray Next Official Release for 3ds Max 2017 at least. If you notice a major difference between the results shown here and the behavior of your setup, please reach us using the Support Form.

 

UI Button
sizelarge
titleDownload Project Files
urlhttps://drive.google.com/uc?export=download&id=1Ehr4rMqbgMzPQu15T7oEYDluquxor9lz1CFpLXdkQtebBJBsNqx3WQ_jtkzdXcYoL

Column
width50%
HTML
<iframe width="720" height="480" src="https://www.youtube.com/embed/sgGt94GPe6g?version=3&loop=1&playlist=sgGt94GPe6g" frameborder="0" allowfullscreen></iframe>

...

Section
Column
width40%

The horse's geometry is modeled with the following dimensions - 196 cm in height, 244 cm in length and width of 60 cm.

Column
width60%

Image Modified

 

Scene Layout

...

Section
Column
width40%

The final scene consists of the following elements:

  1. An animated horse exported to an alembic file provided with the single_horse_01.ABC file.
  2. A dust emitting ground is set by a 3ds Max Standard Plane with Shell modifier applied.
  3. A V-Ray Infinite Plane is used for easily setting the ground.
  4. Phoenix Fire/Smoke Simulator with some tweaks in the Grid, Dynamics, and Rendering rollouts.
  5. A Voxel Tuner is used for a realistic sand smoke coming up as the horse steps on the ground. 
  6. Standard Physical Camera with minor tweaks for final rendering.
  7. A V-Ray Dome Sun Light.

Column
width60%

Image Modified

 

Scene Setup

...

Section
Column
width40%

Create a Fire Smoke Simulator.

 

The exact Position of the simulator in the scene is [ X:0cm, Y:-1500cm, Z:-20cm ].

Column
width60%

Image Modified 

 

Voxel Tuner

...

Section
Column
width40%

We are going to use a Voxel Tuner to emit Smoke where the horse model touches the ground. We will do it in such a way, that we don't even need a Phoenix Source.

In this case, the Voxel Tuner will go through all the voxels of the Simulator, and check if each voxel is close to the ground plane and simultaneously close to the horse mesh. If it passes this condition, then the Tuner will create Smoke in this voxel.

The Voxel Tuner expression is created as follows:

  • If a voxel's Distance to Plane001 is Less Than 1.7 voxels and If the Distance to horse mesh is Less Than 1.7 voxels.
  • Then the Smoke will be Set to 15.0.

We picked very low values for both distance conditions - if you lower them even more, less voxels will pass the condition and Smoke will be emitted in fewer places. On the contrary, if you increase the distances, Smoke will start getting created in the air around the contact points between the horse and the ground.

We also create very dense Smoke - usually we don't need smoke above 1.0, but in this case we emit 15 units of smoke, which would make the smoke render very dense with the default render settings. Below we will enable Smoke Dissipation so the smoke will be thick at first, but then will quickly fade out.

Column
width60%


Section
Column
width50%

Image Modified 

Column
width50%

Image Modified

 

...

 

Section
Column
width40%

Run the simulation for a few frames and render out one frame with the running horse.

 

Notice how the Voxel Tuner generates smoke around the horse's hoof when it touches the ground.

Column
width60%

Image Modified

 

Simulation

...

Section
Column
width40%

The three images here compare the differences between Scene Scale values [set from top to bottom to 1, 5 and 10].

 

The higher the value of the Scene Scale, the slower the movement of the fluid would be. This will keep the smoke close to the ground.

 

The goal here is to make the smoke look like sand, so there is no need to be too diffused or raising high from the ground. At this tutorial the Scene Scale is set to 5, but feel free to experiment with other values as well.

Column
width60%

Image Modified

 

...

 

Section
Column
width40%

In the Dynamics rollout menu, switch the Smoke Dissipation to 0.2 and the Smoke Buoyancy to 0.6.

The Randomize Amount is given a value of 1.0.

The Conservation Method is set to PCG Symmetric, with a Quality of 100. The PCG Symmetric method, in general, produces the most interesting smoke simulations, preserving both detail and symmetry. The high Conservation Quality will allow the dust to produce swirling motion. For in-depth information, please check the Conservation documentation.

The Material Transfer (Advection) Method is set to Multi-Pass.

The Steps per frame are set to 2.

Column
width60%

...

Section
Column
width40%

Compare the difference in the Smoke Buoyancy values displayed in these three images.

The values are set as follows from top to bottom to [ 0, 0.6 and 1 ].


The Smoke Buoyancy could be even set to a negative value so the dust would subside with time.

Column
width60%

Image Modified

 

...

 

Section
Column
width40%

The Smoke Dissipation parameter controls how fast the smoke will disappear. The maximum value of 1 will make the smoke disappear immediately after it was emitted.

The three images here compare the differences between Smoke Dissipation values [set from top to bottom to 0, 0.2 and 0.7].

 

You might notice that with values of 0.2 and 0.7 there is a lot less detail in the smoke simulation because as it becomes more transparent, sharp edges and sharp shadows are diminished.

Column
width60%

Image Modified

 

...

 

Section
Column
width40%

The Randomize parameter is responsible for the random fluctuations of the fluid's velocity for each grid voxel.

Top image: value of 0 (default value).

Bottom image: value of 1.

 

The value of 1.0 is chosen for this parameter in order to break the natural fluid mushroom shapes and puffs and make the result look more chaotic.

Column
width60%

Image Modified

 

...

 

Section
Column
width40%

Open the Output rollout menu, which holds the controls for the simulation result.

The Storage Quality is set to 20 to prevent artifacts in the simulation due to the cache compression.

Since the Temperature is not used in the scene, the Temperature Output Grid Channel is disabled.

The Smoke Output Channel is enabled.

 

Enable the Velocity Channel, if you'd like to render the simulation with Motion Blur or start a Resimulation.

Column
width60%

...

Section
Column
width40%

In those two images are compared two different Sampler types - Spherical (top) and Linear (bottom).

 

With Linear Sampler Type the produced dust looks grainy, so for this tutorial the Spherical sampling is used instead. That effectively reduces this issue.

Column
width60%

Image Modified

 

...

 

Section
Column
width40%

Open the Volumetric Render Settings found by pressing the Volumetric Options button in the Rendering rollout menu.

 

The Volumetric Render Settings are tweaked as follows:

 

The Fire's Based on is set to Disabled.

The Smoke Color is Based on Constant color. We aim at a sand-looking smoke, so we use RGB [ 225, 191, 163 ] for Constant color, but you can tweak it further.

The External Scatter Mult. is set to 0.3.

The Simple Smoke Opacity is set to 0.7.

The Minimum Visible Opacity is set to 0.0.

The Scale Opacity by Scene Units is disabled.

Column
width60%

...

Section
Column
width40%

The source of illumination in the scene is a single V-Ray Dome LightSun.

To add one, go to Create → Lights → V-Ray Dome LightVRaySun.

Set the Multiplier Intensity multiplier to 1.0.

 

You can also use V-Ray Sun and Sky system. Remember to set your camera exposure to be suitable for outdoor lighting.02.

Column
width60%

Image RemovedImage Added

 

...

 

Section
Column
width40%

For this setup a Standard Physical Camera is used.

 

The Film / Sensor Preset is set to 35mm (Full Frame).

The Film / Sensor Width is set to 36.0 mm.

The Focal Length is set to 40.0.

The Aperture is set to 5.0.

The Film Speed (ISO) is set to 100.

The Shutter Duration is set to 1000.0.

 

The exact position of the Camera is [ -1730cm, -3785cm, 907cm ]

and of the Camera Target is [ 179.267cm, -2317.455cm, 36.06cm ].

Column
width60%

...