so I have the value of the FoV in degrees,
now I need to convert it to a zoom value of 2x, or 3x, for scopes and binoculars.
I placed some objects equally distanced between each other,
but when I zoom in from FoV 100 to FoV 90, (and I am calling that a 2x zoom), the visible objects in the edges of the reticle are not the ones I expected.
Yes, I am using this big FoV of 100 to 10 just to try to calculate the 2x, 3x value properly.
So I need the ending/maximum FoV to be at 10 degrees.
what happens in the highest zoom levels, from FoV 30 to 10, is that the zooming becomes too high and hard to control, so I wonder if I am calculating it wrong?
I mean, should the FoV steps, to let results of zoom 2x, zoom 3x, be not a fixed value like:
FoV 100 = zoom 1x
FoV 90 = zoom 2x
FoV 80 = zoom 3x
I should instead use some calculation to give me a result something like (or not like):
FoV 100 = zoom 1x
FoV 85 = zoom 2x
FoV 73 = zoom 3x
and what could be such calculation?
or should I use some other rule, like impose some FoV limits and fixed fov values instead of making any calculation?
arctan
that works for you. See also Virtual Cameras at Khan Academy. \$\endgroup\$FOV = parameter_a* Math.Atan2(parameter_b,parameter_c*zoom)
\$\endgroup\$