anyone can explain the “field of view”

微笑、不失礼 提交于 2019-12-06 19:22:01

问题


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


回答1:


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.




回答2:


The field of view is normally the horizontal field of view.

This is the angular extent of the observable world Wikipedia

The larger the field of view the more of the scene you can see, but each bit will be seen at a lower resolution.

The vertical field of view is related to the horizontal by the aspect ratio of the view. A square view will have the same horizontal and vertical FoV. A landscape view will have a smaller vertical FoV while a portrait view will have a larger vertical FoV.



来源:https://stackoverflow.com/questions/4427479/anyone-can-explain-the-field-of-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!