You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
kwokcb
changed the title
MaterialXView capture dimensions not set properly (Regression)
MaterialXView capture dimensions not set properly (Regression?)
Sep 18, 2024
jstone-lucasfilm
changed the title
MaterialXView capture dimensions not set properly (Regression?)
MaterialXView capture dimensions not set properly
Oct 31, 2024
@kwokcb I believe this is a limitation of the Windows environment, rather than of MaterialXView/NanoGUI, where Windows will clamp requested sizes for application windows that are too large or too small to display.
On a Windows PC with a 5K monitor, requesting MaterialXView --screenWidth 1024 --screenHeight 1024 works perfectly, but I've seen Windows reject the same request on a laptop with a smaller display.
Given that background, this may not be an issue that we can address within the MaterialX project, but I'll leave this open in case you have thoughts on how to improve this.
jstone-lucasfilm
changed the title
MaterialXView capture dimensions not set properly
MaterialXView clamps requested window dimensions
Dec 7, 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:
versus
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
The text was updated successfully, but these errors were encountered: