User panel stuff on forum
  53 posts on 2 pages  First page12Last page
General Discussion
2007-07-07, 02:25
Member
135 posts

Registered:
Jan 2006
Hi,

There are some myths around widescreen resolutions since LCD panels are more popular among gamers these days. I got simple question: should one see more on the left/right side of the screen if he uses 16:10 widescreen resolution instead of regular 4:3 ? Many people claim so and for a moment I also thought so but then I made some testings...

For example: 4:3 is 800x600 and 16:10 is 960x600. Since 960 is 160 pixels of width longer than 800 I though there should be similiar effect as when you increase fov and in the result you should see more on the left/right side of the screen. But I made some checkings and it showed otherwise:

800x600: http://img457.imageshack.us/img457/5827/ezquake104yt4.jpg (con 400x300)
960x600: http://img157.imageshack.us/img157/689/ezquake103ay6.jpg (con 480x300)

As you can see there is nothing more on the left/right at 960x600 than at 800x600.

So am I right when I say:
1. If you use fullscreen 800x600 at 16:10 panel your view will get streched making your game to look 'fat'. It's possible to disable that and have unstreched game but with two black strips on the right/left side.
2. If you use fullscreen 960x600 at 4:3 panel your view will get squeezed making your game to look 'thin'. You could add two black strips on the top/bottom to make it look normal again.
3. If you use fullscreen 960x600 at 16:10 panel or 800x600 at 4:3 panel it should be the same and looking natural, no streching/squeezing needed.

?

If I'm not right please put me on the right track :E.
2007-07-07, 12:53
Moderator
1329 posts

Registered:
Apr 2006
You are not right. If the image is geometry/fov corrected you will get to see more from the sides and this can be done with ezQuake's fov and conwidth/height. So:
Quote:
Comparison 4:3 16:10 (aspect ratios)
resolution 960*720 1152*720 (4:3 resolution and 16:10 resolution)
field of view 120.00 128.61 (normal fov for 4:3 and re-calculated fov for 16:10)
conwidth 640 640 (normal width for both)
conheight 480 400 (reduced height for 16:10)

What did I do there? First I needed to correct the aspect ratio for 16:10 resolution. It can be done via ezQuake's vid_conwidth and vid_conheight. 640/400 = 16:10 where 640*480 = 4:3. Now you have correct geometry but you are lacking information vertically. You can fix that by correcting your fov according to this formula (meant for changing fov from 4:3 to 16:10):

2 * atan((48/40) * tan(fov/2))


