I am using a sublayer node to load in a full usd scene containing render products and settings. I want to then strip out the render settings and add my own.
It seems when you prune the /Render path it will prune upstream and downstream, meaning any new "render" nodes will be ignored in the stage etc. Is there another way of pruning this type of data?
Thanks all
Prune render settings
1815 3 1- danwnewlands
- Member
- 41 posts
- Joined: 12月 2017
- Offline
- robp_sidefx
- スタッフ
- 451 posts
- Joined: 6月 2020
- Offline
You can be more selective about pruning only the actual products&settings by changing the Prune's Primitive Pattern to
/Render/** & (%type:RenderSettings %type:RenderProduct %type:RenderVar)
, but it could still prove problematic if you prune /Render/Settings/rendersettings1
and then later try to create a new /Render/Settings/rendersettings1
.
- danwnewlands
- Member
- 41 posts
- Joined: 12月 2017
- Offline
robp_sidefx
You can be more selective about pruning only the actual products&settings by changing the Prune's Primitive Pattern to/Render/** & (%type:RenderSettings %type:RenderProduct %type:RenderVar)
, but it could still prove problematic if you prune/Render/Settings/rendersettings1
and then later try to create a new/Render/Settings/rendersettings1
.
Thanks for the reply ! We went down another route to get things working but I'll save this in the memory bank for the near future!
- davidostler
- Member
- 9 posts
- Joined: 4月 2020
- Offline
Just found this thread while looking for a solution to removing render products on an additional layer that I wanted to render. Pruning the product itself didn't work but it got me thinking and I found that doing an edit property on the orderedvars of the renderproduct did the trick. I just needed "/Render/Products/Vars/RGBA" and removed all the cryptomattes and diffuse, spec, ect.
Edited by davidostler - 2024年1月27日 13:33:59
-
- Quick Links