Examples¶
Custom rendering¶
python/examples/custom_graphics_pipeline.pydraws an interactive gradient triangle through a custom graphics pipeline and exposes its shader and pipeline definitions in the Resource panel.
Recommended first runs¶
Goal |
Command from the repository root |
Requirements |
Expected result |
|---|---|---|---|
First scene |
|
CPU renderer |
Ground, box, sphere |
First simulation |
|
PhysX CPU |
Falling ball with reset UI |
Batched simulation |
|
PhysX CPU, Torch |
Multiple ramp environments |
Procedural terrain |
|
PhysX CPU |
Tiled terrain with falling collision bodies |
MJCF control |
|
MJCF asset |
DOF sliders and robot |
BVH motion |
|
BVH asset |
Skeleton and sequencer |
GPU contacts |
|
Linux/NVIDIA |
CUDA contact visualization |
Asset viewers¶
view_obj_scene.py: OBJ/MTL material subsets and textures.view_fbx_mesh.py: static FBX meshes and textures.view_fbx_character.py: skinned FBX character.view_motion_party.py: BVH, FBX, and SMPL/AMASS motions playing together through their standard visual APIs and sequencers.view_smpl_motion.py: SMPL surface motion with a sequencer.view_usd_scene.py: optional USD-enabled development build.usd_file_bridge.py: Python OpenUSD file exchange.
Debug and validation examples¶
Files under python/examples/smoke/ validate API and runtime behavior. They are
maintainer checks, not the recommended way to learn the package.
Advanced native examples live under examples/; legacy examples are retained
for regression and historical reference.