FOV and widescreen in Plasma
Posted: Sat Aug 23, 2014 4:01 am
Hi everyone,
Here is a question for people who worked on the client code for Gehn (hopefully one of your guys have time to answer it). How did you fix the problem with Uru's horizontal FOV being too wide ? I'm talking about the horrible bug when trying widescreen resolutions on MOUL.
Hoikas joked about this part of the code being written totally wrong a while ago Just wondering if you can point me to where this code was located. I had a look at the history of changes in the camera code on H-uru on GitHub, but couldn't find what I was looking for.
The thing is, I'm writing a script that parses all the PRP files in Complete Chronicles's folder to set all camera modifiers and post effect mods (for GUIs) to widescreen. However, because of this bug, I can't simply say "horizontal FOV = vertical FOV * 1.78", because otherwise it's too wide... the horizontal FOV must be set to something lower to display fine in Uru.
I know when the FOV is narrow enough, I can just say horizFOV = vertFOV * 1.78 (works for a lot of GUIs, but not all), however at wider angle the issue is more annoying... I found out when vertFOV = 66.7 deg, the horizFOV is roughly equals to 100 deg (or a 1.5 ratio instead of 1.78).
I hope you can help me with this... Would be great to get rid of this issue on Complete Chronicles too
Here is a question for people who worked on the client code for Gehn (hopefully one of your guys have time to answer it). How did you fix the problem with Uru's horizontal FOV being too wide ? I'm talking about the horrible bug when trying widescreen resolutions on MOUL.
Hoikas joked about this part of the code being written totally wrong a while ago Just wondering if you can point me to where this code was located. I had a look at the history of changes in the camera code on H-uru on GitHub, but couldn't find what I was looking for.
The thing is, I'm writing a script that parses all the PRP files in Complete Chronicles's folder to set all camera modifiers and post effect mods (for GUIs) to widescreen. However, because of this bug, I can't simply say "horizontal FOV = vertical FOV * 1.78", because otherwise it's too wide... the horizontal FOV must be set to something lower to display fine in Uru.
I know when the FOV is narrow enough, I can just say horizFOV = vertFOV * 1.78 (works for a lot of GUIs, but not all), however at wider angle the issue is more annoying... I found out when vertFOV = 66.7 deg, the horizFOV is roughly equals to 100 deg (or a 1.5 ratio instead of 1.78).
I hope you can help me with this... Would be great to get rid of this issue on Complete Chronicles too