We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using mono channel textures where width is not dividable by 4 we are experiencing distortion in Storm.
The left texture is 500x500, the right is 501x500.
The distorted texture is generated like this:
oiiotool --pattern checker:width=100 501x500 1 -o checker_501.png
The issue is present with both USDPreviewSurface and MaterialX materials. Same result with PNG and JPEG images.
From Jono Gibbs on ASWF Slack: "Just tried it with my build of 24.08 on macOS and it works, so it could be a Windows thing?"
python build_usd.py c:\WORK\USD\usd-24.11-dev-py310
The text was updated successfully, but these errors were encountered:
Jakub Jaroszek found this possible cause: https://stackoverflow.com/questions/57346317/opengl-greyscale-texture-data-layout-doesnt-match-when-the-dimensions-arent-d
I tried the suggestion by inserting this in Stråla before initializing Hydra:
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
and it fixes the issue.
Sorry, something went wrong.
Filed as internal issue #USD-10051
No branches or pull requests
Description of Issue
When using mono channel textures where width is not dividable by 4 we are experiencing distortion in Storm.
The left texture is 500x500, the right is 501x500.
Steps to Reproduce
repro.zip
The distorted texture is generated like this:
The issue is present with both USDPreviewSurface and MaterialX materials. Same result with PNG and JPEG images.
From Jono Gibbs on ASWF Slack:
"Just tried it with my build of 24.08 on macOS and it works, so it could be a Windows thing?"
System Information (OS, Hardware)
Package Versions
Build Flags
The text was updated successfully, but these errors were encountered: