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
Describe the bug
When starting megamol.exe with a window size larger than screen, the window size will be limited to screen size.
This problem was also found in mmconsole and was fixed within #559. This workaround needs to be implemented within the new frontend. For implementation see:
This will be easier to manage when views render into FBOs by default.
Then we are free to resize the FBO and (re)open GLFW windows with arbitrary sizes if a simple resize does not work.
Regarding the async issue, i think we could try to sleep() and maybe issue a few fake swap_buffers() or whatever the window system expects to trigger a resize?
As of #889 we can tell views to render in a different resolution than the GLFW window. However, we can not yet write those rendering results into screenshots in that resolution.
A refactor of #782 brought View screenshots of arbitrary size into master. For this to work die View rendering resolution needs to be explicitly set via mmSetViewFramebufferSize(string view, int width, int height), this decouples view resolution from GLFW windows resolution and results in screenshots of views (mmScreenshotEntryPoint(string entrypoint, string filename)) having view resolution. Currently normal screenshots via mmScreenshot(string filename) are pulled from the GL front buffer and thus represent the GLFW window contents/size.
Describe the bug
When starting megamol.exe with a window size larger than screen, the window size will be limited to screen size.
This problem was also found in mmconsole and was fixed within #559. This workaround needs to be implemented within the new frontend. For implementation see:
megamol/console/src/gl/Window.cpp
Lines 81 to 92 in 52bfffc
Environment
The text was updated successfully, but these errors were encountered: