You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Table of Contents

 

Overview


You can use the Fire Source to emit fire and smoke into Fire/Smoke Simulators. It's not a problem to use it for emitting liquid as well, but you have to understand Grid Channel ranges well.

You can emit fluid from geometry or from particles. The fluid can be emitted from the surface, or from the entire volume of emitting geometry. Particles can emit from a spherical shape, or from instanced geometry shapes. Note that the viewport gizmo of the Source does not emit fluid itself - you have to first pick the geometry or particles you would use as emitters in the Source's list.

The Fire Source interacts by default with all simulators in the scene. If you have many simulators in the scene, you can restrict the source from emitting only into certain simulators using the Include/Exclude lists of the Simulators.

The Source can emit in 3 different Emit Modes - Surface Force mode creates fluid only at the surface of emitters, Volume Brush fills the entire volume of the emitters, and Volume Inject also fills the emitter's volume and adds pressure for an explosive effect.

You can emit any fluid grid channel and you can emit many channels at once. Additionally, you can emit particles from the Source. If you want to emit unevenly only from some areas or volumes of the emitters, you can use a Mask for each of the emission channels. Also, note that if Emit Mode is set to Volume Brush or Volume Inject, the Mask must either be a 3D texture, or it must be projected so that it covers the entire volume of the emitter.

Additionally, each channel can have one or many Discharge Modifiers. They allow you to gain more precise procedural control over how the fluid gets emitted. Discharge modifiers vary the emission over different parts of the emitter depending on properties of the emitter - e.g. the direction of its normals, the speed of movement at each point of an animated emitter, etc.

When using a V-Ray Vertex Colors texture as a mask to modulate any of the emission channels (e.g. RGB), make sure to set the Type to Set name and the Set name to colorSet1. colorSet1 is the default naming convention for Maya's vertex color sets. If you add additional color sets (using Mesh Display → Create Empty Set), each consecutive set will be named colorSet2, colorSet3, etc. For a step by step tutorial on using the Vertex Color texture as part of a workflow, please check the Simulation RGB Workflows (Chapter 3) tutorial.

UI Paths

UI Paths:  ||Phoenix FD menu|| > Create > Fire/Smoke Source


 

 

||Phoenix FD Shelf|| > Create Phoenix FD Fire/Smoke Source button

 

Parameters


 

 

Object Set | nodeSet – Specifies a list of objects that will emit fluid. Both geometry and particle systems can be selected here. Note that if you want to emit from an Instancer, you must select the instanced geometry in this set. Also note that you can add Simulators as emitters as well, as if the surface or the volume of their fluid was a regular geometry in the scene. This way you can use one Simulator to emit fluid into a second Simulator, so you can get effects such as burning liquid. For additional information, please head over to the Interactions Between Simulators page.

Emit Material | material –  In Maya objects can have different materials assigned to different polygons of the object. Only polygons with the specified material will emit the fluid.

Emit Mode | ifNotSolid (enum: 0 - 3) – Specifies the way the objects in the Object Set emit fluid.

Surface Force – The surface of the emitters will eject the selected fluid channels along the geometry normals. In this mode, the Discharge acts as Outgoing Velocity and it specifies the speed of the emitted fluid in units/sec. The displayed units will change accordingly if the scene units change.

This mode can work with both Solid and non-Solid emitters. If you use a Mask for the discharge in Surface Force mode, white areas of the emitter's surface will eject fast fluid, while darker ones would emit more slowly. Black areas will not emit at all.

Volume Brush – The fluid inside the volume of the emitters will gradually change towards the selected channel values. When this mode is selected, the Discharge acts as Brush Effect (%) and it specifies the rate at which the transition takes place. When Brush Effect is 100%, the fluid will immediately reach the selected channel values, and if Brush Effect is less, it specifies how close the fluid values will get to the values from the Source over 1 second. E.g. if the Temperature inside an emitter's volume is 1000 and the Source emits Temperature 2000 with Brush Effect of 80%, then after 1 second the temperature will have risen to 1800. This mode is useful for creating standing volumes of fluid with a high Brush Effect, or alternatively - to slowly convert the fluid inside the volume of the emitters to the values selected below over a period of time. Note that you can both increase or decrease the values of the fluid channels in Volume Brush mode.

This mode requires that all selected emitters are set into non-Solid mode from their Per-Node Properties. If you use a Mask for the discharge in Volume Brush mode, white zones in the volume will have the Brush Effect you have specified, while darker zones will use a smaller Brush Effect. Completely back zones in the mask would not be affected at all by this Source.

Volume Inject – The volume of the emitters will discharge the selected fluid channels with added pressure. When this mode is selected, the Discharge acts as Inject Power and it specifies the added volume of the injected fluid per second. This mode is useful for getting explosive discharge.

This mode requires that all selected emitters are set into non-Solid mode from their Per-Node Properties. If you use a Mask for the discharge in Volume Inject mode, white zones in the volume will have the Inject Power you have specified, while darker zones will use a smaller Inject Power. Completely back zones in the mask would not be affected at all by this Source.

Transfer – The volume of the emitters will transfer content from other Phoenix Simulator object(s) into this one. The Discharge acts as Transfer Effect (%).

When emitting from particles in any of the 'Sphere' Particle Shape modes, the Surface Force Emit Mode is not supported - Phoenix FD will automatically fall back to Volume Inject mode. Only Use Particle Shape supports all 3 emit modes.

Emit Mode: Transfer is not supported by particles either - Phoenix FD will automatically fall back to using Volume Brush.

Discharge | discharge – This parameter controls the strength of the source. Check Emit Mode for more info.

Discharge Mask | dischargeMult – Allows you to vary the Discharge over the surface or the volume of the emitters. White areas of this map will have the strongest discharge, while black areas of the map will not discharge at all. The individual fluid channels can also be modulated using dedicated maps from the options below. See the info on the Emit Mode option above for more info on how the Mask affects each mode. Make sure to enable the texture's Alpha is Luminance option.

Noise | noise – Varies the Discharge across the surface or the volume of the emitting geometry or particle. The variation also changes over time. This is a shorthand for using an animated noise in the Mask slot.

 

Temperature (K) | useTemperature, temperature – Specifies the temperature of the emitted fluid, in Kelvin. A value of 0 is absolute zero, and a value of 300 denotes room temperature. Temperature above 300 makes the fluid rise up, while temperature below 300 makes it fall down. You can find out more about Phoenix Grid Channel Ranges here. If the Temperature channel is not enabled in the Output rollout of the Simulator, this parameter will be ignored.

Temperature Mask | temperatureMult  – Allows you to vary the channel over the surface or the volume of the emitters. If this is not used, the Source will emit equal temperature over the entire surface or volume of the emitters. Make sure to enable the texture's Alpha is Luminance option.


Smoke | useSmoke, smoke – Specifies the density of the emitted Smoke. This value is usually between 0 and 1, but it can be set greater than 1 if you wish your smoke to look thick and heavy even after traveling some distance. You can find out more about Phoenix Grid Channel Ranges here. If the Smoke channel is not enabled in the Output rollout of the Simulator, this parameter will be ignored.

Smoke Mask | smokeMult – Allows you to vary the channel over the surface or the volume of the emitters. If this is not used, the Source will emit equal smoke density over the entire surface or volume of the emitters. Make sure to enable the texture's Alpha is Luminance option.


Fuel | useFuel, fuel – Specifies the amount of emitted Fuel. If the Fuel channel is not enabled in the Output rollout of the Simulator, this parameter will be ignored.

Fuel Mask fuelMult  – Allows you to vary the channel over the surface or the volume of the emitters. If this is not used, the Source will emit the same amount of Fuel over the entire surface or volume of the emitters. Make sure to enable the texture's Alpha is Luminance option.


RGB | useUvw, uvw – If the RGB Map is not enabled, the emitted fluid's RGB channel will contain the specified color. If the RGB Map is enabled, the RGB values from the texture map will be used instead of the color swatch. If the RGB channel is not enabled in the Output rollout of the Simulator, this parameter will be ignored. Also, note that if Emit Mode is set to Volume Brush or Volume Inject, the Map must either be a 3D texture, or it must be projected so that it covers the entire volume of the emitter.

RGB Map | uvwMult – Allows you to vary the RGB over the surface or the volume of the emitters. If this is used, the color swatch is ignored. Otherwise, the Source will emit equal RGB over the entire surface or volume of the emitters.

To render the Smoke with these RGB values, set the Smoke Color Based On parameter to RGB. For rendering of liquids, set a Grid Texture as the Diffuse map for a V-Ray Material, and set the Grid texture's Channel to RGB.

 

Particles | useParticles, particles – Allows the source to emit particles into the Simulator. The particle birth rate is in thousands of particles per second.

Particles Mask | particlesMult  – Allows you to vary the amount of particles over the surface or the volume of the emitters. If this is not used, the Source will emit equal amount of particles over the entire surface or volume of the emitters. Make sure to enable the texture's Alpha is Luminance option.

Particles Type | particlesType (enum: 0 - 2) – Specifies the type of particles created by this source:

Drag – The source will emit Drag particles. These are the simplest Phoenix particles and are just carried by the velocity of the simulation, without interacting with one another. They can be shaded using the Particle Shader and can be used for simulation of embers, or integration effects such as dust or sand. The RGB color of Drag particles is inherited from the Source and written in the cache files if the Simulator → Output → RGB Grid Channel is enabled.
Foam – The source will emit Foam particles. Note that Foam simulation must be enabled from the Simulator so this type of particles can be emitted into it.
Splashes – The source will emit Splash particles. Note that Splash simulation   must be enabled from the Simulator so this type of particles can be emitted into it.

Lifespan (seconds) | particlesLifespan – The maximum age of the particles created by this source, specified in seconds.

Lifespan Variation | particlesLifespanRandom – Adds variation of the particles' lifespan, specified in seconds.


Drag particles are created as separate particle systems per each Source that creates them, using the name of the emitting geometry. This is why the particle channels written to the simulation cache files are chosen from the Source, unlike the channels of other particle types which are set through a Simulator's Output rolloutNote that writing more channels to the cache files takes more time and will add up to the simulation time, so if you know in advance that you will not be needing a certain channel for rendering, then it would help the simulation times if you turn it off.

Output Drag Velocity | particlesOutVel – When enabled and the Particles Type is set to Drag, this parameter exports the Velocity channel to the cache files, so that you can use it for rendering with motion blur or coloring of particles based on their speed using the Particle Texture.

Output Drag IDs | particlesOutIDs – When enabled and the Particles Type is set to Dragthis parameter exports the ID channel to the cache files.

Export Drag Particle Ages | particlesOutAges – When enabled and the Particles Type is set to Dragthis parameter exports the Age channel to the cache files.

Export Drag Particle RGB | particlesOutRGB – When enabled and the Particles Type is set to Drag, this parameter exports the RGB channel to the cache files.

The RGB Grid Channel output under Simulator → Output has to be enabled for the RGB simulation to take place.

 

Motion Velocity | useVelocity, velocity  – When enabled, moving emitters will affect the velocity of the fluid and make it follow the emitter. This effect is controlled with the specified multiplier. If the emitter is not moving, this option has no effect.

  • Particles with attached geometry will act like standard geometry obstacles and will push the fluid by default, as long as their Solid Phoenix property is enabled.
  • Particles without geometry will need to be attached to a Source in order to interact with the fluid in any way.
  • Particles without geometry can emit fluid using their shape and size using the Source's Particle Shape and Custom Prt Size options.
  • Particles without geometry will not affect the fluid's motion by default, so you need to enable Motion Velocity explicitly if you need this effect.
  • If Motion Velocity is enabled, the fluid emitted by a particle may refuse to leave the particle shape area and continue to move together with the particle, because it will have the same velocity.

When using 2D Textures (such as Ramp for example) together with a Phoenix Source in Volume Brush mode you will need to set up a Projection and adjust the 3D placement node in order to get correct mapping.

While creating the texture, right-click over the Menu item in the Create panel and choose "Create as projection". Then select the projection node, press on the Interactive placement button and adjust your placement node.

 

TexUVW Emission


