Versions Compared

Key

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

...

Section
bordertrue
Column
width100%

Raytracing Section


Secondary rays bias - a small positive offset that will be applied to all secondary rays; this can be used if you have overlapping faces in the scene to avoid the black splotches that may appear. See the example below for a demonstration of the effect of this parameter.

Info

Example: Secondary Rays Bias

This example shows the effect of the Secondary rays bias parameter. The scene below has a box object with a height of 0.0, which makes the two sides of the box to occupy exactly the same region in space. Due to this, V-Ray cannot resolve unambiguously intersections of rays with these surfaces.

Section
bordertrue

The first image shows what happens when you try to render the scene with the default settings. You can see the splotches in the GI solution, caused by the fact that rays randomly intersect one or the other surface:

Image Modified

In the second image below, the Secondary rays bias is set to 0.001, which offsets the start of each ray a little bit along its direction. In effect, this makes V-Ray skip the problematic surface overlaps and render the scene correctly:

Image Modified

Note that the Secondary rays bias affects only things like GI, reflections, etc. In order to render the scene properly, the material assigned to the box has its 2-sided option checked. This is so that the object looks in the same way regardless of whether the camera rays hit the top or the bottom of the box. If the material did not have this option checked, it would appear "noisy" even though the Secondary rays bias is greater than 0.0:

Image Modified

 

 

Clamp max ray intensity - this option allows to suppress the contribution of very bright rays, which may typically cause excessive noise (fireflies) in the rendered image. Its effect is similar to the Subpixel mapping + Clamp output options of the Color Mapping section, but the Max ray intensity is applied to all secondary (GI/reflection/refraction) rays, as opposed to the final image samples. This allows fireflies to be effectively suppressed but without loosing too much HDR information in the final image. Similar to the Subpixel mapping option, the Max ray intensity introduces bias in the rendered image, as it may turn out to be darker than the actual correct result.

...