Ivan Belyavtsev
04.02.2022
\[ray(t)=\vec{origin}+t*\hat{direction}\]
\[t>0\]
[4]
Ray generation method generates primary rays (camera rays) and call Trace ray to evaluate the final color of each trace.
[5]
Miss shader is called when Trace ray haven’t found any intersection
[4]
Miss sharer is used to generate a scene without geometry. Could be pure color, sky, terrain, etc
by Morgan McGuire
set_render_target
, set_viewport
, and clear_render_target
methods of raytracer
classrender_target
, camera
, and raytracer
in ray_tracing_renderer
classray_generation
and trace_ray
method of raytracer
classmiss_shader
, image clearing, calling ray_generation
, and saving in ray_tracing_renderer
class