Versions Compared

Key

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

This page provides information about the Ptex texture in V-Ray for Blender. 

 

Overview

...

The V-Ray Ptex loads and uses

...

width100%

Parameters

Image Removed

...

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.

 

UI Path

...

 

||Node Editor|| > Add > Textures > Ptex

 

Node

...

 

Section
Column
width50%

Color Gain – A multiplier for the texture color.

Column
width5%

 

Column
width45%

 Image Added

 

 

Parameters

...

 

Section
Column
width50%

A Channel – Index of the channel used as an alpha channel.

Alpha Type – Specifies where to take the alpha from.

0 All

For more information on the PTex concept, see the Notes section below.  

Color Gain - a multiplier for the colors in the texture

Color Offset - an offset for the colors in the texture

A Channel - manually specify which channel of the Ptex file is the alpha channel

Alpha Type - specifies the mode in which alpha is applied

 0- all

alpha information is ignored;
1
 

1- the

The information for the alpha is taken from the specified Alpha channel in the texture;
-1

- the

 – The alpha information is taken from the Luminance of the RGB channels

.

Auto Alpha - when on V-Ray automatically selects the alpha channel from the PTex file.

R Channel/G Channel/B Channel - manually specify the channel numbers for Red Green and Blue

Blur - applies additional blur to the texture

Cache Size - the

.

Anisotropic Filtering – Enables anisotropic texture filtering. It improves the rendering of textures when viewed at sharp angles.

Auto select alpha channel – Enable to use the automatic alpha channel selection.

Auto select color channelsA ptex may have an arbitrary number of channels and there is no guaranteed way to determine which channel contains which information. When this option is enabled, V-Ray selects the correct channel for Red, Green and Blue. When this option is off the user manually specifies which channel contains which information.

B Channel – Index of the channel used as the blue channel.

Blur – Blur parameter used for filtering.

Cache size(MBs) – 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.

Color Space - specifies  – 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

The color data in the file is in linear physical space and no additional correction is necessary for rendering;
Gamma

 

 Corrected -

specifies that the

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

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.

Filter Type

- specifies the type of filtering that is going to be applied to

– Type of filtering used for the texture.

Gamma - ma

G Channel – Index of the channel used as the green channel.

GammaManually specifies the gamma of the loaded texture when the 

gamma type is Specify and the

color space

 is 

 is set to Gamma Corrected.

Ifl End Condition

 - specifies

Determines what happens when the final frame of an animated texture is reached.

Loop

 - if

If this mode is selected, the animation

of the

will jump back to the

start

first frame.
Ping-pong

 - if

 – 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

 – If this mode is selected, the animation will stop at the final frame.

Ifl Playback Rate

 - a

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.

Image Number - allows you to use a certain frame out of an animated texture

Image Offset - specifies a starting frame for the animated texture

Ptex File - specifies the .ptx file to be used for the texture.

Reverse Vertices - a

Ifl Start FrameSpecifies the frame at which the playback of the texture will begin.

Image Number – Specifies the frame number of the image to load. This attribute can be animated.

Image Offset – Specifies a static offset to the image sequence.

Interpolation between mipmap levels –

Ptex File – Specifies the .ptex file to use as a texture.

R Channel – Index of the channel used as the red channel.

Reverse vertex orderA 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.Sharpness -

, which results in texturing issues. Enabling this option fixes that issue.

Sharpness – Specifies sharpness for the general bicubic

this option is only available when the Filter Type is set to Bicubic and controls the amount of sharpening applied by the

filter.

Use Image Sequence

- enables the usage of animated textures

– When enabled, animate the texture per frame.

Width

- the

– Specifies width

of

for the

filter.

filtering.

Column
width5%

 

Column
width45%

 Image Added