3Dickulus / FragM

Derived from https://github.com/Syntopia/Fragmentarium/
GNU General Public License v3.0
344 stars 30 forks source link

Mixed up aspect ratios under certain conditions #176

Closed 3Dickulus closed 3 years ago

3Dickulus commented 3 years ago

Description eg: GL area aspect = 16/9 hires render tile aspect = 1/1 symptom1: progress pixmap is distorted in "custom size" mode but hires render has correct size and projection symptom2: progress pixmap is rendered at screen aspect in "Lock to window size" mode but hires render has correct size with wrong projection

To Reproduce Steps to reproduce symptom 1:

  1. set "Custom size" mode
  2. set buffer size to X:456 Y:256
  3. select "Hires render"
  4. set buffer size to X:256 Y:256
  5. see error Steps to reproduce symptom 2:
  6. set "Lock to screen size" mode
  7. adjust GUI GL area to X:456 Y:256
  8. select "Hires render"
  9. set buffer size to X:256 Y:256
  10. see error

Expected behavior Progress output and final hires image should have the correct size and aspect under all conditions.

Screenshots LockToWindowSize

CustomSize

Desktop: Vendor: NVIDIA Corporation Renderer: GeForce GTX 760/PCIe/SSE2 GL Driver: 4.5.0 NVIDIA 460.73.01 Display using GL 4.5 Core profile

3Dickulus commented 3 years ago

fixed by https://github.com/3Dickulus/FragM/commit/aa61daf94d6eef9d0f26109579a5bcdc5e179152