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 |
|
PhysX CPU, Torch, Warp |
Procedural stairs with independent poses and raycast visualization |
|
MJCF control |
|
MJCF asset |
DOF sliders and robot |
BVH motion |
|
BVH asset |
Skeleton and sequencer |
Motion Matching |
|
LAFAN-resolved BVHs + Geno bind FBX |
Skinned Geno walking, running, stopping and turning |
G1 Motion Matching |
|
BONES-SEED G1 CSVs + SciPy |
G1 rigid-link playback with joint limits; WASD/gamepad input when autoplay is off |
GPU contacts |
|
Linux/NVIDIA |
CUDA contact visualization |
See Motion Matching for dataset setup, shared controls, caching, filtering, custom features, and search benchmarks.
python/examples/keyboard_visualizer.py previews the keyboard texture and key
regions used by the MM input overlay.
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.
See Verify the Build for smoke suites, requirements, and execution commands.
Advanced native examples live under examples/; legacy examples are retained
for regression and historical reference.