Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

OpenUSD

> 编程语言
Open source

Universal Scene Description

7.4K stars0 likes1 views
WebsiteGitHub

About

Universal Scene Description

Universal Scene Description

Universal Scene Description (USD) is an efficient, scalable system for authoring, reading, and streaming time-sampled scene description for interchange between graphics applications.

For more details, please visit the web site here.

Build Status

Status
dev
release

Additional Documentation

  • User Documentation and Tutorials
  • API Documentation
  • Advanced Build Configuration

Getting Help

Need help understanding certain concepts in USD? See Getting Help with USD or visit our forum.

If you are experiencing undocumented problems with the software, please file a bug. If you need to report a security issue with the software, please review the Security Policy.

Supported Platforms

USD is primarily developed on Linux platforms (CentOS 7), but is built, tested and supported on macOS and Windows.

It is also possible to build USD libraries that can be embedded in iOS and visionOS apps.

Additionally, USD can be built to run in a WebAssembly virtual machine for use on the web or in other runtime environments such as Node.js.

Please see VERSIONS.md for explicitly tested versions.

Dependencies

Required:

  • C/C++ compiler
  • CMake
  • Intel TBB

See 3rd Party Library and Application Versions for version information.

Additional dependencies are required for the following components. These components may be disabled at build-time. For further details see Advanced Build Configuration.

Imaging and USD Imaging

Required:

  • OpenSubdiv

Optional:

  • OpenEXR
  • OpenImageIO
  • OpenColorIO
  • OSL (OpenShadingLanguage)
  • Ptex

Python Bindings

Required:

  • Python

usdview

Required:

  • Python bindings
  • PySide6 or PySide2
  • PyOpenGL

Getting and Building the Code

The simplest way to build USD is to run the supplied build_usd.py script. This script will download required dependencies and build and install them along with USD in a given directory.

Follow the instructions below to run the script with its default behavior, which will build the USD core libraries, Imaging, and USD Imaging components. For more options and documentation, run the script with the --help parameter.

See Advanced Build Configuration for examples and additional documentation for running cmake directly.

1. Install prerequisites (see Dependencies for required versions)

  • Required:
    • C++ compiler:
      • gcc
      • Xcode
      • Microsoft Visual Studio
    • CMake
  • Optional (Can be ignored by passing --no-python as an argument to build_usd.py)
    • Python (required for bindings and tests)
    • PyOpenGL (required for usdview)
    • PySide6 or PySide2 (required for usdview)

2. Download the USD source code

You can download source code archives from GitHub or use git to clone the repository.

> git clone https://github.com/PixarAnimationStudios/OpenUSD
Cloning into 'OpenUSD'...

3. Run the script

Run the build_usd.py script to build and install USD. Note that the build script is structured with an out-of-source build in mind -- installing a build into the
directory where the repository was cloned is untested.

Linux:

For example, the following will download, build, and install USD's dependencies, then build and install USD into /path/to/my_usd_install_dir.

> python OpenUSD/build_scripts/build_usd.py /path/to/my_usd_install_dir
macOS:

In a terminal, run xcode-select to ensure command line developer tools are installed. Then run the script.

For example, the following will download, build, and install USD's dependencies, then build and install USD into /path/to/my_usd_install_dir.

> python OpenUSD/build_scripts/build_usd.py /path/to/my_usd_install_dir
iOS and visionOS:

When building from a macOS system, you can cross compile for iOS based platforms.

Cross compilation builds are restricted to building libraries that can be embedded in applications built for the target platform. It can be helpful to use a monolithic build when embedding USD (see Advanced Build Configuration).

These builds do not support Python bindings or command line tools.

For example, the following will download, build, and install USD's dependencies, then build and install USD for iOS into /path/to/my_usd_install_dir.

> python OpenUSD/build_scripts/build_usd.py --build-target iOS --build-monolithic /path/to/my_usd_install_dir

Or for visionOS:

> python OpenUSD/build_scripts/build_usd.py --build-target visionOS --build-monolithic /path/to/my_usd_install_dir
Framework Builds (Experimental)

Builds for Apple platforms may optionally build as a framework using the --build-apple-framework flag.

NOTE: This feature is experimental and may change how it functions in future OpenUSD versions.

  • Framework builds are enabled by default for iOS and visionOS build targets. It can optionally be enabled for macOS.
  • Framework builds require monolithic builds.
  • Building a universal macOS framework is currently not supported. Please generate the arches separately and lipo them together after.

To add the Framework to your application, add OpenUSD.framework to your Xcode project. It is recommended to set it to Embed and Sign.

To setup headers, configure the Xcode SYSTEM_HEADER_SEARCH_PATHS to add the path to your headers. e.g $(SRCROOT)/OpenUSD.framework/Headers if the framework exists in your projects root.

OpenUSD also supports building a combined XCFramework of multiple targets. This command takes an optional list of targets to build, but will otherwise build all supported platforms.

> python OpenUSD/build_scripts/apple_utils.py xcframework /path/to/my_usd_install_dir
Windows:

On Windows, it is possible to compile for either x64, or ARM64. Note: ARM64EC is not compatible at this time. Note 2: usdview is not supported on ARM64 at present, due to lack of PySide

Launch the "x64 Native Tools Command Prompt" (or "ARM64 Native Tools Command Prompt" where appropriate) for your version of Visual Studio, and run the script in the opened shell. Make sure to use the appropriate version of the command prompt (e.g. on x64, use the x64 version, not the x86 version).

See https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line for more details.

For example, the following will download, build, and install USD's dependencies, then build and install USD into C:\path\to\my_usd_install_dir.

C:\> python OpenUSD\build_scripts\build_usd.py "C:\path\to\my_usd_install_dir"
WebAssembly:

A WebAssembly (Wasm) build can be produced using the Emscripten Compiler Toolchain on Linux, macOS or Windows. Before building, follow the instructions for downloading and installing the toolchain.

The WebAssembly build will produce static libraries built in monolithic mode. Command line tools are not built for this target.

The following will download dependencies and produce a 32 bit Wasm build.

> python OpenUSD/build_scripts/build_usd.py --build-target wasm /path/to/my_usd_wasm_build_dir

Or for a 64 bit Wasm build:

> python OpenUSD/build_scripts/build_usd.py --build-target wasm64 /path/to/my_usd_wasm64_build_dir

4. Try it out

Set the environment variables specified by the script when it finishes and launch usdview with a sample asset.

> usdview OpenUSD/extras/usd/tutorials/convertingLayerFormats/Sphere.usda

Contributing

If you'd like to contribute to USD (and we appreciate the help!), please see the Contributing page in the documentation for more information.

Issues· 1007 open

View all issuesOpen on GitHub
  • #4217

    pxr/usd/sdf/textFileFormatParser.cpp:3588 Heap-Buffer-Overflow in TextParserAction<PrimSpec>::apply

    Updated Oct 1, 2026
  • #4256

    TfRefPtr: the thread that drops the last reference deletes the object without synchronizing with other threads' decrements

    Updated Sep 30, 2026
  • #4249

    ComputeBoundMaterials returns another stage's material for matching prim paths

    Updated Sep 29, 2026
  • #4247

    Sphere-point collisions reject constant-interpolation widths

    Updated Sep 28, 2026
  • #4246

    ComputeMassProperties includes colliders rejected by the mass callback

    Updated Sep 28, 2026
  • #4242

    Reflected cubes parse with negative collision half extents

    Updated Sep 27, 2026
  • #4241

    Authored empty mergeGroup merges unrelated collision groups

    Updated Sep 27, 2026
  • #4237

    PointInstancer transform helpers dereference null output pointers

    Updated Sep 27, 2026
  • #4243

    usdchecker doesn't detect authored values whose type doesn't match the attribute's declared typeName

    Updated Sep 24, 2026
  • #3072

    Unexpected timeScale added when flattening layerstack with mixed TCPS values

    help wantedUpdated Sep 24, 2026

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 2, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言