VRayPtex node allows the you to load and use PTex textures with V-Ray. PTex is a mapping system that applies a separate texture to each face of a subdivision or polygon mesh and therefore requires no UV assignment. A PTex file can store an arbitrary number of textures along with mipmaps and adjacency data used for filtering across face boundaries. For more information on the PTex concept, see the Notes section below. See also the tutorial on Rendering PTex textures from Mudbox.
filename - specifies the .ptx file to be used for the texture.
cache size - the information in a PTex file is compressed for storage. In order to be used it has to be uncompressed and stored in the RAM. This parameter controls how much memory (in MB) is available for the current texture. If the value is large enough for the whole texture the information is extracted only once and is stored during the entire rendering. Otherwise the information is constantly read from the hard drive, extracted and used when necessary. Low value for this parameter may cause large PTex files to render slowly.
filter type - specifies the type of filtering that is going to be applied to the texture.
filter width - the width of the filter.
filter blur - applies additional blur to the filter.
filter sharpness - this option is only available when the Filter Type is set to Bicubic and controls the amount of sharpening applied by the filter.
interpolation between mipmap levels - a ptex texture may have several mipmap levels which are basically versions of the texture at different resolutions. This allows a higher resolution texture to be applied to parts of the object closer to the camera and a lower resolution version to be applied to parts of the object that are far away. When this option is enabled V-Ray will interpolate between different mipmap levels to create a smooth seamless texture in the end.
reverse vertex order - a ptex is generated for a specific mesh. Sometimes the program generating the ptex numbers the vertices of the mesh in the reverse order. When this happens the object is not properly textured and enabling this option fixes the issue.
auto color channels - a ptex may have an arbitrary number of channels and there is no sure way to determine which channel contains which information. When this option is enabled V-Ray tries to select the correct channel for Red, Green and Blue. When this option is off the user manually specifies which channel contains which information.
red/green/blue channel - manually specify the channel numbers for Red Green and Blue
alpha type - specifies the mode in which alpha is applied
Solid - all alpha information is ignored;
Alpha from texture - the information for the alpha is taken from the specified Alpha channel in the texture;
Alpha from luminance - the alpha information is taken from the Luminance of the RGB channels.
auto alpha channel - when on V-Ray automatically selects the alpha channel from the PTex file.
alpha channel - manually specify which channel from the PTex file is the alpha channel.
The options in this group deal with cases when the texture is animated through an IFL file.
IFL Start Frame - specifies the frame at which the playback of the texture will begin
IFL End Condition - specifies what happens when the final frame of an animated texture is reached
Loop - if this mode is selected the animation of the will jump back to the start frame
Ping-pong - if this mode is selected, once the final frame is reached the animation will be played backwards towards the start and continue looping in a Ping-pong manner
Hold - if this mode is selected the animation will stop at the final frame
IFL Playback Rate - a coefficient for the playback rate of the animated texture. It allows you to slow down or speed up the playback rate of the texture.
gamma type - specifies the gamma of the texture:
None - the gamma of the texture is considered to be 1.0 and no gamma corrections are applied;
Specify - manually specify the color space and gamma of the image with the color space and gamma value parameter;
3ds Max - the 3ds Max options for gamma are considered for this image and the appropriate gamma corrections are applied. If the 3ds Max gamma options are disabled, then the gamma settings are still taken from the other parameters.
color space - specifies the color space of the image when the gamma type option is set to Specify or when the 3ds Max global gamma corrections are disabled:
Linear - specifies that the color data in the file is in linear physical space and no additional correction is necessary for rendering;
Gamma - specifies that the color data is gamma-encoded in the file; an inverse gamma correction is applied to the color data to convert it to linear physical space for rendering, based on the gamma value;
sRGB - specifies that the color data in the file is encoded in the sRGB color space; the standard inverse sRGB correction is applied to the colors to convert them to linear physical space for rendering. Note that sRGB color space is similar to the gamma 2.2 color space, but there are slight differences for dark colors.
gamma value - manually specifies the gamma of the loaded texture when the gamma type is Specify and the color space is Gamma.