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
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
- 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.
- 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.
- Automated regression tests: the full suite runs before every release, and recomputing the same
.lenson 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:
- Open a bundled sample such as
cooke_triplet,fold_mirror(90° fold mirror) orzoom_18_60(3-configuration zoom). - 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. - Re-import the
.zmxinto 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.
Keep reading
- Philosophy
Optical Design in the Age of AI: Operate Less, Judge More
Setting variables, writing merit functions, running optimizations, tweaking parameters: hand them to AI. The designer does four things: guide, judge, choose, prune. LensBench puts specs to delivery in one window, over a version tree.
optic.chatNov 4, 2026 · 3 min read
- Philosophy
A Design Is Just Text — Why .lens Is the Foundation of AI-Native
The entire state of a lens is a piece of .lens text. The AI can read it and write it, and every change is a visible diff.
The LensBench TeamOct 17, 2026 · 2 min read
- Trust
Every Number Has a Source — Evidence IDs and Independent Verification
How do you know a number reported by AI is neither fabricated nor stale? Every result carries an evidence id, and verify recomputes specs with fixed sampling.
The LensBench TeamOct 17, 2026 · 1 min read