USD
USD Fundamentals: https://developer.apple.com/videos/play/wwdc2022/10129/
https://www.sidefx.com/docs/houdini/solaris/usd.html
Standalone tools: https://lucascheller.github.io/VFX-UsdSurvivalGuide/pages/core/elements/standalone_utilities.html
USD Terminology | Meaning |
|---|---|
property | Parent class of attribute/relationship |
prim | Container for your properties |
layer | Container for storing your prims and properties |
stage | A view of a set of composed layers |
compose | Load a layer or another part of a hierarchy via a composition arc |
author | Explicitly written value for a property/metadata entry (rather than it coming from a schema fallback) |
Value Resolution Source | What layer(s) has the winning priority out of all your layers where the data can be loaded from |
Opinion: A written value in a layer for a metadata field or property.
Layer: A layer is an USD file on disk with prims & properties. (Technically it can also be in memory, but for simplicity on this page, let's think of it as a file on disk). More info in our layer section.
Layer Stack: A stack of layers (Hehe 😉). We'll explain it more in detail below, just remember it is talking about all the loaded layers that use the
sublayercomposition arc.Composition Arc: A method of linking (pointing to) another layer or another part of the scene hierarchy. USD has different kinds of composition arcs, each with a specific behavior.
Prim Index: Once USD has processed all of our composition arcs, it builds a
prim indexthat tracks where values can come from. We can think of theprim indexas something that outputs an ordered list of[(<layer (stack)>, <hierarchy path>), (<layer (stack)>, <hierarchy path>)]ordered by the composition rules.Composed Value: When looking up a value of a property, USD then checks each location of the
prim indexfor a value and moves on to the next one if it can't find one. If no value was found, it uses a schema fallback (if the property came from a schema), other wise it falls back to not having a value (USD speak: not beingauthored).
Houdini and USD Notes
Key Concepts and Terminology
USD (Universal Scene Description): A framework for creating, editing, and collaborating on 3D scenes.
Stage: The resulting composition of layers.
Layer: A file on disk containing scene data (e.g., lights, environments, cameras). Layers stack like Photoshop layers.
Primitive (Prim): A basic element in a USD stage, such as geometry, lights, or cameras.
Primitive Kinds:
Assembly: A high-level group (e.g., published assets or references).
Group: Can contain components, groups, or assemblies.
Component: Can only contain subcomponents.
Subcomponent: A significant primitive inside a component (e.g., a door pivot).
Primitive Types: Include lights, VDBs, render settings, and point instances.
Core USD Features
References:
External assets loaded into the stage.
Advanced Reference Nodes (e.g., AssetReference) allow transformations and variants, making them suitable for layout tasks.
Sublayers:
Combine multiple USD files.
Useful for organizing scenes (e.g., separate layers for lights, environments, and cameras).
Variants:
Create alternative versions of assets (e.g., a clean car vs. a dirty car).
Non-destructive and managed via VariantSets.
Payloads:
Unloaded references that help manage memory. Assets remain in the scene graph but aren’t loaded until necessary.
Namespace: Defines names for primitives in the scene graph.
Operations and Workflow
Grafting:
Parent one branch of a scene graph to another.
Used to reorganize scene graphs.
Collections:
Named selections of primitives (e.g., groups or bundles).
Attribute Handling in LOPs:
Isolate primitives with expressions, e.g.,
{ @noshadow == 1 }.Fetch attributes using VEX:
@size = usd_attrib("op:/stage/OUT_set", "/cube1", "size");Copy code
Hydra:
The USD module that connects scene descriptions to renderers.
Specific Nodes and Tools
Sublayer LOP: Loads sublayers from USD files for merging.
Merge LOP: Merges layers into a single layer stack.
Layer Break LOP: Creates a new layer by discarding edits before the break.
Stage Manager LOP: Flattens layer stacks into a single active layer for editing.
Configure Layer LOP: Makes implicit locations explicit (e.g., defining sublayers).
GeomSubset: Used to assign shaders to specific parts of an asset.
Practical Notes
Rendering and Instancing:
Set color and exposure on instanced lights.
Use real-time subdivision for smoother previews.
Texture Paths for USDZ:
Update texture paths for USDZ assets as needed.
Purpose in Assets:
Assets can have multiple purposes, such as Render, Proxy, or Guide for different workflows.
Asset Resolver: Determines which asset version to load based on the context.
References and Tutorials
Video Tutorials
What is USD: A Primer | Rob Stauffer | SIGGRAPH 2019
Watch on YouTubeCreating USD Assets with Component Builder
Watch on YouTubeUSD Asset Building with Solaris
Watch on SideFXStage and Layers // USD Crash Course for VFX
Watch on YouTubeHoudini Solaris | USD Asset Building Part 1
https://www.youtube.com/watch?v=xQaB3hHUHmE
00:00:00 - 1 | Introduction 00:00:35 - 2 | Intro to Variants 00:05:15 - 3 | Create LOD 00:11:50 - 4 | Variant Setup 00:22:22 - 5 | Distance-based LOD 00:29:45 - 6 | Asset Structure Guidelines 00:40:48 - 7 | Geo Setup 00:51:40 - 8 | Material Setup 00:57:09 - 9 | Creating a Payload
Helpful Resources
Code Reference:
Vochsel Wiki on USDGlossary:
USD GlossaryTokeru Notes on Houdini LOPs:
Visit CGWiki
Writing a hard-coded path to an aset will keep this path once you load it in LOP.

You can create "subset"with an attributeCreate node. With this, you can have "groups" of polygons, and the info will go through in USD/LOPS.

Subset:
Adding this to the bottom of the torus will give the control later in Solaris for shader assignment.

When you create the merge you can choose different options and one of them is to save different layers. (Separate layers)

ComponentBuilder. Creating USD Assets with Component Builder. Source: https://youtu.be/Yp_TRVD3wjQ?t=1110
ComponentMaterial (assign materials). It will not take 0 (geo) and 1 (material)
ComponentOutput: Result.
You can create a thumbnail
It’s like an empty USD aset ready to be filled and published.
You can load a file sop (top graph as an example), external file and internal sop.
COmponenet Geometry variants:
Create Geo variants and mat variants underneath

ExploreVariants node. Use it display all your variants.

You can use a for Each Loop to make a bunch of rocks variants. Source: https://youtu.be/EgTqz6y_oAs?t=1929
Component output:
Crate thumbnails
Write all the USD files
Order of layers with the Component

You can have Intances per variants. Source: https://youtu.be/EgTqz6y_oAs?t=2641

Selection Sets Use this button for fast selection. Or the show Slection Rule button for more complicated selection.

Collections:
Use collections to do Selection and you can apply transforms to them.

You can apply Transform to a Collection by adding a “%” before the name to pick up that collection.

Ctrl-Click on Arrow Icon to bring a popup and more control on your selection.

Use the Scene Graph Layer to debug

WWith the configure stage node you can control all those theories in mute some of them. It means that you can remove some clear override like transform and things like that. Source: https://youtu.be/Q98NdisGjpo?t=609

Overrides: https://youtu.be/Q98NdisGjpo?t=931
You can load your env, load your override and there goes your new env with less trees. Exemple of an override (sublayer loaded)

Overrides and opinions
- You can have layers that only exist to override the content of another layer.
- When something affects something else in a stage we call it opinions and you can have opinions coming from anywhere so you want to be careful with it because it can become hard to track.
- Layers that only have overrides are no different from other layers that have normal content, they are the exact same layers, it's just their content that is made to override other layers. Therefore, they are exported the same way and might be loaded the same way too.
- You can choose to unload a layer in a stage, meaning any opinions it might have on your stage will disappear.
Sublayer in shots and assets.
- Usually in usd pipelines sublayers are used majoritarily in two contexts.
1 - Shot overrides.
2 - Assets.
- In shots it allows you to have shot specific edit or opinions on your assets.
It's way easier to manage layers that modify some of your stage than having to make brand new asset every time you need something different.
- In assets it allows you to give "Boxes" when artists can work without destroying other people's work. This is one of the main aspects of Usd, the ability to have multiple people working on the same thing at the same time. It's also great structure wise.
LIVRP
https://openusd.org/release/glossary.html#livrps-strength-ordering
CreateLOD node: https://youtu.be/xQaB3hHUHmE?t=421
AddVariant node: Adds one or more variants to a variant set on a primitive. This node creates the primitive if it doesn’t exist.
To write USD data with a frame range (Time), you need to add the $F# and click on “Flush Data After each frames”
it should be avoided since it will load Cache each frames.

From Houdini Solaris | USD Asset Building Part 1:





Clear Opinions

REstructue Scen Graph



