Skip to content
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

MaterialXView capture dimensions not set properly #2021

Open
kwokcb opened this issue Sep 18, 2024 · 0 comments
Open

MaterialXView capture dimensions not set properly #2021

kwokcb opened this issue Sep 18, 2024 · 0 comments

Comments

@kwokcb
Copy link
Contributor

kwokcb commented Sep 18, 2024

Issue

It seems if you set the screen dimensions on MaterialXView for interactive and command line they are sometimes set properly.
It seems that if the size is not too small (like 64) and not too large(1024) then it will work.

Example

This never seems to work:

MaterialXView  --screenWidth 1024 --screenHeight 1024

versus

MaterialXView  --screenWidth 1024 --screenHeight 1024 --captureFileName x.png

512 x 512 works, but 64 x 64 does not.

From brief testing it seems the size used to capture with is fixed and if the screen capture size somehow fits with this size it will capture properly. Otherwise the screen size is ignored.

This was only tested on Windows at SHA: e0d72e7

@kwokcb kwokcb changed the title MaterialXView capture dimensions not set properly (Regression) MaterialXView capture dimensions not set properly (Regression?) Sep 18, 2024
@jstone-lucasfilm jstone-lucasfilm changed the title MaterialXView capture dimensions not set properly (Regression?) MaterialXView capture dimensions not set properly Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant