Versions Compared

Key

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

...

UI Text Box
typenote

Using the Based on parameter below, you can achieve a wide variety of results when shading Fire & Smoke.

For example, the Fire (emissive content) is by default based on the Temperature Grid Channel. If instead it were based on Smoke Grid Channel data, then voxels containing Smoke values would be shaded as emissive (Fire). In other words, the Smoke would be rendered as Fire.

On the other hand, if the Smoke Color  (diffuse) & Smoke Opacity were based on Temperature, then voxels with Temperature values would be shaded as diffuse volumetrics (Smoke Color & Opacity). In other words, the Fire would be rendered as Smoke.

Section

Anchor
BasedOn
BasedOn

Column
width40%

Based on | darg – Specifies the source channel that will be used to determine the smoke color. By default, a uniform simple color set by the Constant Color option is used. This could also be a texture map, or read from the cache files - in that case the corresponding grid channel must be enabled from the Output rollout before the simulation is run.

  • Disabled - the smoke color will not be rendered.
  • Temperature - the smoke color will be based on the values of the Temperature cache channel and can be remapped using the color gradient.
  • Smoke - the smoke color will be based on the values of the Smoke cache channel and can be remapped using the color gradient.
  • Speed - the smoke color will be based on the values of the Speed cache channel and can be remapped using the color gradient. See the Smoke Color by Speed example below.
  • Texture - the smoke color will be based on the values of a texture map plugged into the Texture slot.
  • Constant Color - the smoke color will be the same for the entire volume and will be taken from the Constant Color box.
  • RGB - the smoke will be based on the values of the RGB channel.
  • Fuel - the smoke will be based on the values of the Fuel channel and can be remapped using the color gradient.

? – Opens the help documents.

Texture | dtxt – If Based on is set to Texture, this slot specifies which texture to use. For more information on texture mapping in Phoenix, please check the Texture mapping, moving textures with fire/smoke/liquid, and TexUVW page.

Modulate | mod_d – When Based on is not set to Texture, the color is multiplied by the texture in the Texture slot.

Reset to Defaults – Resets the settings to their default values.

Div
stylemargin-top: 10px
idFireSmoke_SmokeColor_ConstantColor

Constant color | simple_color – If Based on is set to Constant color, this color is used to uniformly color the smoke.

Anchor
Scattering
Scattering

Div
stylemargin-top: 10px
idFireSmoke_SmokeColor_Scattering

Scattering | noscatter – Controls how the light rays are scattered inside the volume.

Div
stylemargin-top: 5px
idFireSmoke_SmokeColor_Scattering_RayTraced

Ray-traced (GI only) – Enables physically accurate scattering of light rays. This mode produces the most realistic results but it's the slowest to render. It requires V-Ray with enabled Global Illumination, otherwise the rendered result would be the same as if the option is DisabledThe Diffuse Multiplier does not affect the rendering in this mode. Use this mode when you want to render bright clouds.

Div
stylemargin-top: 0px
idFireSmoke_SmokeColor_Scattering_Disabled

Disabled – Disables scattering. The Diffuse Multiplier value can be used to correct the brightness because without light scattering the volume would generally render darker.

Div
stylemargin-top: 0px
idFireSmoke_SmokeColor_Scattering_Approximate

Approximate – Uses an approximate formula which is faster than Ray-Traced scattering and produces good-looking results. Brighter areas of the volume would transfer light farther than dark areas. This option is not supported by the Volumetric Geometry render mode.
Approximate+Shadows – Same as Approximate, but also affects the strength of shadows over the scene geometry. This option is not supported by the Volumetric Geometry render mode.

Anchor
PhaseFunction
PhaseFunction
Phase Function  phase_function – Controls the direction in which the light will scatter inside the volume. Negative values correspond to backward scattering, which mimics a volume made up of solid particles and will produce denser and more detailed looks. Negative values are more suitable for smoke or dust effects. Positive values correspond to forward scattering, which mimics a volume made up of water droplets where light will scatter more. Positive values are suitable for highly scattering volumes such as clouds. The default value of 0 will scatter the light in all directions and create an even and diffuse look. For more information, see the Phase Function example below.

Note that values very close to 1.0 or -1.0 will produce very directional scattering that will be invisible from most angles, so such values are not recommended. When rendering with a Phase Function different than 0 and Volume Light Cache is enabled the rendered result will be brighter. The Phase function is ignored when the scattering is set to Approximate or Approximate+Shadows.

Optimize Anisotropic Scattering anisotropic_scattering_optimization – [V-Ray specific] When enabled it can greatly reduce the render times for highly scattering volumes such as clouds. Due to certain assumptions made for the optimizations, the optimized render result might produce different results compared to the exact brute-force anisotropic scattering. The option is ignored when the scattering is set to Approximate or Approximate+Shadows.

Volume Light Cache | lightcache – Enables light caching for each voxel of the grid, which speeds up bucket rendering considerably when the voxel size of the grid is significantly larger than the rendering pixel. If the grid resolution is large enough compared to the rendering resolution, disabling this option will speed up rendering.

UI Text Box
typenote
  • This option refers to the internal Phoenix Light Cache, which is not related to the V-Ray Light Cache.
  • This option is ignored when using V-Ray GPU or Corona. It works with V-Ray CPU and Defscanline.
  • When using V-Ray Progressive Rendering, the Volume Light Cache option might slow down rendering startup or the overall render speed. 
  • This option might produce artifacts when the smoke is very dense.
  • This option might produce artifacts when objects cast shadows through the smoke.
  • Rendering multiple copies or instances of the Simulator node with this option turned on might lead to slow-downs.
  • This option will consume additional memory, so beware of high RAM usage when rendering very large cache files or a large number of copied or instanced volumes.
  • When rendering in Volumetric Geometry mode, for any of these Render Elements: [ Shadows ], [ Raw Shadows ], [ Global Illumination ], [ Raw Global Illumination ], the Volume Light Cache will require additional memory to produce the correct result.
  • Some V-Ray render elements might not work when Volume Light Cache is enabled. Please consult this table.

Light Cache Speedup | subred – [V-Ray specific] [Valid only when Volume Light Cache is enabled] The higher this option is set, the faster the rendering will be, but the lower the quality of the Volume Light Cache. You can increase this parameter and gain render speed as long as you don't start getting dark cubic grid artifacts on the smoke.

Diffuse Multiplier | difmul – A general multiplier for the diffuse color. It is ignored when the Scattering mode is set to Ray-traced (GI only).

Own Light Scatter Mult transfown – [Valid only when Scattering is set to Approximate  or  Approximate+Shadows] This multiplier determines how far the light travels through the volumetric, based on the distance from the emissive light itself.

External Light Scatter Mult | transfext – [Valid only when Scattering is set to Approximate  or  Approximate+Shadows] This multiplier determines how far the light from all external light sources travels through the volumetric. Both Scatter Boost parameters don't alter the visual density of the smoke to the camera, and only apply to the illumination.

Shadow Strength | shad_strength – A multiplier for the opacity of the shadow that the volumetric casts on other objects.

Color gradient | dcolorx_t, dcolory_t, dcolorx_s, dcolory_s, dcolorx_v, dcolory_v, dcolorx_f, dcolory_f  – When the Based on option is set to a grid channel, this color gradient remaps grid simulation data to render smoke color. The sim data channel is laid out horizontally along the X axis in the color gradient.

The channel data range is highlighted in the curve with a light-blue range. You can find out more about Phoenix Grid Channel Ranges here.

UI Text Box
typetip

 You can use the following controls in the color gradient:

Double click – Creates a new point or changes an existing one.
Left button drag over a point
– Moves the point. If several points were selected beforehand, they will move the same amount.
Left button drag over several points
– Selects several points.
Middle button drag over the background
– Drags the visible area.
Mouse wheel
– Zooms in/out.
Right click
– Displays a drop-down menu where you can add a point, edit or delete a selected point, and fit the entire gradient into the view. If multiple points are selected, they can be edited simultaneously.
Backspace – Deletes the selected points.

Column
width5%

 

Column
width55%

 

Anchor
PhaseFunction_example
PhaseFunction_example
Example: Phase Function with front lighting

...