Window Size Limitations

Discussion in 'Utilities and programming' started by PEZZALUCIFER, Jul 26, 2022.

  1. PEZZALUCIFER

    PEZZALUCIFER
    Expand Collapse

    Joined:
    Jan 19, 2020
    Messages:
    11
    Running Beam.ng in windowed mode and I have the problem where I can't resize the window past some arbitrary maximum size; seems limited by the resolution of the desktop.

    Using this tool I can resize notepad.exe beyond the resolution of the desktop.
    https://github.com/dtgDTGdtg/SRWE

    SWRE uses SWP_NOSENDCHANGING to prevent the window from being clamped to the desktop by blocking WM_WINDOWPOSCHANGING and thus WM_GETMINMAXINFO. However it appears Beam.ng is doing something else internally to resize the window.

    Is there any way around this limitation?

    The reason I want a window larger than the desktop is to supersample the framebuffer, capture with reshade, share the texture to another app and perform perspective correction.

    Once perspective correction is performed the center of the capture is lower resolution than the desktop (display) resolution and doesn't look great. We're talking 120 degree FOV.

    My current workaround is using DSR to fake a higher resolution desktop which allows the Beam.ng window to be larger than the display resolution but then I have to pay for extra fill rate with the display app post perspective correction.

    I think ideally whatever resolution I run the desktop at I would be able to set the Beam.ng window size to 4x that resolution.

    4K Beam.ng, 1080 desktop as an example.

    ATM performance isn't very scalable.

    Cheers.
     
  2. PEZZALUCIFER

    PEZZALUCIFER
    Expand Collapse

    Joined:
    Jan 19, 2020
    Messages:
    11
    ohh I see perhaps I can just change graphic.lua at
    -- Settings GraphicResolutions

    ignore the sanitisation when in windowed mode...?

    I will try. :)
     
    • Like Like x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice