Skip to content

Ray

The way we construct a ray is to first have an origin vector,1 then get a unit vector1 for direction.
Then we scale it by \(t\) amount, hence making a ray.

\[\vec R(t) = \vec A + t\vec b\]

Here \(\vec A\) is the origin vector1 and \(\vec b\) is the unit vector.
Proj_raytracing_ray_diagram.svg

graphical representation of a ray

References


  1. Read more about vectors