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

...


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.When using USD 0.15.0 or below, if V-Ray is not selected as Plug-In Configuration, but the V-Ray Materials option is enabled, the export fails with an error. If V-Ray is selected as a Plug-
UI Text Box
typeinfo
  • In

Configuration, but
  • the

V-Ray Material option is disabled, the exported USD does not contain the V-Ray materials.For USD version 0.15.0 or higher:
in the 
  • 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-text-
expand
box
type
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.

 

 

 

 

tip

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 and export. If you are using a version of V-Ray for Maya prior to 6.20.01, the Merge Transform and Shape Nodes option needs to be disabled to correctly export VRaySubdivisions.

When exporting objects with applied V-Ray Displacement, the displacement is exported along with the shaders. In this case, make sure the V-Ray materials option is enabled.

When exporting objects with an applied Subdivision attribute, the subdivision is exported separately from the shaders. In this case, enabling the V-Ray materials option is not mandatory, as it will not affect the export of the subdivision surface.

When exporting objects with applied Subdivision attribute and V-Ray Displacement, the subdivision and displacement are exported along with the shaders. In this case, make sure the V-Ray materials option is enabled.


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.