Line 1 disappears
#4
The issue here can be easily diagnosed and explained.

Take the code you wrote and run it. Now, manually grab the corner of the screen and drag the window until it'd be full screen. As soon as you let go of the mouse button, the screen then will "snap" back to where it can display as much as possible with maintaining the original aspect ration.

When you click the maximize button, it doesn't center the screen and place black bars along the edges to maintain your aspect ratio (like you see with many older movies and tv shows when they play on todays modern television sets). Instead, it scales the image so that it fills the screen completely, even if it has to clip off part of the screen when it does so.

The choices here, for this type of fix, would be to:

1) Either stretch the image to fit the whole screen and not pay any attention to the aspect ratio. (Some shows do this, which can lead to distorted faces and elongated circles and such being prominent.)

or

2) Maximize the image so that it fits the screen as much as possible, and then center it and add those black border bars along the edges to maintain the proper ratio.

I don't know which of these solutions would be easiest to implement, or even if OpenGL allows for easily making such adjustments, so the fix for this might be a while before it comes. For now, I'd suggest just grabbing the corner of the window and resizing it to the size you want with the mouse, without making use of that maximize button at all.
Reply


Messages In This Thread
Line 1 disappears - by BDS107 - 07-20-2022, 09:14 AM
RE: Line 1 disappears - by bplus - 07-22-2022, 04:46 PM
RE: Line 1 disappears - by SMcNeill - 07-22-2022, 05:25 PM
RE: Line 1 disappears - by SMcNeill - 07-22-2022, 05:51 PM
RE: Line 1 disappears - by SMcNeill - 07-22-2022, 05:59 PM
RE: Line 1 disappears - by BDS107 - 07-22-2022, 07:52 PM
RE: Line 1 disappears - by BDS107 - 07-24-2022, 07:10 PM
RE: Line 1 disappears - by SMcNeill - 07-24-2022, 07:50 PM
RE: Line 1 disappears - by admin - 07-24-2022, 08:09 PM
RE: Line 1 disappears - by admin - 07-24-2022, 08:21 PM



Users browsing this thread: 2 Guest(s)