Some examples of ray tracing with sfrays2 are in gti/timec/paul. See also sfcell2 and sfshoot2.