application-flow
High-level overview of a typical ovrtx application lifecycle. Use when user asks how to structure an ovrtx program, what the main…
Binding materials to prims at runtime. Use when user asks to assign a material, change a material, set material binding, or swap materials on a prim.
Claude Code
$ npx -y skills add nvidia-omniverse/ovrtx --skill binding-materials --agent claude-code
Codex
$ npx skills add nvidia-omniverse/ovrtx --skill binding-materials -a codex -y
Cursor
$ npx skills add nvidia-omniverse/ovrtx --skill binding-materials -a cursor -y
Gemini CLI
$ npx skills add nvidia-omniverse/ovrtx --skill binding-materials -a gemini-cli -y
GitHub Copilot
$ npx skills add nvidia-omniverse/ovrtx --skill binding-materials -a github-copilot -y
OpenCode
$ npx skills add nvidia-omniverse/ovrtx --skill binding-materials -a opencode -y
Windsurf
$ npx skills add nvidia-omniverse/ovrtx --skill binding-materials -a windsurf -y
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: CC-BY-4.0 AND Apache-2.0 name: binding-materials description: > Binding materials to prims at runtime. Use when user asks to assign a material, change a material, set material binding, or swap materials on a prim. license: CC-BY-4.0 AND Apache-2.0 author: NVIDIA ovrtx tags: - ovrtx - materials - bindings tools: - Read - Grep
Use this skill when the user asks to assign a material, change a material, set material binding, or swap materials on a prim.
Resolve inputs in this order: existing repository files and referenced snippets, explicit user request, then broader agent context.
1. Identify the geometry prims, target material prim, target language, and whether the bind happens in USD or through runtime APIs. 2. Read the matching Python or C/C++ source snippet before writing API usage. 3. Write the standard USD `material:binding` relationship on the geometry prim, using path-array helpers where required. 4. Keep material binding separate from sensor label authoring; combine with `nonvisual-materials` only when the request includes sensor material semantics. 5. When changing code, run the narrow docs test or example that owns the snippet whenever practical.
This skill has no scripts.
To change which material is applied to a prim at runtime, write the `material:binding` attribute as a path string pointing to the target material prim. In USD, `material:binding` is a relationship (array of paths), so use `write_array_attribute()` in Python or `ovrtx_set_path_attributes()` in C.
The material prim must already exist in the stage (e.g., loaded from USD). You write the absolute prim path of the material to the geometry prim that should receive it.
> **Source:** `tests/docs/python/test_base.py` snippet `doc-bind-material`
> **Source:** `tests/docs/c/test_base.cpp` snippet `doc-bind-material-c`
| Python | C | |--------|---| | `renderer.write_array_attribute(prim_paths, "material:binding", [["/path/to/material"]])` | `ovrtx_set_path_attributes(renderer, &prim_path, 1, "material:binding", &material_path)` |
> **Source:** `tests/docs/usd/test_gaussian_splats_usda.py` snippet `doc-gaussian-sh-diffuse-python`
See `docs/geometry/gaussian_splats.rst` for mode restrictions and material behavior.
ovrtx is a C and Python library for embedding Omniverse RTX sensor simulation and visualization directly into applications.
High-level overview of a typical ovrtx application lifecycle. Use when user asks how to structure an ovrtx program, what the main…
Asynchronous operation patterns including polling, timeouts, and non-blocking workflows. Use when user asks about async…
Replacing persistent ovrtx attribute bindings with reusable ovstage queries for repeated writes or maps. Use when user asks about…
Available camera render outputs for Real-Time Path Tracing (RT2) mode. Use when user asks what AOVs/render vars are available,…
Cloning USD subtrees to create copies at new paths. Use when user asks to clone, duplicate, copy a prim, or create instances of…
Authoring and configuring OmniLidar sensor prims and lidar PointCloud render outputs. Use when user asks to create a lidar scene,…
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…
Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…