USD Tutorials
USD provides a set of tutorials in the Github repository. The tutorial code is located in the extras/usd/tutorials directory unless otherwise noted. Each tutorial indicates which version of USD it was tested with. These versions correspond to releases on Github.
Environment Setup
These tutorials use USD’s built-in Python bindings almost exclusively, and some programs in the USD Toolset rely on one another. So please set the following environment variables to successfully complete the tutorials. Make sure to use the Python interpreter corresponding to the version used to build USD (for supported Python versions see 3rd Party Library and Application Versions, note that Python 2.x is not supported). These tutorials assume the interpreter is named “python”.
Variable |
Meaning |
Value |
---|---|---|
|
Python module search path |
USD_INSTALL_ROOT/lib/python |
|
Program search path |
USD_INSTALL_ROOT/bin On Windows also add USD_INSTALL_ROOT/lib |
For more information see Advanced Build Configuration.
- Hello World - Creating Your First USD Stage
- Hello World Redux - Using Generic Prims
- Inspecting and Authoring Properties
- Referencing Layers
- Converting Between Layer Formats
- Traversing a Stage
- Authoring Variants
- Variants Example in Katana
- Transformations, Time-sampled Animation, and Layer Offsets
- Simple Shading in USD
- End to End Example
- Houdini USD Example Workflow
- Generating New Schema Classes
- Creating a Usdview Plugin