Hi,
Is there a way to keep the mute state of a USD layer, when writing out a Stage to file?
Let's say you sublayer in two USD files (fileA.usd and fileB.usd).
In the graph, you mute fileB.usd using the Configure Stage lop node.
Then you write out this composed stage to a new file myStage.usd.
When loading in myStage.usd both the fileA.usd and fileB.usd are active and it doesn't look like the muting of fileB.usd has been preserved.
Write mute state of layers to USD output
1990 3 1- jacobvfx
- Member
- 15 posts
- Joined: Dec. 2019
- Offline
- mtucker
- Staff
- 4444 posts
- Joined: July 2005
- Offline
Layer muting, population masks, and payload masks have no way to be expressed in the authored USD layers. If you flatten the USD stage to a single USD file these muting and masking decisions are essentially "baked in" to the resulting USD file, but obviously there are a lot of implications to flattening a stage that make it fairly unattractive for many workflows.
- jacobvfx
- Member
- 15 posts
- Joined: Dec. 2019
- Offline
So there's no, none destructive/flattening way, to disable/mute a layer in the Solaris graph and have that propagate to the resulting USD file, that will be passed to HUSK?
I guess a workflow could be to save the state of each USD layer as metadata within the Stage and use a pre-render script within HUSK to mute layers based on that.
I guess a workflow could be to save the state of each USD layer as metadata within the Stage and use a pre-render script within HUSK to mute layers based on that.
- AhmedHindy
- Member
- 129 posts
- Joined: Oct. 2020
- Offline
-
- Quick Links