The main purpose of the Texture UVW feature is to provide dynamic UVW coordinates for texture mapping that follow the simulation. If such simulated texture coordinates are not present for mapping, textures assigned to your simulation will appear static, with the simulated content moving through the image. This undesired behavior is often referred to as 'texture swimming'. In Phoenix such textures can be used for mapping the fire or smoke color and opacity of volumetrics, as well as the color and opacity of meshes. Texture can be also used for displacing volumetrics and meshes.

UVW coordinates are generated by simulating an additional Texture UVW Grid Channel which has to be enabled under the Output rollout for the settings below to have any effect.

For additional information on the Texture UVW feature, please check the Dynamics roll-out documentation.

Inherit TexUVW From Geom | texUVWFromGeom – Sets the UVW Grid Channel value for each cell where fluid is emitted to the UV value of the emission geometry in that cell. As a consequence, for example, modulating the Smoke Color with a texture on the very first frame will produce a render that looks very close to the original geometry, if the same texture was applied to it. When this option is disabled, the TexUVW values will be based on the position of the emission object inside the Simulator. Please check the Texture UVW example below. 

Variation | texUVWVarMode – Variation is used to offset the UVW coordinates upon emission to avoid visible tiling once a texture is applied to the resulting simulation. Similarly to a printer, if the UVW channel is not varied, it would be like printing out the same sentence over and over again on each new line. When varied, the printer will change the line being printed. The following methods are available:

  • No Variation - The emitted TexUVW will not change over time
  • Along U/V/W - The emitted TexUVW value will change over time in the U/V/W direction and by the amount set in Variation/Sec
  • Along Grid/Object/World Normals - The emitted TexUVW value will change over time in the direction of the emitting geometry's normals in Grid/Object/World space and by the amount set in Variation/Sec. Grid space is the system of the Simulator, it always has the Z axis pointing up. Object space is the local transform of the emitter.

Variation/Sec | texUVWVarSpeed – Controls the variation speed - the default value of 1 will cause textures assigned for rendering to repeat exactly once for every 30 frames (1 second) of the simulation.

 

Emission from Particles


 

Time Base | timeBase (enum: 0 - 1) – This parameter is used when emitting from particle systems. It allows you to animate the parameters using the age of the particle instead of the timeline frame time.

Absolute – Parameters of the source will be animated based on the timeline frame time.
Particle Age – Parameters of the source will be animated based on the age of the particle. This way, values at timeline frame 0 will apply to each particle at the moment of its birth, and e.g. values at frame 10 will apply to the particle 10 frames after it was born. This allows particles born at different moments to perform identical animations offset in time. This can be useful e.g. if you want all particles to emit strongly after they are born and reduce their emission after a while, but in case the particles are born through a long period of time, the Absolute mode will change the discharge of all particles together, while Particle Age will allow each particle to have its own copy of the animation.

Particle Shape | partShapeType (enum: 0, 1, 3)  – This parameter is used when emitting from particle systems.

Sphere, 1 voxel – Each particle will be the size of one grid cell. Particle sizes and shapes will be ignored.
Sphere, use size – The particle sizes (radiusPP) will be used.
Sphere, custom size – The particle shape will be spherical and the size will be taken from the Custom Particle Size field.

When a source emits from non-solid particles in any of the Sphere modes, the simulator traces each moving sphere and emits continuously throughout its trajectory, no matter how fast the particle is moving and how many steps the simulation uses. In a contrary way, in Use particle shape mode, the particles are getting evaluated the same way as regular mesh geometries, so in motion they are sampled only at the simulation steps without filling the trajectory in between the particle positions in time. In such case, if a particle moves very quickly and the simulator has low Steps per Frame, the trajectory of the particle would get interrupted and you should increase the simulation steps in order to keep it continuous.

Custom Particle Size | partCustSize – Specify a custom size for the particles using this option. The size is in scene units.

Discharge Modifiers



A list of modifiers that allow modulating the emission using properties of the source object (such as Normal, Position or Speed) at the point of interaction with the simulator. A ramp control is used to remap from the value of the specified property to a user-specified multiplier.

See the Discharge Modifiers page for more information.

 

Example: RGB Map Vertex Color


 

 

Smoke Simulation
Map = Vertex Color

Liquid Simulation
Map = Vertex Color