Page Contents

 

Introduction


This tutorial covers the basic workflows for using the different emit modes in Phoenix FD for 3ds Max. By the end of this process, you will gain an understanding of how to use multiple sources and emitter types to create complex simulations.

To follow this tutorial, you will need to have the Phoenix FD for 3ds Max plugin installed. This is a companion to go along with the QuickStart video posted on our YouTube channel and available here:

 

 


Tutorial Assets


To download the ending scene file for this tutorial, please click the button below.

 

Download Project Files

Tutorial Steps


Create a new 3ds Max file and make a sphere with a radius of about 45 cm.

 

 

 

Select the sphere and click the Create a Fire/Smoke Simulator button in the toolbar. Draw out the grid around the sphere.

 

 

 

In the Grid rollout, adjust the simulator XY / Z size to 188 x 188 x 150.




Move the sphere up to the center of the simulator, as shown below.

 

 

 

Create a source by clicking on the Fire/Smoke Source button in the toolbar, and draw the object into the scene.

 

 

 

 

 

With the Source selected, go into its properties in the Modify tab, click the Add button, and select the sphere to add it as a Source.

 

 

 

Notice that the Emit Mode is set to Surface Force by default. This means that the surface of the emitter, the sphere, will be used to discharge fluid along the geometry normals.

Set the Outgoing Velocity, also known as the discharge, to 5.

 

 

 

Turn on Auto Key. Move to Frame 51 in the timeline, and change the Outgoing Velocity to 0.0. Then step back to Frame 50, and set the Outgoing Velocity to 5.0. This will animate the discharge so that it stays at a value of 5.0 from frame 0 to 50, then turns off at frame 51. Turn Auto Key off.

 

 

 

 

 

 

 

 

Start the simulation to see the particles emitting from the surface of the sphere. Stop the sim after the first few frames.

 

 

 

Select the simulator, open the Dynamics rollout, and turn Gravity to 0.0 to prevent the smoke from rising.

 

 

 

We only want to produce smoke for this simulation, so select the Source and turn off Temperature.

 

 

 

Start the simulation again again, and notice that only Smoke is created on the surface. Stop the simulation.

 


After a few frames the sphere is covered in smoke.

 

 

Let's break up the regularity of the smoke with a mask. Select the Fire Source and under Outgoing Velocity, click None next to Mask (Texmap). In the menu that appears, type Noise in the text box and double-click the Noise texture.

 

 

 

 

 

 

Open the Material Editor. Drag the Noise map over to the Diffuse map button for the highlighted material, and make it an Instance. This example uses the Compact Editor, but it can be done with the Slate Editor as well. To change from Slate (nodes) to Compact, select Modes in the Material Editor window and choose Compact.

 

 

 

 

 

Click the M (Map) button where the texture was just dragged in order to access the texture's parameters.

 

 

 

Select the simulator and delete the caches by clicking the Trashcan icon in the Phoenix toolbar shown below. Select Yes at the prompt.

 

 

 

 

 

 Select the Sphere in the scene and use the Assign Material to Selection icon in the material editor to assign the material to the sphere.

 

 

 

To see the texture in the viewport, select the icon for Show Shaded Material In Viewport icon (left) shown below. To see the final result in the Material Editor, select Show End Result as well.

 

 

 

In the Coordinates rollout, change the Source to Explicit Map Channel. Then in the Noise Parameters rollout, reduce the Size to 0.2 and change the Noise Type to Fractal. Set Levels to 5, High Threshold to 0.795 and Low Threshold to 0.794. However, the texture will appear black in the preview. That's ok.

Feel free to experiment with the High/Low Threshold values, but keep the high and low values very close together.

 

 

 

Let's animate these values by enabling Auto Key. Move the time slider to Frame 50 and set the Low Threshold to 0.479, and the Phase to 0.2. Turn off Auto Key.

 

 

 

Scrub the animation and notice how the noise appears slowly over 50 frames.

 

 

Frame 0

Frame 30

 

Frame 50

 

 

 

 

Start the simulation and Stop it at around Frame 30. The smoke production animates over time according to the animated noise texture on the sphere.

 

 

 

Select the simulation, and go to the Preview rollout. In the GPU Preview section, check Enable in Viewport. Then switch the viewport to Wireframe in order to see the effects better.

 

 

 

 

 

 

Let's add more smoke. Select the Fire Source and change the Smoke Multiplier to 2.0.

 

 

 

Select the Sphere and right-click to locate the Phoenix FD Properties. Uncheck Solid Object to make it non-solid. This will prevent the sphere from interacting with the other emitters we will create next.

Shift + Drag the sphere to the left slightly to create another sphere. Set Object to Copy and select OK.

 

 

 

 

 

 

Position the second sphere in the center of the original. Change its Radius to about 40.0 so it is slightly smaller. Change the object's color, if needed, for better visibility.

 

 

 

From the Phoenix FD Toolbar, create another Fire Source in the scene. From the Modify panel, press Add, then press H to bring up the Pick Object window to make selection easier. Select the inner sphere, Sphere002, from that dialog.

 

 

 

In the Source settings, change the Emit Mode to Volume Brush. This mode will fill the volume of the emitter object gradually over time as a percentage set by the Brush Effect (%) value, which we will animate later.

Note that the Volume Emit Modes require the emitter to be non-solid. If it isn't, Phoenix will prompt you to change it.

 

 

 

