Skip to content

Blog· Trust

Can You Trust an In-House Optical Engine? 343 Official Samples & Independent Verification

How LensBench verifies numerical accuracy across commercial-software official samples, 101 analytic proofs and regression tests—and how to cross-check it yourself in 30 seconds.

The LensBench TeamNov 16, 2026 · 2 min read

Can You Trust an In-House Optical Engine? 343 Official Samples & Independent VerificationOpen on YouTube ↗

The first question any optical engineer asks of a new tool is simple: for the same lens, can I trust its focal length, ray landing points, spot size, wavefront and aberrations? Our validation report publishes three independent layers of proof.

1. Three layers of verification ​

  1. Batch verification against official commercial-software samples: tested across 343 official samples bundled with commercial software, of which 222 sequential samples were evaluated:
    • Real ray tracing: 211 / 222 samples match across fields, wavelengths and pupil points
    • Spot size: 206 / 222 match
    • Wavefront: 187 / 222 match
    • Seidel aberrations: 185 / 222 match
    • OPD: 183 / 222 match
    • Scope note: agreement on the listed samples and settings does not imply full equivalence with any commercial package under every setting.
  2. 101 independent analytic proofs: expected values are computed from closed-form formulas without calling LensBench—covering thick lenses, parabolas, afocal telescopes, gratings, diffraction and thermal effects—with 101 / 101 passing.
  3. Automated regression tests: the full suite runs before every release, and recomputing the same .lens on another machine yields the same number and evidence id.

2. Convention differences aligned ​

Convention differences found during batch cross-checking have all been aligned with established conventions; unsupported surface types or boundary cases report an explicit diagnostic on import rather than silently returning wrong numbers.

3. Verify it yourself in 30 seconds (Free edition) ​

Zemax .zmx import/export and reference lenses ship in the Free edition so you can check numbers side by side on your own machine:

  1. Open a bundled sample such as cooke_triplet, fold_mirror (90° fold mirror) or zoom_18_60 (3-configuration zoom).
  2. Export to .zmx: LensBench generates a companion checklist stating which Zemax window to open, what sampling to set, and the evidence id for every metric.
  3. Re-import the .zmx into LensBench: coordinate breaks and configurations round-trip intact, and recomputation reproduces the exact evidence ids.

If a number disagrees on your own lens, check sampling grid, ray aiming and glass catalog version first; if it still differs, post the evidence id on the forum so we can reproduce it.

Import .zmx in the Free plan · Earn bonus AI tokens & member rewards through community quests