Open seando-adsk opened 2 months ago
Filed as internal issue #USD-10112
Do you have a usd file and images corresponding to your test that you could attach? Perhaps whatever is driving your screenshot?
Yes sure. In MayaUsd we have a unit test for this. It is part of our testVP2RenderDelegateMaterialX
test, specifically the DemoQuads test which is failing. The reference image is DemoQuads_render.png. The usd file it loads is DemoQuads.usda
Sean
Description of Issue
We have a unit test in MayaUSD that reads OpenEXR images with 1, 2, and 4 channels in both half and float format to make sure every image type loads correctly.
Initially logged as issue #2800 which was fixed in 24.03/24.05. However the issue is back again in 24.08.
Looking at recent changes, replacing
strIsRed()
with a combinedstrIsComponent()
suddenly lost the capability to decode a Y channel as being a potential red channel. Don't know if this is sufficient to cause the error we see though. Change is here.The following patch gets us to:
So the only thing now missing is the expansion from "YA" to "YYYA" for the RG16F and RG32F images.
@meshula Would you be able to help with this?
Steps to Reproduce
System Information (OS, Hardware)
Windows: heap corruption crash before the scene shows Linux: Corrupted images
Package Versions
USD v24.08 with MaterialX v1.38.10
Build Flags