#9 changeable fov

closed
nobody
None
5
2012-01-20
2008-04-13
Anonymous
No

I saw you had plans to implement it in 1.4.3, but that didn't happen. I think changeable fov is an integral option, especially with the increase of people using widescreen resolutions.

Discussion

  • Ozkan Sezer
    Ozkan Sezer
    2008-04-16

    Logged In: YES
    user_id=219327
    Originator: NO

    Yes, I agree. It didn't make it into 1.4.3 because of real life issues.
    I hope to do it in the next release.

     
  • Gman
    Gman
    2011-08-01

    I'd rather play at 1280x1024 @ fov 120 than at 1920x1080 @ fov 90, which I do using the unofficial 1.15 patch. It would be nice if I could play Hexen II: Hammer of Thyrion at 1920x1080 @ fov 120, however. It doesn't bother me that at fov 120 you can see the book floating in air, I just think of it as the floating magic book! Or you could do that Half Life 2 hack, where the weapon model isn't affected by fov, but that doesn't look right. Or alter the weapon model showing a hand holding the book.

     
  • Ozkan Sezer
    Ozkan Sezer
    2011-08-02

    I remember having found the necromancer's "floating magic book" ugly back at the time I looked at pa3pyx's version. It is a bad glitch.

    I'll try looking at the fov thing, no promises though..

     
  • Gman
    Gman
    2011-08-04

    Maybe a customfov cvar could be used, using opengl's gluPerspective instead, for those who don't mind the oddities such as floating books.

    file: gl_rmain.c
    function: R_SetupGL

    if (customfov == true)
    {yfov = scr_fov.value / screenaspect;
    gluPerspective (yfov, screenaspect, 4, 4096);}
    else
    {yfov = 2*atan((float)r_refdef.vrect.height/r_refdef.vrect.width)*180/M_PI;
    MYgluPerspective (yfov, screenaspect, 4, 4096);}

    also it's set up not to draw view model at high fovs
    maybe right before it is used this line could be added

    file: r_main.c
    function: R_DrawViewModel

    if (customfov == true) {r_fov_greater_than_90 = false;}

     
  • Ozkan Sezer
    Ozkan Sezer
    2012-01-20

    fov is implemented in the svn as of rev .4480. Will be integrated in the next 1.5.2 release. Closing this item.

     
  • Ozkan Sezer
    Ozkan Sezer
    2012-01-20

    • status: open --> closed
     
  • Gman
    Gman
    2012-01-23

    Great news, thanks for adding that! I look forward to the next release! I'm so accustomed to fov 120, it will make playing much more enjoyable.

     
  • Ozkan Sezer
    Ozkan Sezer
    2012-04-05

    uHexen2 v1.5.2 is released with the FOV feature included.