Skip to content

Latest commit

 

History

6,325 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightUSD

LightUSD is a full-featured, dependency-free, lightweight USD library written in C++17. It reads and writes USDA, USDC, and USDZ without requiring the OpenUSD runtime, and includes MaterialX and USD Physics support.

LightUSD is designed for applications that need USD to be compact, portable, and fast: high-performance 3D interchange and DCC tools, render and asset pipelines, generative AI, and Physical AI systems that connect scene understanding with simulation and robotics. The same core runs across desktop, mobile, WebAssembly, and sandboxed environments, with explicit resource limits for untrusted assets.

GitHub Sponsors Ask DeepWiki PyPI version npm version

Packages

Python:

python -m pip install lightusd
import lightusd

stage = lightusd.load("scene.usdz")
for prim in lightusd.traverse(stage):
    print(prim.type_name, prim.name)

See python/README.md for Python usage. WebAssembly and JavaScript packages live under web/.

Build

LightUSD requires a C++17 compiler and normally uses CMake:

cmake -S . -B build_ninja -G Ninja \
  -DLIGHTUSD_BUILD_TESTS=ON -DLIGHTUSD_BUILD_EXAMPLES=ON
cmake --build build_ninja
ctest --test-dir build_ninja --output-on-failure

See doc/build-and-examples.md for integration, build options, and examples.

Documentation

Security

Use USDLoadOptions::max_memory_limit_in_mb for unknown inputs. For hostile or internet-sourced assets, also isolate loading in a sandboxed process or WASI environment.

License

LightUSD is primarily licensed under Apache 2.0. Some helper code uses MIT or similarly permissive licenses. See LICENSE.3rdparty for third-party notices.

About

LightUSD is a full-featured, dependency-free, lightweight USD library written in C++17

Topics

Resources

Stars

721 stars

Watchers

20 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages