gluPerspective(m_FOV*m_fZoom, m_AspectRatio, m_NearClipPlane, m_FarClipPlane);
m_fZoom is a zoom factor (1.0 = normal) and changing it increases / decreases my zoom.
This is fine but I need to know how to do a specific zoom such as 4x and 10x (as in a pair of binoculars has a 10x zoom)
Anybody know how I do this?
Well, let’s say you’ve got a 90 degrees fov normally. 45 degrees is the half of it, and you will only be able to see the half in either direction which should be equal to a 2x zoom.
0.5 - 2x
0.25 - 4x
Hope I’m right.
Excuse my ignorance…but im interested in this as well and do not know what FOV refers to??
do not know what FOV refers to?? [/b]
Well as far as i know FOV is the Angel a camera has. This Angel affects the size of the lens.
As the size of the lens is:
If the FOV is bigger, the lens gets bigger and with that the amount you can see gets bigger. The bigger your lens is the more you can see and the less you are soomed.
A fisheye lens effect can also be done by changing the FOV to a large number, like, say, 140. FYI, FOV = Field Of View.