CameraZoom > Angle?

Blitz3D Forums/Blitz3D Programming/CameraZoom > Angle?

John Blackledge(Posted 2004) [#1]
I understand that CameraZoom camera,1 is roughly equivalent to 60 degrees field of view.
Does anyone know enough to say that a setting of 1 actually IS 60 degrees, 2 is 30 etc?
Is there a known absolute conversion here?


Tom(Posted 2004) [#2]
Function FovToZoom#(FOV#)
  Return 1.0 / Tan(FOV#/2.0)
End Function

Function ZoomToFov#(Zoom#)
  Return 2*ATan(1.0/Zoom)
End Function



Zethrax(Posted 2004) [#3]
'CameraZoom camera, 1.0' is a 90 degrees field of view. Personally I find 'CameraZoom camera, 1.6' is easier on the eye.

I think you divide 90 by the camerazoom setting to get the equivalent field of view angle, and divide 90 by the field of view angle to get the eqivalent camerazoom setting, but I could be wrong.


John Blackledge(Posted 2004) [#4]
Thanks to you both.
Looks like Tom has it nailed down.