Versions Compared

Key

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

...

 

Section
Column
width50%

In V-Ray, an image sampler refers to an algorithm for calculating a pixel's color based on the colors within and around it.

Each pixel in a rendering can have only one color. To get the color of a pixel, V-Ray calculates it based on the object's material, direct light striking the object, and indirect lighting in the scene. This calculation might seem straightforward, but But within a single pixel there might be multiple colors, which may come from various objects or parts of a detailed texturemultiple objects whose edge intersect at the same pixel, or even different brightnesses difference in brightness on the same object due to changes in object shape or falloff and/or shadowing of light sources. The differences between these colors might be subtle or abrupt. If a pixel consists of multiple colors at the sub-pixel level, some work has to be done to determine the best color for that particular pixel in the rendered image.

To determine the best right color for an individual such a pixel, V-Ray can look looks at (or samplesamples) colors from different parts of the pixel and itself as well as the pixels around it. This process is called image sampling.

For more information on how antialiasing works in V-Ray, see the Antialiasing in V-Ray page.

Column
width5%

 

Column
width45%


Image courtesy of Tuna Unalan

Multiple colors within a single pixel. What color should the pixel be? 

 


 

UI Path: ||Select VRayRenderer|| > Properties Panel > Common tab > Antialiasing rollout

 

...

Note that rendering with a particular filter is not the same as rendering without a filter and then blurring the image in a post-processing program like Adobe Photoshop. Filters are applied on a sub-pixel level, over the individual sub-pixel samples. Therefore, applying the filter at render time produces a much more accurate and subtle result than applying it as a post effect. The zoomed in images below have been zoomed in and cropped 300%.

 

Filter

Image Zoomed-in Image Comments

Filtering is off.

Image Modified

Image Modified

Applies an internal 1x1 pixel box filter.
Lanczos filter
size 2.0

Image Modified

Image Modified

 
Triangle Filter
size 2.5

Image Modified

Image Modified

 
Sinc Filter
size 2.5

Image Modified

Image Modified

 
Box Filter
size 2.5

Image Modified

Image Modified

 
Area filter
size 2.5

Image Modified

Image Modified

Slightly blurs the image, visually more pleasing than the box filter.
Catmull-Rom

Image Modified

Image Modified

Edge-enhancing filter, often used for architectural visualizations. Note that edge enhancing can produce "moire" effects on detailed geometry.
Cook Variable
size 2.5

Image Modified

Image Modified

 

Gaussian
size 2.5

Image Modified

Image Modified

Gaussian blur.

 

 

Anchor
moireEffects
moireEffects

...