Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik

IL-2 Sturmovik The famous combat flight simulator.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 12-08-2009, 02:15 PM
DJB DJB is offline
Approved Member
 
Join Date: Oct 2009
Location: La Línea - Spain
Posts: 15
Default

Quote:
Originally Posted by Dano View Post
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 .
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.