Versions Compared

Key

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

This page provides information on the USD import and export workflows in V-Ray for Maya.

UI Text Box
typenote

Starting with V-Ray 6, update 2 the default USD translator becomes Hydra compatible. 


Import Workflow

 

...


Section
Column
width55%

USD files can be loaded in Maya and rendered with V-Ray using the MayaUSD plugin with mayaUsdProxy nodes.

We recommend following a standard workflow with MayaUSD when rendering with V-Ray. See the video for more.

Fancy Bullets
typecircle
  • In Maya, go to Create > Universal Scene Description (USD) > Stage From File...
  • Locate the desired USD file in the directory window.
  • Click on Create.
Column
width5%
 

Column
width40%
HTML
<iframe width="560" height="315" src="https://www.youtube.com/embed/3P8iUmzk2f0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

 

...



Importing V-Ray materials using USD files

...

...


UI Text Box
typeinfo

The standard workflow imports V-Ray materials as Maya materials.

...

UI Expand
titleClick here for UI example
Section
Column
width30%

 


Column
width40%

 

 
Column
width30%

 



Importing V-Ray Physical Cameras using USD files

...

UI Text Box
typenote

If you are using a zip-installed V-Ray 5, update 2, for Maya or newer, make sure to set up the PXR_PLUGINPATH_NAME environment variable. Otherwise, exporting and importing V-Ray Physical Cameras is impossible. For more information on setting up environment variables, please visit the Installation from zip page.

 



Export Workflow

...


info
Section
Column
width55%
Fancy Bullets
typecircle

Exporting V-Ray shaders to USD versions up to 0.13.0 including:
from File > Export All... or Export Selection... (select the Option box) > General Options and as File Type, select USD Export. Under File Type Specific Options > Geometry, set the Materials to V-Ray MaterialExporter.

UI Text Box
type
When using USD 0.15.0 or below, if V-Ray is not selected as Plug-
  • In

Configuration, but For USD version 0.15.0 or higher:
in the 
  • the

V-Ray Materials option is enabled, the export fails with an error. If V-Ray is selected as a Plug-In Configuration, but the V-Ray Material option is disabled, the exported USD does not contain the V-Ray materials.
  • File > Export All

Options 
  • Optionswindow, set the File Type to USD Export

,
  • and choose whether the materials are

to be
  • exported as USD Preview Surface or as V-Ray materials. You can export all materials in the scene as one or multiple types of networks.

    • Alternatively, you can use

the Export Materials to USD option in
    • the V-Ray menu's Export Materials to USD option.

 
    • For more information, please visit

the 
ui-
expand
titleClick to expand for Export Options screenshots...
Section
Column
width10%

 

Column
width35%

Image Removed

For USD versions up to 0.13.0

Column
width10%

 

Column
width35%

Image Removed

For USD version 0.15.0 or later

Column
width10%

 

ui-
text-box
typetip

Exporting lights to USD does not require the V-Ray Material Exporter to be selected in the Export to USD menu.

 

 

 

 


Disable the Merge Transform and Shape Nodes option from the Advanced rollout for a cleaner hierarchy, export, and correct rendering of VRaySubdivisions.

Column
width5%


Column
width40%

Image Added

Working with Multiple UVs

...

Starting with V-Ray 6, update 2 the default USD translator is Hydra compatible.

Export and import of multiple UVs is supported under the following condition: digits are forbidden as first characters in the name of the UVset.

To ensure proper workflow with UV sets the export Plug-in configuration should be set to V-Ray. Otherwise, they are exported with Maya's convention.

Should unexpected errors occur using older assets, it is recommended to re-export the UVset.