Share

Reference a USD Stage

A USD Stage is the entry point into working with USD data inside 3ds Max, effectively letting you reference a USD model into 3ds Max, as an alternative to an XRef Scene or XRef Object.

You can reference a USD stage directly into 3ds Max to create a scene with USD assets from an existing file. Using this workflow, you can view and render USD data directly in 3ds Max.

Unlike importing a USD file, referencing a USD stage lets you use existing USD data without converting it into a 3ds Max file. With this method, 3ds Max creates a USD stage node, which points to the USD file.

To reference a USD stage and load it into 3ds Max

  1. Do one of the following:
  • Select File > Reference > USD Stage.... In the Select USD File dialog, locate a USD file to reference.

  • Click into the viewport to become the point where the stage loads. In the Command Panel:

    1. Select the Geometry Icon (Circle) > and select USD from the drop-down menu.
    2. Under Object Type, select the USD Stage button. Select the ellipses ... next to the Root Layer label to open the Select USD File dialog and locate a USD file to reference.
    Note: If the Command Panel is not on your screen, right-click the divider between the viewport and your ribbon configuration and toggle the Command Panel on.

  1. Use the Select USD Prim from file dialog to build the scope of your USD reference.

    • Verify the Root Layer is your chosen USD reference path.
    • Use the Load Payloads toggle to choose whether to load the payloads in your USD stage. By default, all payloads are loaded.
    • Select a prim to only display it and its descendants in your scene. This will apply a Stage Mask filter to your display.

      Note: Certain prim types are unavailable for mask selection. Materials and GeomSubsets are not included. Any prim outside this mask hierarchy will be excluded from the stage, including referenced data like materials. See the Pixar USD API documentation on Stage Population Mask.
    • Ensure you have Open in USD Explorer selected so you can immediately view a tree hierarchy of your scene make edits to visibility and more for your USD Stage.
  2. Use the Parameters Rollout in the Command Panel to configure or make changes to your USD stage reference at any point.

    • Select the ellipses (...) next to the Root Layer label to select or change your referenced USD file.
    • Select the ellipses (...) next to the Stage Mask label to choose the prim and all descendants you want to display in your scene. You can use Stage Mask to configure your display and mask prim objects you don't want to display in the viewport.

Transform the prims in the USD stage

You can move, rotate and scale prims in the viewport while in the prim sub-object mode.

Use the USD cameras inside the Viewport

You can use the cameras in a USD stage in the viewport. To set the view to follow a USD camera, you can choose either of the following methods:

  • Go to Perspective > Cameras, and select the desired camera.
  • Select the camera in the viewport, right-click and choose Set View to Selected Camera.

USD controllers

You can use the following 3ds Max controllers to work with USD data:

  • Xform controller that sources a transform from an Xform prim.
  • Position controller that sources the position from either an Xform prim or an attribute of a USD object.
  • Rotation controller that sources the rotation from either an Xform prim or an attribute of a USD object.
  • Scale controller that sources the scale from either an Xform prim or an attribute of a USD object.
  • Float controllers that can source float, float3 or float4 values from an attribute of a USD object.
Note:

float2 values are obsolete in 3ds Max. To source a float2 value, use a float3 controller with one of the dimensions set to 0.0.

Zoom extents on selected prims

You can zoom to the selected prims by clicking the Zoom Extents Selected icon or pressing the Z key on the keyboard. You can also apply the zoom extents to the entire USD stage when the selection is set to Stage mode.

Further editing

Important: Some video cards do not work with the USD Stage in 3ds Max. OpenGL version 4.5 is required. Trying to pick a stage node in the viewport with an unsupported graphics card doesn't work and can cause 3ds Max to crash. Try updating your video card drivers and reloading 3ds Max.

Advanced Workflows

Although there is no current UI tool to work with the data inside a USD Stage, , you can build Python, C++ and MAXScript tools to interact with the data inside a USD Stage Object. The stage has a read-only property called CacheId that can be used to access the stage from a global USD cache. Using this, you can directly manipulate and interact with USD data (moving prims, changing visibility, and so on). For more information, see the MaxScript USD Documentation, the Pixar USD API reference and the 3ds Max USD SDK documentation. The USD SDK is available in a separate download from the Autodesk developer network.

Was this information helpful?