CoWeb

find:
goto:
home

history
links from
printable

login
















Angle of View Script
Webb - all rights reserved - ©2004
spacer
Author - Andrew M. Young
Email: andrewyoung1@verizon.net
Webpage:

Summary: Angle of View and Field of View for cinematography and photography.

Instructions: Enter image size (in.), focal length (mm), and distance (ft.).  Returns object size (ft), and angle of view in degrees.  Also has mm / in converter

Code:

RPN.4.c \ Angle of View
[i]#'25.4';
"AOV/FOV"
"[mm"Ci*;
"in]"Ci/;
~
"h:image Horiz, inches"Xa xa2Pxd2P+sXe;
"v:image Vert, inches"Xd2Pxd2P+sXe;
"R: aspect ratio"xaxd/;
"f:focal length, mm"Xb;
"d:object distance, ft"Xc;
~
"H:ft"xc#'12'*xa*xb#'25.4'//#'12'/;
"V:ft"xc#'12'*xd*xb#'25.4'//#'12'/;
"H:Horiz angle"xaxb#'25.4'//HA2*;
"V:Vert angle"xdxb#'25.4'//HA2*;
~
"D:image diagonal, inches"xe;
"Dft:object diagonal, ft" xc#'12'*xe*xb#'25.4'//#'12'/;
"D:diagonal angle"xexb#'25.4'//HA2*;



0.8092 secs

top of page

Webb - all rights reserved - ©2004
powered by Spinneret 0.10