STORM-IRIT / Radium-Engine

Research 3D Engine for rendering, animation and processing

Home Page:https://storm-irit.github.io/Radium-Engine/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong viewport on HDPI displays on windows when the configured display scale is not 100%

MathiasPaulin opened this issue · comments

Expected Behavior

Rendering on a Radium SimpleWindow should fill the viewport with the computed image.

Current Behavior

As seen on the picture below, rendering on hdpi display on windows is not correct. The viewport is not filled as expected.
image

Possible Solution

I've no idea ... any advice ?

Steps to Reproduce (for bugs)

  1. get windows with HDPI display, e.g. 3840x2160
  2. in the display settings, configure Scale and Layout to 150% (recommended on my display so that text is readable)
  3. launch any Radium app, you then get the above result
  4. without quitting the app, in the display settings, configure Scale and Layout to 100% (then making text hard to read and everything very small, even on a 32"monitor) and you get the good result as shown below

image