Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

pablode/usdshadeview

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usdshadeview

A usdview plugin for inspecting UsdShade networks.

Installation

Copy the lib and plugin directories into your USD installation directory.

For Advanced Instructions see below.

Features

1. Node Graphs

usdshadeview visualizes UsdShade NodeGraphs and Materials (which are specialized node graphs) in an interactive Qt dialog:

The dialog can be shown by right clicking a prim of one of both types, which brings up a new option in the context menu:

The network shown in the dialog has a layout depending on network topology, and node colors are based on the classification (USDA, MaterialX, MDL, OSL, node graph, unknown). Child node graphs can be entered using the "E" button.

It is also possible to right click value widgets, which exposes following actions:

In the main graph dialog, the menu bar offers following features:

  • ViewFilter Output: filter nodes and connections to a single output
  • ToolsBake to Texture: (only for MaterialX materials) invoke UsdBakeMtlx
  • ToolsExport as Image: save the scene with a transparent background

Note: To display thumbnails for EXRs, the OpenImageIO python package has to be additionally installed.

2. Node Def Info

Clicking the "?" button of a node widget opens up the node definition dialog which lists all inputs and outputs with their respective documentation.

The information is only available for nodes registered in the Sdr registry.

3. Sdr Node List

A list of all nodes in the Sdr registry can be accessed from the usdview menu bar WindowSdr Nodes submenu.

Clicking on an entry brings up its node definition dialog.

Compatibility

I have tested this plugin on Windows and macOS with PySide2 and PySide6, and Python 3.7, 3.9 and 3.11.

It has been verified to be compatible with OpenUSD versions down to v22.11.

Advanced Installation

The plugin can be used outside of the build tree by setting following environment variables:

  • PYTHONPATH to include <REPO_ROOT>/lib/python
  • PXR_PLUGINPATH_NAME to include <REPO_ROOT>/plugin/usd/usdshadeview/resources

License

Apache 2.0

About

usdview plugin for inspecting shading networks

Topics

Resources

License

Stars

Watchers

Forks

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.