Cool VL Viewer forum
http://sldev.free.fr/forum/

Graphics problems after resizing window
http://sldev.free.fr/forum/viewtopic.php?f=4&t=2026
Page 1 of 1

Author:  Catten [ 2020-06-08 18:16:33 ]
Post subject:  Graphics problems after resizing window

Hi

In the 1.26.24.21 viewer I get some strange graphics problems when I resize the window.

https://imgur.com/a/kTbCPPl

When I make the window smaller these lines appear, then when I make the window bigger agian, they dissapear, but the aspect ration doesn't change with the wider screen area so all get stretched. It feels as if the aspect doens't get refreshed to the new window size?

Best Regards
Catten

Attachments:
CoolVLViewer.old.zip [18.34 KiB]
Downloaded 135 times

Author:  Henri Beauchamp [ 2020-06-09 09:43:54 ]
Post subject:  Re: Graphics problems after resizing window

Yep, I optimized part of the pipeline by avoiding to set some vertex buffers size several times per frame, but forgot to reallocate them when the screen is resized...

The fix is ready for next release.

In the mean time and as a work-around, you can force a buffers reallocation after a screen resize by toggling on/off deferred rendering (use CTRL ALT D twice in a raw).

Author:  Catten [ 2020-06-09 13:30:40 ]
Post subject:  Re: Graphics problems after resizing window

Great, thank you Henri.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/