Fog

 

Fog for Best render

The Fog subpalette provides controls to obtain a fog effect when using Best render; different depths or areas of the canvas may be partly or fully obscured by a foggy or smoky haze.

 

Render > Fog sub-palette

Render > Fog sub-palette

Controls


Intensity: Sets the intensity of the fog at its far point. Range = 0 to 100%. Default = 100%.


Depth1: Depth1 is the near point of the fog effect. There is no fog effect at this distance. The fog effect becomes stronger as depth increases. Type in the Z depth directly or click and drag from the slider to the canvas to set the value; pick a object a pixol at the depth you want the fog to begin.


Depth2: Depth2 is the far point of the fog effect. There is full fog at this distance. Set the value as for Depth1.


Fog Color 1: Fog Color 1 is the color of the fog at the near point of the fog effect. Set by selecting a color with any of the color pickers and clicking on the Fog Color 1 patch. You can also click and drag from the Fog Color 1 to any part of the canvas or interface to pick a color.


Fog Texture: You can also colorize the fog by using a bitmap texture. You can produce other environmental effects, such as smog, by using a fog texture. Click and hold on the Fog Texture patch to access the texture sub-palette and choose a texture. It will be stretched over the entire canvas area. Each pixel of the texture will determine the color of the fog at that location.

Note: A Fog Texture will override Fog Color 1 and Fog Color 2 settings.


Fog Alpha: You can further modify the fog effect by using Fog Alpha. Click and hold on the Fog Alpha patch to access the texture sub-palette and choose a texture. It will be treated as a grayscale alpha and stretched over the entire canvas area. Each pixel of the alpha will determine the intensity of the fog at that location. When the alpha is white, there is maximum fog. When the alpha is black, there is no fog effect.


Fog Color 2: Fog Color 2 is the color of the fog at the far point of the fog effect. Set as for Fog Color 1

Left: A fish with with no fog effects. Right: Same fish with fog effects, Depth 1 set on its nose, Depth 2 set on its tail and a light blue Fog color 1 and Fog Color 2.

 


Fog Curve: Clicking on the collapsed Fog Curve area of the sub-palette expands the Fog Curve to its full size. You can adjust the intensity of the fog between the near point (Depth 1) and far point (Depth 2) by adjusting the curve. Fog curve

For example, setting the left end of this curve to the max value and the right end to the min value would render a scene with the closest objects being the foggiest, and the most distant being the clearest.

Fog for BPR render

Fog can be applied to a BPR render by using the BPR Filters.

Fog effect using BPR Filter

Fog effect using BPR Filter

The image on the left shows the BPR render with no filter applied, on the right is the render with the filter.

To create a Fog effect for BPR, first do a BPR render and then:

  1. Click a Filter switch to select and then click the circle in the switch to activate. A closed circle indicates an active filter and the buttons and sliders will be enabled.
  2. Choose the type of filter, in this case Filter>Paint.
  3. Set the BlendMode to Replace.
  4. Click the Color chooser to select a color for the fog. This image used white.
  5. Set the Paint slider value for the intensity of the effect. This image used a setting of 60.
  6. Adjust the Depth slider. A setting of 1 will have the fog furthest away.
  7. Set the Depth Exponent slider. This controls the roll-off or how quickly the fog occurs. This image uses a setting of 1.
  8. Set the Depth A and Depth B sliders. These sliders work as pickers – you can click and drag from the slider to the canvas. Click and drag from Depth A to the nearest point you want clear of fog. Click and drag from Depth B to the furthest point you want clear of fog. This image uses a setting of -0.5 for A and 0 for B.

Once the filter is set up it will be automatically applied to any new BPR renders.