Example images: (save and compare or open in two browser windows 4:3 and 16:10
Servers: Troopers
2007-07-07, 13:20
Member
135 posts

Registered:
Jan 2006
OK, so you HAVE TO change FOV. But how do you calculate new proper FOV? What's the formula?
2007-07-07, 13:29
Moderator
1329 posts

Registered:
Apr 2006
Added the formula for 4:3 to 16:10.

You also HAVE TO change the conwidth/height otherwise it won't work. for 16:10 you can use 640*400 or if you want to have height at 480 then it's 768*480
Servers: Troopers
2007-07-07, 14:50
Member
135 posts

Registered:
Jan 2006
Your formula can't be right...

2 * atan((48/40) * tan(fov/2))

fov=110

2 * atan(1.2 * tan(55)) = 2 * atan(1.2 * 1.4281480067421144) = 2 * atan(1.7137776080905371) = 66.84495

?
2007-07-07, 15:14
Member
135 posts

Registered:
Jan 2006
OK it finally works:

http://img488.imageshack.us/img488/3729/ezquake103pg1.jpg

http://img488.imageshack.us/img488/1492/ezquake104zj8.jpg


But I had to use INVTAN in the formula instead of ATAN, which should be the same... weird.

2 * invtan(1.7137776080905371) = 119.47233997126645796960024830604

And that's my new fov. Thx man .
2007-07-07, 15:40
Member
135 posts

Registered:
Jan 2006
One more thing... shouldn't I also change sensitivity or m_pitch (m_yaw) ?
2007-07-07, 15:41
Administrator
2058 posts

Registered:
Jan 2006
this guide should be added to the qw wiki
2007-07-07, 16:18
Moderator
1329 posts

Registered:
Apr 2006
plast wrote:
One more thing... shouldn't I also change sensitivity or m_pitch (m_yaw) ?

Absolutely not. Changing resolution/aspect ratio(=conwidth/height)/fov should not have any effect on your input.
Servers: Troopers
2007-07-07, 17:27
Member
13 posts

Registered:
Jun 2006
but why fov 110 is a standart ? it is calculated too ? i use 112.5 but have no idea why exacly ... ;K
i mean if fov 90 was designed for 4:3 on 16:10 we have 100,3888578154696119874410203614 (useing Renzo's formula)
2007-07-07, 17:35
Member
135 posts

Registered:
Jan 2006
HALVLOST wrote:
but why fov 110 is a standart ? it is calculated too ?

I were using fov 110 in 800x600 (4:3) so I recalculated new fov for 960x600 (8:5) by taking 110 as base fov.

Standard fov (by standard I mean 'out of the box') is 90 for 4:3 I think, so yes, standard fov for 8:5 is around 100.
2007-07-07, 20:14
Member
1011 posts

Registered:
Feb 2006
rather than requiring ppl to manually calculate, should have something like r_aspectratio 1 (a'la doom3/quake4) that adds the additional multiplier to fov internally
2007-07-07, 20:42
Administrator
2058 posts

Registered:
Jan 2006
and perhaps a con_size_multiplier so people use like 0.5 to use half of their resolution as their consize, or whatever.
2007-07-07, 21:47
Member
247 posts

Registered:
Jan 2006
oldman and empezar: great ideas
2007-07-07, 23:20
Moderator
1329 posts

Registered:
Apr 2006
Just remember that you need to consider both conwidth/height values and fov when playing around with qw-settings. There are only so many games that has two different things to be changed for aspect ratio correcting (I know only qw, check widescreengamingforum for other if you think you can find any).
Servers: Troopers
2007-07-08, 01:41
Member
705 posts

Registered:
Feb 2006
Empezar wrote:
this guide should be added to the qw wiki

yeah definatly! i would be happy to gather any information and wiki it up if it could be of any use.
but im drunk as fuck rigtht now just pm me on irc or whatever tomorow and i will be of as much help as i can!
2007-07-08, 12:25
Moderator
1329 posts

Registered:
Apr 2006
2007-07-08, 15:44
Member
485 posts

Registered:
Feb 2006
I think most people expect to see more to the sides when they change resolution to wider aspect ratio. It would be better if fov relates to vertical resolution rather than horizontal.

"r_fov_vertical 1"?
2007-07-10, 08:13
Member
810 posts

Registered:
Jan 1970
uh.. why setting 1650x1050 doesnt work? no choice in the video menu and 'ezquake-gl.exe -widht 1650 -height 1050' doesnt work either.
the result is a 1400x1050.

using nvidia 7900gs with win xp, ez 1.8. stable(1917) on a 22" screen(samsung 225bw).
2007-07-10, 09:37
Member
247 posts

Registered:
Jan 2006
theres no 1650x1050, its 1680x1050.
2007-07-10, 10:18
Moderator
383 posts

Registered:
Jan 2006
Empezar wrote:
this guide should be added to the qw wiki

Not very good idea. :: incorrect, it's a great idea to give people the change to correct geometry on their 16:10 monitors
These all are one big HACK. :: and noone cares, so?

Aspect ratio must changed not only by con_width/con_height values but by some options in client.
Like gl_aspect_ratio "4:3"
or gl_aspect_ratio "16:10". :: Preferrably.

If one man like conwidth 320, its not good to force him to change it to 360. :: incorrect. 4:3 320/240 looks EXACTLY THE SAME as 16:10 360/240 geometry wise. Get it?

Plus if u change conwidth and conheight, it will be some "artefacts" while drawing graphics. :: incorrect. only "artefact" you will get is the corrected geometry.

// Edited by Renzo
With best wishes, B1aze.
2007-07-10, 10:45
Member
810 posts

Registered:
Jan 1970
d2.cpe wrote:
theres no 1650x1050, its 1680x1050.

thanks (blush), but still the same result...1400x1050
2007-07-10, 14:05
Moderator
1329 posts

Registered:
Apr 2006
vid_mode -1
vid_customwidth 1680
vid_customheight 1050
vid_restart
cfg_save
Servers: Troopers
2007-07-10, 15:00
Member
247 posts

Registered:
Jan 2006
old wrote:
d2.cpe wrote:
theres no 1650x1050, its 1680x1050.

thanks (blush), but still the same result...1400x1050

I also do not recognize 1400x1050 - its 4:3 not 16:10 more like 1440x900

well anyway check here
2007-07-12, 06:41
Member
810 posts

Registered:
Jan 1970
thank you, i will try this stuff when i get back home

BR,
Oldgeezer
2007-07-12, 06:59
Administrator
2058 posts

Registered:
Jan 2006
B1aze wrote:
Empezar wrote:
this guide should be added to the qw wiki

Not very good idea.
These all are one big HACK.
Aspect ratio must changed not only by con_width/con_height values but by some options in client.
Like gl_aspect_ratio "4:3"
or gl_aspect_ratio "16:10".
If one man like conwidth 320, its not good to force him to change it to 360.
Plus if u change conwidth and conheight, it will be some "artefacts" while drawing graphics.

you're right, it's better we have no guide and help everyone wanting to do this individually instead.

we need to waste time, cause we have too much of it.
2007-07-13, 22:48
Member
135 posts

Registered:
Jan 2006
Renzo wrote:

Why there is nothing about vid_customwidth and vid_customheight?
2007-07-13, 23:52
Member
447 posts

Registered:
Jan 2006
It worked very well for me - running QW in 1680x1050, conwidth 420, conheight 262 (1/4 of resolution). Leaves a few artifacts on the letters in the console (every 30th or so letter becomes one pixel wider than the others), and the overall FPS dropped quite considerably (from perhaps 900 to ~300). Not a problem though, since I capped it on 154 FPS and then FINALLY managed to make QW smooth by setting cl_nolerp 1 (a bit off topic, but I'm so happy right now I could cry).

Now I feel like starting a new thread just to whine over flatscreens in games. Even though I have a very fast one (2 ms), there is noticable ghosting. It's playable, but I no longer need my DX9-compatible graphics card to generate motion blur... :/

Edit: The FOV went from 110 to 119.47 if anyone is using the same and doesn't feel like doing the math.
Teamplay is nothing. Aim is everything. OBEY YOUR AIM

http://img178.imageshack.us/img178/9017/end2ub.jpg
2007-07-14, 00:58
Moderator
1329 posts

Registered:
Apr 2006
plast wrote:
Renzo wrote:

Why there is nothing about vid_customwidth and vid_customheight?

I don't know, but now there is.
Servers: Troopers
2007-07-16, 18:19
Member
357 posts

Registered:
Mar 2006
This was posted on quakesrc.org some time ago: http://www.quakesrc.org/forums/viewtopic.php?t=5787
to correct the aspect ratio of the FOV based on the screen aspect ratio... that way fov 90 on a 16:10 monitor would resemble the same as a 4:3 monitor.
  53 posts on 2 pages  First page12Last page