<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//en">

<!–Converted with LaTeX2HTML 2022 (Released January 1, 2022) –> <HTML lang="en"> <HEAD> <TITLE>Contents of Depth of Field</TITLE>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0"> <META NAME="Generator" CONTENT="LaTeX2HTML v2022">

<LINK REL="STYLESHEET" HREF="camera.css">

<LINK REL="next" HREF="node5_mn.html"> <LINK REL="previous" HREF="node3_mn.html"> <LINK REL="up" HREF="node1_mn.html"> <LINK REL="next" HREF="node5_mn.html"> </HEAD>

<BODY bgcolor="#ffffff" text="#000000" link="#9944EE" vlink="#0000ff" alink="#00ff00">

<H1><A ID="SECTION00130000000000000000"> Depth of Field</A> </H1>

<P> Under many circumstances, it is desirable to render objects in the image such that they are in sharp focus on the image plane. This is achieved by using the default ``pinhole' camera. In this mode, the camera's aperture is a single point, and all light rays are focused on the image plane.

<P> Alternatively, one may widen the aperture in order to simulate depth of field. In this case, rays are cast from various places on the aperture disk towards a point whose distance from the camera is equal to the <EM>focus distance</EM>. Objects that lay in the focal plane will be in sharp focus. The farther an object is from the image plane, the more out-of-focus it will appear to be. A wider aperture will lead to a greater blurring of objects that do not lay in the focal plane. When using a non-zero aperture radius, it is best to use jittered sampling in order to reduce aliasing.

<P> <BR> <IMG STYLE="height: 2.38ex; vertical-align: 176.40ex; " SRC="img5.png" ALT="
\begin{defkey}{aperture}{{\em radius}}
Use an aperture with the given {\em radius}.
\end{defkey}
"> <BR> The default radius is zero, resulting in a pinhole camera model.

<P> <BR> <IMG STYLE="height: 2.10ex; vertical-align: 176.68ex; " SRC="img6.png" ALT="
\begin{defkey}{focaldist}{{\em distance}}
Set the focal plane to be {\em distance} units from the camera.
\end{defkey}
"> <BR> By default, the focal distance is equal to the distance from the camera to the look point.

<P>

<HR>

</BODY> </HTML>