Versions Compared

Key

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

...

Section
bordertrue
Column
width10%

 

Column
width40%


No antialiasing (Fixed rate sampler, 1 subdiv)

Column
width40%

Antialiasing on (Adaptive subdivision sampler, rate -1/2)

Column
width10%

 


Image Sampler

...

 

Section
Column
width50%

 Type – Specifies the image sampler type:

Fixed – Takes the same number of samples per pixel;
Adaptive DMC – Takes a variable number of samples per pixel depending on the difference in the intensity of the pixels;
Adaptive subdivision – Divides the image into an adaptive grid-like structure and refines it depending on the difference in pixel intensity;
Progressive – Progressively samples the entire image.

Min shading rate – Controls the number of primary rays shot for AA (anti-aliasing) versus secondary rays for other effects like glossy reflections, GI, area shadows, etc. Higher values mean that less time is spent on AA, and more effort is put in the sampling of shading effects. This approach is especially useful with the Progressive image sampler. 

Min subdivs – Controls the minimum number of samples that each pixel in the image receives. The actual number of the samples is the square of the subdivs.

Max Subdivs – Controls the maximum number of samples that each pixel in the image receives. The actual number of the samples is the square of the subdivs.

Noise thresholdThe desired noise level in the image. If this is 0.0, the entire image is sampled uniformly until either the Max. subdivs value is reached or the Render time limit is reached.  

Max render time in minThe maximum render time in minutes. When this number of minutes is reached, the renderer stops. This is the render time for the whole frame; it includes any GI prepasses like light cache, irradiance map, etc. If this is 0.0, the render is not limited in time.

Ray bundle sizeUseful for distributed rendering in order to control the size of the chunk of work that is handed to each machine. When using distributed rendering, higher values may help to utilize CPUs on the render servers better.

Filter Type  Specifies the filter type to be used for anti-aliasing. V-Ray supplies eight types of Anti-aliasing filters: Box, Area, Triangle, Lanczos, Sinc, CatmullRom, Gaussian and Cook Variable. Each has advantages and disadvantages, which make them useful for different tasks.

Size  Determines the size of the filter in pixels. Higher values yield blurrier results. For more information, see the Anti-aliasing Filters example and the Anti-aliasing Filters and Moire Effects example below.


UI Text Box
typenote

Avoid using the Progressive sampler with sharpening image filters (Catmull-Rom , Mitchell-Netravali). This might slow down the rendering because additional image samples will be required to resolve sharpening filters properly. In such a case, V-Ray will print a warning in the V-Ray messages window.

UI Text Box
typeinfo

Unlike the other bucket image samplers, the Progressive sampler doesn't have a mechanism to recover if a DR server goes offline during rendering before sending back the results from its calculations. The render process may hang indefinitely waiting for the missing data to arrive. This will be corrected in a future release.


Fixed Sampler

This is the simplest image sampler. It takes a fixed number of samples for each pixel. 

Subdivs - Determines the number of samples per pixel. When this is set to 1, one sample at the center of each pixel is taken. If this is greater than 1, the samples are distributed within the pixel. The actual number of pixels is the square of this parameter (e.g. subdivs produce 16 samples per pixel).

Adaptive DMC Sampler

This sampler makes a variable number of samples per pixel based on the difference in intensity between the pixel and its neighbors.This is the preferred sampler for images with lots of small details (like VRayFur, for example) and/or blurry effects (DOF, motion blur, glossy reflections etc). It also takes up less RAM than the Adaptive Subdivision sampler.

Min subdivs - Determines the initial (minimum) number of samples taken for each pixel. You will rarely need to set this to more than 1, except if you have very thin lines that are not captured correctly, or fast moving objects if you use motion blur. The actual number of pixels is the square of this number (e.g. 4 subdivs produce 16 samples per pixel).

Max subdivs - Determines the maximum number of samples for a pixel. The actual maximum number of sampler is the square of this number (e.g. 4 subdivs produces a maximum of 16 samples). Note that V-Ray may take less than the maximum number of samples, if the difference in intensity of the neighboring pixels is small enough.

Threshold - The threshold that will be used to determine if a pixel needs more samples. This is ignored if the Use DMC sampler threshold option is on.

Use DMC sampler threshold - When this is on, V-Ray will use the threshold specified in the DMC sampler to determine if more samples are needed for a pixel. When this is off, the Color threshold parameter will be used instead.

 

Adaptive Subdivision Sampler

This is an advanced image sampler capable of undersampling (taking less than one sample per pixel). In the absence of blurry effects (direct GI, DOF, glossy reflection/refraction, etc.) this is the best preferred image sampler in V-Ray. On average, it takes fewer samples (and thus less time) to achieve the same image quality as the other image samplers. However, with detailed textures and/or blurry effects, it can be slower and produce worse results than the other two methods.

 

Min rate - Controls minimum number of samples per pixel. A value of zero means one sample per pixel; -1 means one sample every two pixels; -2 means one sample every 4 pixels, etc. 

Max rate - Controls maximum number of samples per pixel; zero means one sample per pixel, 1 means four samples, 2 means eight samples etc. 

Threshold - Determines the sensitivity of the sampler to changes in pixel intensity. Lower values will produce better results, while higher values will be faster, but may leave some areas of similar intensity undersampled. 

Normals threshold - Determines the sensitivity of the sampler to the variation of normals. 

Jitter - Displaces the samples slightly to produce better antialiasing of nearly horizontal or vertical lines. 

Edges - Causes the image sampler to always supersample object edges (regardless of whether they actually need to be supersampled). This option has no effect if DOF or motion blur is enabled. 

Normals - Supersamples areas with sharply varying normals. This option has no effect if DOF or motion blur is enabled.

Column
width5%

 

Column
width45%

...

The following diagram shows visually the way V-Ray works when using the Adaptive Subdivision image sampler. With this mode V-Ray creates a secondary grid on top of the pixel grid and uses this grid to position the samples. This allows it to use less than a sample per pixel. After the first pass, the samples are compared and, if the difference between two samples is bigger than the values in the thresholds, the grid is subdivided and more samples are added. During the whole time, V-Ray has to keep the whole grid in the memory, which makes this method less memory efficient compared to the other two methods - see the Notes below.


 

 

 

 

 Example: The Threshold Parameter

 

This example deals with texture anti-aliasing and the effect of the Threshold parameter for the Adaptive DMC and Adaptive Subdivision samplers.

By default V-Ray anti-aliases everything in the image, including textures. This is especially useful for textures with small details or noisy bump maps. The Threshold parameter controls the extent to which texture anti-aliasing is performed. The effect of this parameter is most noticeable with the Adaptive Subdivision sampler and low Min shading rate values. For the four images below, min/max rate of -3/2 was used: 

...

Column
width25%

 

Column
width50%
Image slider
minLabel0.1
maxLabel10
Panel
borderStylenone

Image Removed

Threshold 0.1

Panel
borderStylenone

Image Removed

Threshold 1.0

Panel
borderStylenone

Image Removed

Threshold 5.0

Panel
borderStylenone

Image Removed

Threshold 10.0

...

 

 

...

 

Example: Stages of Rendering with the Progressive Sampler

...