200 mm Prime Lens Tutorial (Part A): Load, Inspect, and Run a Baseline Ray Trace
Introduction
In this tutorial we use a 200 mm prime lens to demonstrate how to inspect a multi-element photographic lens in 3D, run a baseline ray trace, and interpret the output qualitatively. The goal is not to “score” the lens with a merit function; it is to learn how to read the geometry and ray paths so you can quickly spot clipping, misplacement of the stop, and off-axis sensitivity.
Loading the 200 mm prime lens
From the main window click New simulation, then double-click the Ray tracing icon to open the example library. Locate the entry labelled 200 mm prime lens (or similar) and double-click it. Choose a working directory and click OK.
Orienting yourself in the 3D scene
After loading, the Optical Workbench view should resemble ??. Identify the light source plane, the lens group, any stop/aperture object, and the detector plane. Rotate the scene and confirm the propagation direction (left → right).
Running a baseline ray trace
Click Run simulation (blue triangle). When the run completes you should see a ray bundle passing through the lens group to the detector (example in ??).
Locating and opening the key outputs
Switch to the Output tab. Open the detector folder (typically detector0)
and then open RAY_image.csv to view the detector image. This is the fastest qualitative check that
“something sensible” is forming at the image plane.
detector0).
RAY_image.csv) for the baseline run.
What you can now do (Part A)
- Load and navigate the 200 mm prime lens demo in the Optical Workbench.
- Run a baseline ray trace and confirm rays propagate through the full lens group.
- Open the outputs and view
detector0/RAY_image.csvas a quick sanity check.
Common checks if the output looks “wrong”
- Confirm the detector plane is behind the lens group and facing the beam.
- Reduce ray density if the 3D view becomes visually cluttered.
- Check that you opened the correct detector folder (the magenta plane in the 3D scene).
👉 Next step: Continue to Part B to identify chief and marginal rays, diagnose clipping/vignetting by eye, and build a “pre-metric” lens sanity-check workflow.