We present a ray tracing code to compute integrated cosmological observables on the fly in AMR N-body
simulations. Unlike conventional ray tracing techniques, this code takes full advantage of the time and spatial
resolution attained by the N-body simulation by computing the integrals along the line of sight on a cell-by-cell
basis through the AMR simulation grid. Moreover, since it runs on the fly in the N-body run, our code can
produce maps of the desired observables without storing large (or any) amounts of data for post-processing, which
is a welcomed feature in light of upcoming large scale structure surveys that will require several mock ray tracing maps
to calibrate/validate analysis pipelines. This code, with its less conventional ray-tracing approach, can also be used in
cross-checks of the more conventional methods, which can be important in tests of theory systematics in preparation
for the upcoming observational missions.
The Ray-Ramses routines are currently implemented in the RAMSES N-body code and can and have already been used in cosmological analysis of weak lensing, SZ and ISW effects, in both GR and modified gravity cosmologies. In this talk, we will outline the main operations of the code, present a few validation tests and application to the study of weak-lensing with modified gravity, as well as pinpointing future developments and improvements of the current code implementation.