Slide (non-sequential geometry objects)

Slides are color RGB transparencies defined by either a BMP, JPG, or PNG format graphics file.

Slides use the following parameters:

Parameter # Description Face Name Face #
1 The width in lens units of the image. All Faces 0
2 The pixel aspect ratio, defined as height/width. Most bitmaps use a value of 1.0 for the pixel aspect ratio. The height of the slide will be determined by number of pixels, the slide width, and the pixel aspect ratio. All Faces 0

To import an image for the slide, set the object type to "slide" and select the file name from the drop-down menu, or place the file name with extension in the comment column. The file must reside in the <ZEMAX/IMAFiles> Files folder (see " Folders ") and end in the extension BMP, JPG, or PNG. The extension must be included with the file name in the comment column.

This object can be used to model radiant scenes by placing a source behind the slide. For example, to make a Lambertian radiant scene, place a collimated rectangular source (see " Source Rectangle " ) behind the slide, then set the slide to have a Lambertian scattering property (see " Scattering " ).

The transmission of the slide uses the same algorithm as described in "Slide". Face Numbers: All faces Face 0.

When imaging a Slide Object onto a Detector, care must be taken to sample the graphic file adequately. According to the Sampling theorem, at least 2 Detector pixels must compose 1 graphic file pixel.

Limitation:

There are no limits in the code on the image size. However, be aware that a large image may cause issues namely in terms of memory allocation (for example during optimization, multiple copies of the system are done and that will require a large amount of free memory). The slide image can be seen in the Shaded Model but the number of pixels displayed are limited and large slide images may not draw correctly.

Next: