-
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
usdPreviewSurface spec for reading alpha channel from grayscale image has inconsistent adoption #2731
Comments
Filed as internal issue #USD-8828 |
I tested the attached usdz file and was unable to repro the issue you are seeing here. Are you still seeing this issue? Do you have another repro case? Or more information about when you are seeing this? |
@klucknav Unfortunately I'm still seeing this with USD 23.11. Would you be able to share a screenshot of what you're seeing on your end with the attached file in USD 23.11? I assume you're checking on a Linux machine with an NVIDIA gpu using OpenGL? I'm curious if it may be a difference between graphics backends that hasn't been accounted for. I'm on a Mac with a Metal on an Apple GPU. |
Ok, it does seem to be a Metal specific issue. Thank you for clarifying your setup for where you are seeing the problem. |
Ah great, I'm glad you were able to repro on a Mac. Apologies, I should have mentioned that earlier. |
The usdPreviewSurface spec specifies that reading alpha channel of a grayscale texture should return 1:
“If a single-channel texture is fed into a UsdUVTexture, the r, g , and b components of the rgb output will repeat the channel’s value, while the single a output will be set to 1.0.”
However, in
usdview
, the alpha channel returns the image. In other contexts (RealityKit, Maya, Houdini) the alpha channel returns 1 per the specSteps To Reproduce:
usdview
is an outliervistest_texture_format_grayscale_alpha.usdz.zip
The text was updated successfully, but these errors were encountered: