Versions Compared

Key

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

...

The same attribute can be added to Maya's SamplerInfo node to help specify the UV set to be used when using the samplerInfo's U and V output connections.

 

UI Expand
titleUI Path: ||Select placement node|| > Attribute Editor > Attributes menu > VRay > (select attribute set)
Column
width10%

 

Column
width35%

 

Column
width10%

 

Column
width35%

 

Column
width10%

 

 

 

2D Placement and 3D Placement Options

...

Section
Column
width62%

Placement Options

UV set name – The name of the UV set to be used..

Motion Blur Samples Options (available only for 3D Placement)

Override motion blur samples – Overrides the count of motion blur samples.

Motion blur samples – Specifies the motion blur samples.

Expression Editor icon (Image Added) – Opens the Expression Editor. 


Expand
titleScripting: 2d Placement attributes

Add to node:

vray addAttributesFromGroup place2dTexture1 vray_2d_placement_options 1;

Remove from node:

vray addAttributesFromGroup place2dTexture1 vray_2d_placement_options 0;

Attributes:

vrayUVSetName

Example:

setAttr -type "string" place2dTexture1.vrayUVSetName "uvSet1";

Expand
titleScripting: 3d Placement attributes

Add to node:

vray addAttributesFromGroup place3dTexture1 vray_3d_placement_options 1;

Remove from node:

vray addAttributesFromGroup place3dTexture1 vray_3d_placement_options 0;

Attributes:

vrayUVSetName3D

Example:

setAttr -type "string" place2dTexture1.vrayUVSetName3D "uvSet1";

Column
width5%

 

Column
width33%

 

Image RemovedImage Added



SamplerInfo node

...

Section
Column
width62%

The 2D Placement Options attributes can also be added to Maya's samplerInfo node. This can be used to output UV passes for a specific object and a specific UV set in case the object has multiple UV sets. To do this, the samplerInfo's U and V outputs can be connected to the R and G texture inputs of the VRayExtraTex render element. Then the UV set to be used is specified in the UV set name field of the 2D Placement Options attributes assigned to the samplerInfo. If needed, multiple samplerInfo nodes with different UV set names specified can be used with multiple VRayExtraTex render elements to output more than one UV passes at the same time.

An alternative and easier way is to use the Sampler Info render element, which includes an UVW Channel field.

Column
width5%
 
Column
width33%

...