Can I define a background material other than air?

This article outlines the procedure for creating a background material other than air for a non-sequential system. 

Authored By Dan Hill


In Non-Sequential (NSC) Mode, the background material is always assumed to be air. However, since the nesting of materials is supported, it is extremely easy to define a background material out of a volume object which encloses the entire optical assembly. This article outlines the procedure for creating a background material other than air for an NSC group.

Defining background medium in pure Non-Sequential Mode

Imagine that you wanted to immerse your entire design in water. Using the “Even Asphere.ZMX” sample file (located in {Zemax}\Samples\Non-Sequential\Miscellaneous directory) for demonstration, a Sphere object (or any desired volumetric object, for that matter) could be inserted as Object 1.

By setting the Material to WATER, the Radius to 100, and the Is Volume? flag to 1, a volumetric sphere of water is created which encloses all other optical components:


As the scale of the plot becomes skewed due to the size of the sphere, the sphere may be ignored for drawing purposes:


To finalize the procedure for imbedding a design in a desired background material, it is important to flag sources as being inside of the volume if they truly exist inside it in 3D space. In the present example, both Source Ellipses exist within the sphere of water, thus the Inside Of flag should be set to 1 for both source objects:

As a result, the refraction of the ray at the front and back face of the lens changes drastically, as the interfaces now describe a separation between water and BK7 instead of air and BK7.

Defining background media for an NSC group in a Mixed Mode system

In a Mixed Mode file, the background material for an entire NSC group may be defined by the Material column for the Non-Sequential Component in the Lens Data Editor:

Note: Because the entry and exit ports serves as an interface between the sequential surfaces and the NSC group, these ports can have refractive power if a non-air material is applied to the Non-Sequential Component surface in the Lens Data Editor.

If this is not a desired solution, yet a “background” material is still desired, then the same solution which is described for a pure NSC system can be used in the NSCE of a Mixed Mode design.


Was this article helpful?
7 out of 7 found this helpful



Article is closed for comments.