Widescreen Gaming Forum

[-noun] Web community dedicated to ensuring PC games run properly on your tablet, netbook, personal computer, HDTV and multi-monitor gaming rig.
It is currently 12 Dec 2024, 02:30

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: 21 Sep 2009, 22:16 
Offline

Joined: 07 Jul 2007, 23:55
Posts: 2866
Just tried the demo. That formula works pretty well... until you go past 16:9. At 1920x768, which is the widest it will let me go, the formula returns 59.3606095 degrees, but that's too small. 63 degrees looks about right.

I'm stumped for the time being


Pardon me for stating the obvious but are you taking into account the fact that the game is a mix of hor + and vert -?


Top
 Profile  
 


PostPosted: 21 Sep 2009, 23:05 
Offline
Insiders
Insiders

Joined: 07 Nov 2005, 04:16
Posts: 3010
Without any way to quantify just how much is hor + vs. vert -, it's very hard to devise a formula that takes it into account.

I did come up with a hypothesis - that the angle determines a "cone" of FOV, and that what you see is a rectangle inside the circle. Like this:


The circle is the base of the cone, and the rectangle inside is your actual FOV. The triangle is a side cross-section of the cone.

y is one half of the linear vertical span of the FOV. If true hor + is maintained, this will be constant.

x is one half of the linear horizontal span of the FOV. This should increase with the FOV angle.

r is the radius of the circle.

z is the height of the cone, and is constant.

Theta is half the angle of the cone, and corresponds directly to the FOV setting.

And let's call the aspect ratio "w."

So,
tan(Theta) = r/z
z*tan(Theta) = r

x*x + y*y = r*r
w = x/y
x = w/y

(w*w)/(y*y) + y*y = r*r

(w*w)/(y*y) = z*z*tan(Theta)*tan(Theta)

(w*w)/(tan(Theta)*tan(Theta)) = z*z*y*y

So I've been trying to find out the values of "z" and "y" when hor + behavior is maintained by finding multiple w and Theta values that result in hor +'ness. But I need a break now - I'm just frustrating myself. Plus I'm not entirely sure I did the math right (and I have absolutely no clue if this hypothesis is even remotely correct in the first place).


Top
 Profile  
 
PostPosted: 21 Jun 2010, 10:42 
Offline

Joined: 21 Jun 2010, 10:07
Posts: 2
Civ 4 does support some other widescreen multi monitor formats (I use 5760x1200, 6k x 1200 is also possible)... but FOV for these is totally wrong by default. Setting it to around 65 works OK, tho.


Top
 Profile  
 
PostPosted: 18 Aug 2010, 20:56 
Offline

Joined: 16 Sep 2006, 12:18
Posts: 121
Was anyone able to get CiV IV running with SoftTH? I tried but was not successful...

_________________
Intel i7 980X | MSI Big Bang Xpower X58 | 12GB G.Skill Pi Black DDR3-1600 | Sapphire 5870 Vapor-X 2GB | 2x Intel X-25M 160GB | SB X-Fi | Seasonic X-750 | Silverstone FT01 black | 3x HP ZR24w @ 5760x1200 Triplehead

AMD X2 4800+ | Gigabyte K8N Ultra-SLI | 2GB Kingston VS DDR1-400 | Zotac GTX260 AMP! + Gigabyte 8400GS | 3x Samsung HD 2.1TB | SB X-Fi | Seasonic M12-600 | Chieftec CS-601 blue | Dell 2407WFP + Dell 1707FP Dualhead


Top
 Profile  
 
PostPosted: 21 Aug 2010, 17:15 
Offline

Joined: 16 Sep 2006, 12:18
Posts: 121
Got it up and running now with Soft TH 1.06. Last problem is the mouse ingame. the cursor and the current position of it on the game map differ by 1920 pixels. Any ideas?

_________________
Intel i7 980X | MSI Big Bang Xpower X58 | 12GB G.Skill Pi Black DDR3-1600 | Sapphire 5870 Vapor-X 2GB | 2x Intel X-25M 160GB | SB X-Fi | Seasonic X-750 | Silverstone FT01 black | 3x HP ZR24w @ 5760x1200 Triplehead

AMD X2 4800+ | Gigabyte K8N Ultra-SLI | 2GB Kingston VS DDR1-400 | Zotac GTX260 AMP! + Gigabyte 8400GS | 3x Samsung HD 2.1TB | SB X-Fi | Seasonic M12-600 | Chieftec CS-601 blue | Dell 2407WFP + Dell 1707FP Dualhead


Top
 Profile  
 
PostPosted: 29 Dec 2015, 21:36 
Offline

Joined: 29 Dec 2015, 21:31
Posts: 1
The_cranky_hermit wrote:
Just tried the demo. That formula works pretty well... until you go past 16:9. At 1920x768, which is the widest it will let me go, the formula returns 59.3606095 degrees, but that's too small. 63 degrees looks about right.

I'm stumped for the time being.


You can't stump the Trump.


(Thanks for the tips btw)
Happy civving :twothumb:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  




Powered by phpBB® Forum Software © phpBB Group