Hi all,
OpticStudio can output relative illumination very quickly and accurately from the perspective of the exit pupil's rays, but if you would like to control the relative illumination of a lens system without over-constraining the system, you may be interested to know what else is being optimized as you target relative illumination in the merit function. For example, things to impact relative illumination include image distortion, differential distortion, and the size of the entrance pupil. Here's one way to do it: https://doi.org/10.6084/m9.figshare.13488891
Cheers,
~ Ronian