History of Depth of Field Script
Webb - all rights reserved - ©2004
spacer


modified by Russ Webb on  2004-04-22 21:06:48

Author - Andrew M. Young
Email: ayoung@loop.com
Webpage:

Summary: Depth of field calculations for cinematography

Instructions: enter focal length (25mm), f/stop (2), circle of
confusion (0.001"), and distance (6ft).  Returns near and far depth of
field (ft), hyperfocal distance (ft), and depth of focus (in.).  Also has
convenient inch to millimeter converter.

Code:

RPN.2.d \ depth of field
[i]#'25.4';
[h]xaCi/2Pxbxc*/#'12'/;
"DOF"
"[mm"Ci*;
"in]"Ci/;
~
"f:focal length in mm"Xa;
"t:t-stop"Xb;
"d:dist in ft"Xd;
"c:circle of confusion (in)"Xc;
~
"HYP"Ch;
"DN:near depth"Chxd*Chxd+/;
"DF:far depth"Chxd*Chxd-/;
"F:depth of focus"xaxb*xc*Ci/;



modified by Andrew Young on  2004-12-27 14:51:09

Author - Andrew M. Young
Email: ayoung7@charter.net
Webpage:

Summary: Depth of field calculations for cinematography and photography.

Instructions: enter focal length (25mm), f/stop (2), circle of confusion (0.001"), and distance (6ft).  Returns near and far depth of field (ft), hyperfocal distance (ft), and depth of focus (in.).  Also has convenient feet / feet,inches / inches converter.

Code:
RPN.4.d \ depth of field
[i]#'25.4';
[h]xaCi/2Pxbxc*/#'12'/;
"DOF"
"[ft"#'12'/;
"f,i"Vvwvfm12;
"in]"m12;
~
"f:focal length in mm"Xa;
"t:t-stop"Xb;
"d:dist in ft"Xd;
"c:circle of confusion (in)"Xc;
~
"HYP"Ch;
"DN:near depth"Chxd*Chxd+/;
"DF:far depth"Chxd*Chxd-/;
"F:depth of focus"xaxb*xc*Ci/;
"F2:depth of focus"2xc*xb*;



modified by Andrew Young on  2005-03-23 19:38:21

Author - Andrew M. Young
Email: andrewyoung1@verizon.net
Webpage:

Summary: Depth of field calculations for cinematography and photography.

Instructions: enter focal length (25mm), f/stop (2), circle of confusion (0.001"), and distance (6ft).  Returns near and far depth of field (ft), hyperfocal distance (ft), and depth of focus (in.).  Also has convenient feet / feet,inches / inches converter.

Code:
RPN.4.d \ depth of field
[i]#'25.4';
[h]xaCi/2Pxbxc*/#'12'/;
"DOF"
"[ft"#'12'/;
"f,i"Vvwvfm12;
"in]"m12;
~
"f:focal length in mm"Xa;
"t:t-stop"Xb;
"d:dist in ft"Xd;
"c:circle of confusion (in)"Xc;
~
"HYP"Ch;
"DN:near depth"Chxd*Chxd+/;
"DF:far depth"Chxd*Chxd-/;
"F:depth of focus"xaxb*xc*Ci/;
"F2:depth of focus"2xc*xb*;