Created
November 27, 2013 05:56
-
-
Save zhangwc/7671287 to your computer and use it in GitHub Desktop.
the relation of camera depth and FOV(field of view)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D = d*W/w; | |
d = (w/2)/tan(fov/2); | |
===> | |
D = (W/2)/tan(fov/2); | |
(D: the distance between camera and 3d-objects | |
d: the distance between camera and screen | |
W: 3d-objects size | |
w: screen size) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment