usd

Notes

Setup

Guide

Source:

  1. Install Python or setup virtual environment
  2. CD into Python's Scripts
  3. Upgrade pip to latest version
  4. Install PySide, PyOpenGL, and Jinja2
  5. Download and unzip usd package
  6. Edit usdview.cmd as noted in guide
  7. Associate .usd, .usda, and .usdz files to usdview

Python Environment Variables

Source:

Set the following environment variables for use with usd

PATH=C:\usd\bin; C:\usd\lib

Processes

usdrecord

Export image sequence of a camera animation in a usd file. CD into usd's bin directory to access commands. Reference docs link above for more usd functionality.

c:\usd\bin>usdrecord --frames 1:10 --camera cameraName --imageWidth 1920 D:\shots\usd_shotA.usd D:\shots\newFolder\####.png

Camera: /cameras/cameraName
Renderer plugin: HdStormRendererPlugin
Recording time code: 1
Recording time code: 2
Recording time code: 3
Recording time code: 4
Recording time code: 5
Recording time code: 6
Recording time code: 7
Recording time code: 8
Recording time code: 9
Recording time code: 10