Tom Axford
Forum Pro
When I see someone present a ray diagram to show the depth of field, it usually appears to have been drawn largely by guesswork rather than following a well-defined procedure.
Yet it is not difficult to construct ray diagrams quite precisely following the usual rules of geometrical optics.
Here is one possible method for construction a DoF diagram. The final diagram we will construct is:

First, choose the positions for the subject plane (on which the camera will be focussed), the lens (assumed to be a thin lens for simplicity, hence shown as a plane) and the sensor plane.
Then mark two points Q' and R' on the sensor plane, so that the distance between Q' and R' is the required circle of confusion. Make Q' and R' an equal distance either side of the optical axis.
We know that the camera is focussed on the subject plane, so the lens brings all the rays from any given point in the subject plane to a focus at the image of that point in the sensor plane.
Hence we can quickly find the points Q and R in the subject plane, whose images are Q' and R' in the sensor plane. Simply draw straight lines through the centre of the lens (at V) from Q' to Q and from R' to R. (Rays hitting the centre of the lens pass straight through)
Now we know the positions of Q and R together with their images Q' and R'. It is now easy to fill in all the other rays in the diagram. For example, the ray from Q to T (at the top of the lens) continues as TQ'. The ray RU continues as UR'.
QT and RU intersect at P. TQ' and UR' intersect at P'. Hence P' is the image of P.
QU and RT intersect at S. UQ' and TR' intersect at S'. Hence S' is the image of S.
The distance PS is the depth of field (because points further away than P will produce a blur larger than the CoC, while points closer than S will also produce a blur larger than the CoC). In principle, if the diagram is drawn to scale, the depth of field could be measured from the diagram.
Yet it is not difficult to construct ray diagrams quite precisely following the usual rules of geometrical optics.
Here is one possible method for construction a DoF diagram. The final diagram we will construct is:

First, choose the positions for the subject plane (on which the camera will be focussed), the lens (assumed to be a thin lens for simplicity, hence shown as a plane) and the sensor plane.
Then mark two points Q' and R' on the sensor plane, so that the distance between Q' and R' is the required circle of confusion. Make Q' and R' an equal distance either side of the optical axis.
We know that the camera is focussed on the subject plane, so the lens brings all the rays from any given point in the subject plane to a focus at the image of that point in the sensor plane.
Hence we can quickly find the points Q and R in the subject plane, whose images are Q' and R' in the sensor plane. Simply draw straight lines through the centre of the lens (at V) from Q' to Q and from R' to R. (Rays hitting the centre of the lens pass straight through)
Now we know the positions of Q and R together with their images Q' and R'. It is now easy to fill in all the other rays in the diagram. For example, the ray from Q to T (at the top of the lens) continues as TQ'. The ray RU continues as UR'.
QT and RU intersect at P. TQ' and UR' intersect at P'. Hence P' is the image of P.
QU and RT intersect at S. UQ' and TR' intersect at S'. Hence S' is the image of S.
The distance PS is the depth of field (because points further away than P will produce a blur larger than the CoC, while points closer than S will also produce a blur larger than the CoC). In principle, if the diagram is drawn to scale, the depth of field could be measured from the diagram.

