Skip to main content

Is there a way to trace an Explicit ray (defined by x, y, z, l, m, n) instead of an Implicit Ray (defined by Hx, Hy, Px, and Py) in the Single Ray Trace Analysis or Merit Function?

I am trying to trace a ray from Surface 1 with (0,0,0) coordinates and direction cosines (0,0,1) through a system with tilted and decentered mirrors making it such that the ray will not pass through the center of the pupil therefore making the implicit method ineffective.

EZPZ in either sequential (RAYTRACEX in ZPL) or non-sequential analysis using Source Ray, or Source File for a collection of rays.


For a tilted system, if you want the “gut ray” to go through the center of the first element and not the center of a buried Stop surface, then you can simply turn Ray Aiming off, especially if you’re just concerned about a Single Ray Trace or MFE operands (wavefront & diffraction calculations will not be correct but pure geometric ray tracing will be correct).

  • With Ray Aiming on, Px=Py=0 will force the ray through the center of the Stop.
  • With Ray Aiming off, Px=Py=0 will force the ray through the center of the paraxial Entrance Pupil.  By default, Paraxial rays ignore Coordinate Breaks, so you’re paraxial Entrance Pupil will be “on-axis” so a normalized field of (0, 0) and a normalized pupil of (0, 0) will give you ray coordinates of (0, 0, 0) and direction cosine of (0, 0, 1).

 

 


Reply