You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When being under Hydra Storm in maya-hydra and assigning a usd preview surface, one of the Usd imaging stage scene index is not updating the material bindings, it's the flattening scene index.
A stage file to repro the issue is given in the zip file attached to this issue.
I have Hydra materials bindings here exactly as we don't expect to have some as stated the comment.
One possible workaround for assigning the material and seeing it being displayed under hydra Storm is to set a material binding strength to UsdShadeTokens->strongerThanDescendants, this workaround fixes the issue.
Steps to Reproduce
Please see the video and use the ascii usd stage from the .zip file attached to this issue and under hydra storm, try to assign a usd preview surface to the geomsubset, you should not see the material assigned being displayed as one of the scene index (the flattening scene index) is ignoring the material binding.
Description of Issue
When being under Hydra Storm in maya-hydra and assigning a usd preview surface, one of the Usd imaging stage scene index is not updating the material bindings, it's the flattening scene index.
A stage file to repro the issue is given in the zip file attached to this issue.
Please see the video from :
https://myshare.autodesk.com/:v:/g/personal/david_lanier_autodesk_com/EbILShDlUndHljnG9K9-xeUBKlGUvgglX6TSkRPbaS_8bg?nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJPbmVEcml2ZUZvckJ1c2luZXNzIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXciLCJyZWZlcnJhbFZpZXciOiJNeUZpbGVzTGlua0NvcHkifX0&e=2ZltJw
And the fact it's the flattening scene index that removes the material bindings :
https://myshare.autodesk.com/:v:/g/personal/david_lanier_autodesk_com/Eelr4R3iGqRArTg2WKkjFlkBUz3ot9fMn-OpSRIhleKtSQ?nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJPbmVEcml2ZUZvckJ1c2luZXNzIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXciLCJyZWZlcnJhbFZpZXciOiJNeUZpbGVzTGlua0NvcHkifX0&e=Fqa7Lp
And in the materialBindingsResolvingSceneIndex if I set a breakpoint on this line :
OpenUSD/pxr/usdImaging/usdImaging/materialBindingsResolvingSceneIndex.cpp
Line 191 in 9b0c13b
I have Hydra materials bindings here exactly as we don't expect to have some as stated the comment.
One possible workaround for assigning the material and seeing it being displayed under hydra Storm is to set a material binding strength to UsdShadeTokens->strongerThanDescendants, this workaround fixes the issue.
Steps to Reproduce
System Information (OS, Hardware)
Windows
Package Versions
24.11
Build Flags
testGeomSubset.zip
The text was updated successfully, but these errors were encountered: