Quote:
Originally Posted by Dano
Would be a reasonable solution but not complete as it would not be able to differentiate between the physical size of a display, my 22inch screen is 1680x1050, others are 1920x1080.
But it is something that needs to be looked at for certain.
|
Well, i can't see the problem... Let's take your 22inch 1680x1050 display (like mine

) and other with 22inch but 1920x1080 (16/9) or 1920x1200 (16/10).
Taking only wide values to simplify, if the base resolution where the minimum screen resolution of windows (640 wide, i think), we have a constant: Minimum wide screen resolution/minimum wide size of plane = 640/2 = 320...
So we have this values:
1680/320 = 5.25 pixels (if the engine can't work with fractions, can be rounded)
1920/320 = 6 pixels
This is a very simple ecuation, can be more complex without loss of resources, because must be done only once before launch flight to calculate the "constant of ampliation" to fit actual screen resolution.
Even more, can have a table with all possible combinations and simple apply appropiate value...
Greetings

.