“…Ray-tracing computer programs, which simulate the propagation of light through three-dimensional models of optical systems, have their origin in the 1960s [17,18], but then, since 1970, with the advent of means for rapid computation, it became possible to simulate a wide range of optical phenomena (physical or geometrical) in contexts so diversified as electromagnetism, optics, astronomy, meteorology, environment, or architecture, as revealed in the literature, e.g., References [19][20][21][22][23][24][25]. Consequently, many commercial or free software packages have been developed to deal with this vast domain of topics, for example, CUtrace [26]; OpenRayTrace [27]; OTSun project [28]; Ray Optics Module: an add-on to the COMSOL Multiphysics software [29]; Ray Optics Simulation [30]; Solstice Program [31]; SolTrace [32]; Stellar Software [33]; Tonatiuh [34]; Zemax' OpticStudio [35]. However, these general-purpose computer packages are more complex to use and less pedagogic than a simple computer program specifically designed from scratch to study a limited class of problems.…”