Vadru93 / LevelMod

THPS3 LevelMod
Other
20 stars 2 forks source link

Add FOV setting #119

Open DCxDemo opened 1 year ago

DCxDemo commented 1 year ago

004f7710 controls camera FOV, can hook that and allow user to change fov.

DCxDemo commented 1 year ago

as mentioned in https://github.com/Vadru93/LevelMod/issues/36#issuecomment-1518981001 , there are 3 calls to SetFOV function, one for sky loading, one in camera constructor and one in SetFocalLength func. It might be not so trivial to patch it without total rewrite of the func. there is script controlled focal length value, but it effectively zooms camera without distortions. in video games fov typically refers to the method that causes the distortion (quake fov)