This sphere will fill up with Temperature only, so uncheck Smoke in the Source settings.

 

 

 

Animate the Brush Effect(%) by moving to Frame 5 and turning on Auto Key. Set the Brush Effect(%) to 60. Move to Frame 34 and set Brush Effect(%) to 30.

Set Frame 35 to Brush Effect(%) 60, also set Frame 50's Brush Effect(%) 60. Finally, go to Frame 51 and set Brush Effect(%) to 0.0. Turn off Auto Key.

 

 


Frame 5

 


Frame 34

 


Frames 35 and 50

 


Frame 51

 

 

 

Start the simulation. The second sphere is difficult to see while the sim runs, so select the simulator and open the Rendering rollout, then select Volumetric Options.

 

 

 

Under the Fire rollout, select the lower point in the Color and Intensity graph to activate it. Change the X value to 600. This allows the heat to become visible sooner.

Set the Fire Multiplier to 2.0, and change Physically Based to 0.4. This reduces the Black-Body shader, which causes lower temperatures to be invisible and higher temperatures to be extremely bright. Overall, these adjustments will make the intensity of the fire easier to see.

 

 

 


The adjustments bring out the visibility of the second sphere.

 

 

 

Stop the sim sometime after Frame 50. Scrub the timeline to see the inner sphere gradually fill with fire.

 

 

Frame 10

Frame 25

Frame 40

 

 

Go back to Frame 0 and select the inner sphere. Shift + Drag to create another Copy, once again placing it in the center of the previous spheres. Adjust the Radius of Sphere003 to about 30 so it is smaller than the others. Change it to a different color for better visibility if needed.

 

 

 

Create a third Fire Source and place it in the scene. From the settings, press Add and use the Pick Object window (hotkey H) to pick Sphere003. Change the Emit Mode to Volume Inject. This mode will use the object volume for the emission, but the fluid will discharge with added pressure.

 

 

 

 

 

Set the Inject Power to 0.0. To animate the settings, turn on Auto Key, go to Frame 50, and change Inject Power to 2000. Step back to Frame 49 and set Inject Power to 0.0. For Frame 51, set the Inject Power to 0.0. This will cause a quick burst for an explosion.

 

 


Frame 50

 


Frames 49 and 51

 

 

 

Not only can Inject Power be used to make an outward explosion, but a negative value can also be assigned to create an implosion. With Auto Key still on, navigate to Frame 80 and set Inject Power to 0.0. At Frame 81 set Inject Power to -5000. Turn off Auto Key.

With these keyframes, an explosion will occur at frame 50 and an implosion will follow starting on Frame 81.

 

 


Frame 80

 


Frame 81

 

 

 

Before running the simulation, select the sim and navigate to the Grid settings. Enable the Adaptive Grid by setting it to Smoke. This expands the simulation grid in relation to the smoke. Lower the Threshold to 0.01 to increase the sensitivity for expanding the grid, and change Extra Margin to 20 in order to detect fast-moving particles.

 

 

 

The simulation is already complete up to Frame 50, so to save on simulation time, go into the Simulation Settings and change the Start Frame to 50, then Start the simulation.

 

 

 

Stop the simulation after a few frames have passed.

 

Frame 53

 

To add more swirls to the explosion, go to the simulation's Dynamics settings and increase Conservation Quality to 40. Higher Conservation Quality values will create a stronger explosion shockwave and enhance the implosion effect created with the negative Inject Power value. With lower values, the implosion will not have enough power to draw in all the smoke.

 

 

 

Since the explosion is not influenced by gravity, we can make it look suitable for outer space. To change the look of this explosion, navigate to the Rendering rollout and open the Volumetric Options. In the Fire rollout, navigate to the Color and Intensity graph. Double-click the lower arrows of the first color to bring up the Color Selector. Change it to green (HSV around 0.3, 1.0, 0.7).

 

 

 

To make the fire appear hotter, increase the Fire Multiplier. If you set it to a value of 20, notice it might be a bit too much at the beginning of the explosion. In addition, the simulation will lose the gradual filling of the sphere. To fix this, we can animate this value.

Turn on Auto Key. To gradually increase of temperature in the green fire, go to Frame 50 and key the Fire Multiplier to 2.0. Move to Frame 51 and key the Fire Multiplier to 20, then turn off Auto Key.

 

 


Frame 50

 


Frame 51

 

 

 

Collapse the Fire rollout and expand the Smoke Color rollout. Move forward to Frame 56 and change the smoke Constant color by clicking the color swatch. For this example, we'll make the color a dark purple (HSV 188, 152, 51). Click OK and close the Volumetric Render Settings window.

 

 

 

To add a light to the scene, click the V-Ray Sun button from the V-Ray toolbar. In the Front viewport draw the direction at about a 40-degree angle pointing at the simulation. When prompted to add a VRaySky environment map, select No.

 

 

 


Select No to the environment map prompt.

 

 

 

In the Sun settings, set the intensity multiplier to 0.01.

 

 

 

Go back to the Perspective viewport, frame your shot, and select the simulation. In the Grid rollout, change the Start Frame back to 0. Click the Increase resolution button twice to bring the resolution to around 20 million total cells.

 

 

 

 

 

 

 

Start the simulation. Here's a frame of the final simulation and its render.

 

 


In viewport

 


Rendered