multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.39k stars 429 forks source link

Ultrawidescreen (32:9) HUD and FOV issue #2753

Open darkdrifter opened 2 years ago

darkdrifter commented 2 years ago

Describe the bug

Camera FOV seems to be based off screen width instead of screen height, thus cropping view on the top and bottom when using a wider screen instead of extending the view on the sides. HUD is also based off width to control the scaling, instead so instead of "extending" the HUD on the left and right of the screen while preserving the scaling of the height, it gets twice as big on a 32:9 compared to a 16:9. Single player with ThirteenAG's wide screen fix doesn't have this issue. Using the FOV slider doesn't improve the situation, as it is clamped to 90° (horizontal), so to have a the same 59° of vertical FOV (for a 90° horizontal FOV on 16:9), it would need to be set at 127° (horizontal) on a 32:9.

Comparison: GTA SA solo ultrawidescreen MTA SA ultrawidescreen

Steps to reproduce

  1. Launch the game
  2. Set the video resolution to a 32:9 aspect
  3. Reboot the game to apply the resolution change
  4. Launch a server or map editor
  5. Observe the low FOV and big HUD.

Version

Client: version 1.5.9-release-21324

Additional context

No response

Relevant log output

No response

Security Policy

Haxardous commented 2 years ago

848

darkdrifter commented 2 years ago

848

Yes I saw this issue, mentions HUD scaling but not camera FOV, so it's not a duplicate.