View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005520||The Dark Mod||Graphics||public||03.02.2021 11:28||28.03.2021 20:28|
|Summary||0005520: FOV: Find a way to correct the distortion|
|Description||The pincusion distortion in TDM is huge. Even at fairly narrow FOV of 70, you can see objects getting stretched and looking much bigger than in the center. It's even more visible with FOV 80 or higher. In most games (and with widescreen resolutions), the effect much less severe, typically until FOV is like 110-120 and higher.|
|Steps To Reproduce||Look at any object that is in the center of the screen, then rotate the camera so it's at one of the corners.|
|Tags||No tags attached.|
Clipboard02.jpg (541,429 bytes)
"In most games the effect much less severe, typically until FOV is like 110-120 and higher."
I guess that's because most games measure horizontal FOV.
As far as I remember, TDM measures some weird quantity which is neither horizontal nor vertical FOV, but something connected to virtual 640x480 screen.
If you really want to check if TDM distortion is more severe, you should ensure that actual FOV is the same, because numbers give you wrong impression.
Just looked it up in the code to have a reference point. An FOV setting of 90 actually results in horizontal FOV of 106 and vertical FOV of 74 (on a 16:9 resolution).
An FOV setting of 75 would give horizontal FOV of 91 and vertical FOV of 60 (again, for a 16:9 resolution).
Yeah I think the original FOV is calculated by 4:3 aspect.
Maybe this is something to look into?
|I think the quick (initial) fix would be to set the default FOV to 75. That value is much closer to the typical horizontal FOV value of 90 and already significantly reduces the problem. Adding barrel distortion is not without its own side effects. If the issue is still more pronounced in TDM than in other games at comparable FOV values, I'd like to understand why, first :)|
I wonder if we can summon Tels to discuss what he did with r_fovRatio and see if there is some disconnect that happened either after it's removal or moving to Standalone or 64-bit.
I can artificially correct this by issue setting a lower fov and then noclipping backward from the target scene so I imagine a proper fix might include a z axis adjustment to the camera too.
|03.02.2021 11:28||Judith||New Issue|
|03.02.2021 11:28||Judith||File Added: Clipboard02.jpg|
|03.02.2021 19:39||nbohr1more||Note Added: 0013626|
|04.02.2021 17:53||stgatilov||Note Added: 0013637|
|04.02.2021 17:53||stgatilov||Note Edited: 0013637||View Revisions|
|07.02.2021 10:40||cabalistic||Note Added: 0013662|
|28.03.2021 19:25||AluminumHaste||Note Added: 0013817|
|28.03.2021 20:05||cabalistic||Note Added: 0013818|
|28.03.2021 20:28||nbohr1more||Note Added: 0013819|