Setting fluid shading attributes

 
 
 

You can set the fluid shading properties using attribute ramps. In this section, you add color and incandescence to the Density and Temperature and adjust the fluid opacity.

To set fluid shading attributes

  1. In the Shading section of the fluid_slag_smokeShape tab in the Attribute Editor, click the Transparency color swatch, set the color drop-down to RGB, 0 to 1, then set the color to the following values:
    • R: 0.5
    • G: 0.5
    • B: 0.5

    With a low transparency value, you can clearly see the smoke being emitted from the slag. After you set the Incandescence ramp, you can re-adjust the transparency if necessary.

  2. Set Edge Dropoff to 0.025.
  3. In the Color sub-section, click the Selected Color color swatch and set the color to following values:
    • R: 0.546
    • G: 0.466
    • B: 0.443
  4. Set Color Input to Constant.
  5. In the Incandescence sub-section, create a ramp using the following values:
    Marker Selected Position RGB color values
    1 0.5 black
    2 0.7 R: 0.23, G: 0.035, B: 0.06
    3 0.8 R: 0.46, G: 0.071, B: 0.011
    4 1.0 R: 3.0, G: 0.90, B:0.072

    Leave all of the marker Interpolation values set to Linear.

  6. Set Incandescence Input to Temperature.
  7. Set Input Bias to 0.53.
  8. In the Opacity sub-section, create a ramp using the following values:
    Marker Selected Position Selected Value
    1 0.1 0
    2 0.2 0.2
    3 1.0 1.0

    Leave all of the marker Interpolation values set to Linear.

  9. Set Opacity Input to Density.
  10. Set the Input Bias to 0.5.
  11. Rewind and play the simulation.

    The fluid still does not look like real smoke and flames. This is because the fluid resolution is still too low. In the next section, you increase the resolution and improve the solve quality.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License