anyone can explain the "field of view"

user496949 picture user496949 · Dec 13, 2010 · Viewed 11.2k times · Source

In graphics software, sometimes we saw "field of view" for camera. Can someone explain what does it mean?

Answer

Jackson Pope picture Jackson Pope · Dec 13, 2010

The field of view (in the gluPerspective call) is the angle in degrees between a plane which passes through the camera position and the top of your screen and another plane which passes through the camera position and the bottom of your screen.

Edit: Since you need not have a full-screen viewport: Any line which is projected to (x1, 0)-(x2, 0) lies in the first plane, any line that is projected to (x3, height)-(x4, height) lies in the second, where height is the height of your viewport in pixels.