The next step is to model the outer surface of the window as if it has been subjected to a harsh environment. We do this by adding an appropriate scatter model to the front face of the window element.
Open the
Non-Sequential Component Editor and right-click on the
Object Type cell of Object 1 (this object represents the flat window of BK7 glass). Click the
Coat/Scatter tab and then for
Face choose “1, Front Face.” Next click the button next to ABg and then for Transmit choose LAMB-SPEC. The dialog box should look like this when you’re finished:

The system now simulates a highly-scattering front window surface, followed by perfectly smooth (non-scattering) lens surfaces behind the outer window.
Note that we have chosen a built-in ABg scatter model (LAMB-SPEC) for this article, but for modeling a real system you will need to carefully select a scatter model that accurately simulates whatever scatter you expect the system to encounter.
Go to the already-open Geometric MTF window and click on
Settings. Check the box next to
Scatter Rays and hit
OK. The resulting plot shows the effects of veiling glare on the system’s MTF curves:

A very interesting result here is that the on-axis field suffers the most from the effects of veiling glare in this set up. To understand why this is, we will look to the Spot Diagram next.
To look at the spot diagrams, go to Analysis|Spot Diagrams|Standard, and then fill in the Settings as shown below:

Note that we have left the Scatter Rays box un-checked for now. Here are the resulting Spot Diagrams when scattered light is neglected:

These are very good spots, measuring just a few tens of microns across (note the RMS radius values at the bottom of the diagram, in units of microns). The small white ring at the center of each spot diagram shows the calculated size of the diffraction Airy Disc, which has a diameter of 5.5 microns.
Now go to Settings and check the box next to Scatter Rays and then click OK. Here are the Spot Diagrams when the effects of scattered light are included in the calculation:

You can see now that the spots measure several tens of millimeters across (the RMS Radius values are shown at the bottom of the diagram again), and you can further see that the on-axis field (whose spot is located at the top left of the diagram) has most of its light scattered in a tight cluster near the center, whereas the off-axis fields are not nearly as concentrated around the center. Zoom in on the two locations shown below to see the difference in light concentration for the on-axis and off-axis spot diagrams:

Below is a zoomed-in image of the on-axis spot diagram:

And here is a zoomed-in image of the off-axis spot diagram:

Usually, we consider an imaging system to be better if it concentrates more light toward the central image spot, so we might think that the spot diagram for the on-axis spot would be better than the spot diagram for the off-axis spot. Let’s zoom even further into the on-axis spot and see just what’s going on here…
I’ve changed the Settings for the Spot Diagram window to the following:

Next I zoomed way in on the center of the on-axis spot, and here is what we see:

The small white ring in the center of the tiny spot diagram represents a calculation of the Airy Disc size, as we saw in the spot diagrams before considering scattering. We can see now that the highest concentration of light is still in the exact same size and shape as the original spot diagram (back when we had neglected scattering effects), but the effect of scattering is to put some light around this small spot and thereby change what had been a perfectly dark background to a more-light-filled background. This, in turn, reduces the system’s contrast and thus the MTF drops.
Note that adding scatter to our model did nothing to the shape or size of the tiny spot diagram: it merely shifted some of the light away from the tiny spot.
We see that because the off-axis beam scatters light farther away from the central spot, the background in the vicinity of the tiny spot diagram is less intense than it is for the on-axis beam. Therefore we can expect the off-axis fields to have better contrast, and higher MTF, than the on-axis fields. And this is exactly what ZEMAX showed us in the MTF curves when we included scatter.
Note that there are two other Analysis features that allow you to “Scatter Rays”: Geometric Image Analysis and Geometric Encircled Energy. Feel free to check the effect of scatter on those, as well.