Exporting#
Warning
OpenUSD support is currently experimental and subject to frequent change.
Currently, exporting MuJoCo scenes to OpenUSD format is an area of active development. The primary method for exporting is expected to be through the Python API.
Native C++ exporter (mujoco-usd)#
In Python 3.11–3.13 on Linux x86_64, Windows x86_64, and macOS arm64, installing mujoco-usd
(pip install mujoco-usd or pip install mujoco[usd]) provides native C++ OpenUSD stage authoring and trajectory
recording via mujoco.usd.writer and mujoco.usd.layer_sink, backed by the mjcPhysics schemas.
USDExporter#
MuJoCo also includes the pure-Python USDExporter in Python (requiring only usd-core
and pillow) for exporting scenes and trajectories across all platforms and Python versions.
mujoco-usd-converter#
To convert existing MJCF assets to USD following strong authoring guidelines we recommend the Newton mujoco-usd-converter. These assets will have no reference to the original MJCF assets but will use the mjcPhysics schemas to enable faithful representation of the source assets.
When opened, these assets should be similar to the ones generated by the MJCF file format plugin, but there will not be any runtime overhead from converting MJCF to USD.