Versions Compared

Key

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

...

Section
Column
width60%

The Sample Rate Render Element displays the work being done by the image sampler as a red, green, and blue image. This render element displays the work being done on the image as it is rendering, and shows the job done when the render completes.

A color is assigned to each pixel according to how many primary samples are being taken by the Image Sampler:

Fancy Bullets
typecircle
  • The Blue channel contains the areas which reached the desired image quality with few primary samples.
  • The Green channel shows areas which required more antialiasing (AA) samples to clean up than the Blue areas, but managed to achieve the Noise Threshold within the number of AA rays used.
  • The Red channel contains the parts of the image which didn't make it to the desired quality threshold, as they reached the maximum amount of AA rays before reaching the Noise Threshold.
  • If the Image Sampler type is Progressive, the White areas represent the areas the sampler is currently working on, as they were found to not satisfy the Noise Threshold as of yet.

The way to ensure a render is correctly computed is to minimize the amount of red color in this render element. Raising secondary sampling through any means reduces the primary sampling work in the corresponding areas, effectively moving red areas into green ones, and green ones into blue ones. Lowering secondary samples per pixel does the opposite, potentially leading to more red areas. The suggested way to minimize the red color and optimize render times is to increase the Max AA Subdivs value (if the previous render was still noisy), or increase the Noise Threshold value (if the previous render was clean, but took too long to complete).

Note that some specific image features, like high-frequency detail often found in fur and hair, or high-contrast zones, will likely always try to reach the maximum sampling, so some red will appear there. This is perfectly normal and doesn't slow down the rest of the rendering while ensuring the problematic parts of the image will clean up as per the user's settings.


UI Expand
titleUI Path: ||Render Setup window|| > Render Elements tab > Add button > VRaySampleRate

 

Image Modified

Column
width5%

 

Column
width35%

Image RemovedImage Added

 

Parameters

...

Section
Column
width60%

This render element is enabled through the Render Elements tab of the Render Setup window in 3ds Max and displays its parameters in a rollout at the bottom of the window:

VRayVFB – When enabled, the render element appears in the V-Ray Virtual Frame Buffer.

Deep output – Specifies whether to include this render element in deep images.

Column
width5%

 

Column
width35%

Image RemovedImage Added

 

Common Uses

...

VRaySampleRate can be used with both the Bucket and Progressive image samplers.

 

Bucket Image Sampler

...

The Sample Rate Render Element is useful for fine-tuning render settings using a "red is bad" rule.

Below is a scene with minimal red in the Sample Rate Render Element, indicating that the sampler had a high enough enough Max Subdivs value value to hit the desired noise level.  

 

...

Before after
afterLabelRGB
darktrue
beforeLabelSampler
Panel
borderStylenone

Image Added

Panel
borderStylenone

Image Added

Render time = 15m 28.6s11m 39sMax Subdivs = 24, Noise Threshold = 0.01, Min shading rate = 6

The image sampler was is mostly able to reach the noise threshold using the subdivisions allotted.

 

...

 

In the next image, the sampler did not have a high enough Max Subdivs value to hit the desired noise level. The high amount of red shows that the image sampler cut off sampling before the image hit the desired noise level. Noise can be decreased by increasing the Max Subdivs parameter to allow the image sampler to reach the desired noise level. Click on the image to view a larger version.

 

...

Before after
afterLabelRGB
darktrue
beforeLabelSampler
Panel
borderStylenone

Image Added

Panel
borderStylenone

Image Added

Render time = 8m 49.0s 6m 17sMax Subdivs = 8, Noise Threshold = 0.01, Min shading rate = 6
The Image sampler was is mostly not able to reach the specified noise threshold.

 

...

 

The primary samples can be allocated to the complex areas of the image by increasing both the Max Subdivs and the Noise Threshold values. This way, V-Ray has enough available primary samples to lower the noise of the complex areas in exchange for an overall slight increase in noise, while still keeping the render times down.

 

...

Before after
afterLabelRGB
darktrue
beforeLabelSampler
Panel

Image Added

Panel

Image Added

Render time = 7m 36.8s 5m 37sMax Subdivs = 12, Noise Threshold = 0.02, Min shading rate = 6
Sample Rate Render Element with not enough max subdivs.
The Image sampler was is mostly not able to reach the specified noise threshold.

 

...

 

Alternatively, the image sampler can allocate primary and secondary samples by changing the Min shading rate value.

For this scene, increasing the Min shading rate allows the sampler more secondary samples to focus on cleaning the lighting, GI, reflections and refractions. In exchange, some of the detailed fur and high contrast areas are a bit noisier as there are not enough primary samples taken for those areas.

 

...

Before after
afterLabelRGB
darktrue
beforeLabelSampler
Panel
borderStylenone

Image Added

Panel
borderStylenone

Image Added

Render time = 11m 36.8s 8m 38sMax Subdivs = 8, Noise Threshold = 0.01, Min shading rate = 20
Sample Rate Render Element with not enough max subdivsMax Subdivs
 Less primary samples were are needed to hit the desired noise level, since more secondary samples were are taken.

 

Progressive Image Sampler

...

The Progressive sampler uses the same algorithm as the Bucket sampler. The main difference is that the maximum samples increase as the sampler finishes each pass. 

 

Section
Column
width5%30%

 

columnwidthcolumnwidth30%
Column
width30%40%
Image slider
Panel
borderStylenone

Image Added

Image Removed

11 passes
Very few samples are given to complex areas of the image

.

 
Panel
borderStyle
Image Removed
none
30%

Image Added

36 passes
Samples

have started

start to focus on difficult areas.

 
Panel
borderStyle
none

Image Added

Image Removed
142

200 passes
Many samples

have started

start to collect only

where

when needed. White areas are the primary target now.

 

Column
width5%30%