Open jufrantz opened 1 year ago
Here is a temporary work-around: run the following MEL command (or equivalent in Python) before ogsRender:
colorManagementPrefs -e -outputTransformEnabled 1 -outputTarget "renderer";
Thank you @pierrebai-adsk,
I gave it a try, but the workaround appears to be effective only when color management is turned on. Unfortunatly in our case it happens in un-color-managed scenes.
Could this be a bug in the OpenMaya sdk ? If so, I might submit a report on Maya's support platform.
It is a bug in the Maya SDK. I fixed it, but it will be only available in a future release and I cannot vouch which Maya version will have it or not. I'm no color management expert, IDK if there would be a way to create a "pass-through" color correction that would not affect the color when applied.
Ok great. Would you be able to share the ID for the maya fix? Thanks
It was tracked internally as EMSUSD-1083.
Describe the bug
We get hard crashes in some scenarios while running ogsRender command. We noticed it happens when the proxyShape's stage contains instances. It also manifests when working with display layers that have USD memberships. I am joining two reproductions even if the underlying cause is likely the same.
Steps to reproduce
ogsRender and instances
Execute a non-viewport VP2 render, e.g. by calling ogsRender
It should crash, we get this stack trace:
ogsRender and displayLayer
Create a displayLayer containing
/Sphere
withtemplate
display styleCall ogsRender
It should crash, we get a similar stack trace:
Specs (if applicable):