-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hydra: Materials bound to geomsubsets are ignored with an "identified" UsdImagingDelegate #1896
Comments
Filed as internal issue #USD-7419 |
Shares an underlying cause with #1687 |
Thank you @tgvarik. The fix in USD 22.11 works for us as well; I'm closing the issue. |
Hello, I'm reopening the issue as a similar problem has (re)surfaced. -- Julien |
The issue has been found to be on our side within our own USD build. |
Description of Issue
When using an
UsdImagingDelegate
with a delegateID (diff than/
), materials bound to geomsubsets are ignored, meshes are rendered with the fallback grey material.I could reproduce the issue with usdview/Storm thanks to
USDIMAGINGGL_ENGINE_DEBUG_SCENE_DELEGATE_ID
Steps to Reproduce
USDIMAGINGGL_ENGINE_DEBUG_SCENE_DELEGATE_ID
environment variable to any (non root) path, and open the same scene, for instanceUSDIMAGINGGL_ENGINE_DEBUG_SCENE_DELEGATE_ID=/Foo usdview cube_with_geomsubsets.usd
Note
On our side we are considering patching UsdImagingMeshAdapter::GetTopology this way:
Current meshAdapter code assigns an
usdPath
to HdGeomSubset.materialId, whereas clients in pxr render delegates seem to expect a SPrim path (e.g. HdStGetMaterialNetworkShader() HdPrman_ResolveMaterial())System Information (OS, Hardware)
Package Versions
Build Flags
The text was updated successfully, but these errors were encountered: