Versions Compared

Key

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

...

Section
Column
width57%

This group of attributes can be added to File and Substance textures to control their filtering.

Override Texture Filter – Override the default texture filter that V-Ray chooses based on the Maya attributes of the particular texture node.   For more details, please see the the V-Ray Filter Interpretation table below. 

Texture Filter – The V-Ray internal texture filter. See the texture filters examples below for a visual representation of the differences.

Nearest – The nearest texel from the map is taken, without any interpolation. 
Smooth – The colors are computed with bilinear interpolation from the texels.
Smooth with mipmaps – Pyramidal MIP map filtering is used to compute the texture color. 
SAT – A summed area table is used to compute the texture color.
Elliptical – High quality anisotropic MIP map texture filtering that reduces blurring and aliasing artifacts.
Sharp mip-map filtering Sharper and more accurate version of the Smooth with mipmaps. Produces results that are closer to the results with disabled filtering but with less AA samples required.

Smooth Method – The V-Ray internal texture smooth method.

Bilinear – The image values are interpolated from four pixels in the bitmap. This is the fastest interpolation method, but the result is not continuous (non-smooth) and may produce artifacts when the map is used for displacement or bump mapping.
Bicubic – The image values are interpolated from sixteen pixels in the bitmap. This is the slowest method, but the results are smooth without too much blur.
Biquadratic – The image values are interpolated from nine pixels in the bitmap. This method is faster than the Bicubic interpolation, but may smooth the image too much.

 

Expand
titleScripting
UI Text Box
typeinfo

Add to node:

vray addAttributesFromGroup "file1" "vray_texture_filter" 1;

Attributes:

vrayOverrideTextureFilter
vrayTextureFilter
vrayTextureSmoothType

Anchor
filterInterpretation
filterInterpretation

V-Ray Filter Interpretation

For example, if a File node is used and Override Texture Filter is off or not added, V-Ray looks at the Maya Filter Type attribute. Here's how V-Ray translates the Maya filters to V-Ray filters:

 

Maya Filter Type

V-Ray FilterSupport for tiled images
OffSmooth

Uses tiles only from the largest mipmap level

Mipmap, Box, QuadraticSharp mip-map filteringSupports tiled mipmapped images
Quartic, GaussianSATLoads the whole image in memory like a normal scanline image
Column
width5%

 

Column
width38%

 

...

Anchor
texfilter
texfilter

Example: Texture Filters

 

The texture used here is a black and white texture map with resolution of 1024x1024 pixels. For the purpose of the example, it is zoomed to a great extend. 

Section
Column
width25%

 

Column
width50%
Image slider
Panel
borderStylenone

Image Added

Nearest

Panel
borderStylenone

Image Added

Smooth

Panel
borderStylenone

Image Added

Smooth with mipmaps

Panel
borderStylenone

Image Added

SAT

Panel
borderStylenone

Image Added

Elliptical

Panel
borderStylenone

Image Added

Sharp with mipmaps

Column
width25%

 

 

 

Texture Filter Blur

...

Section
Column
width57%

This attribute group can be added to File nodes only. This is V-Ray's native filter blur without any other filter blur calculations.

Filter Blur – Specifies the level of filter blurring of the texture. A value of 0 means no filtering and higher values result in blurrier filtering.

 

Expand
titleScripting...
UI Text Box
typeinfo

Add to node:

vray addAttributesFromGroup "file1" "vray_texture_filter_blur" 1;

Attributes:

vrayTextureFilterBlur

Column
width5%
 
Column
width38%

...