Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Ray casting is
the use of ray-surface intersection tests to solve a variety of problems
in computer graphics. The term was first used in computer graphics in a
1982 paper by Scott Roth to describe a method for rendering CSG models.
Although "ray casting" and "ray tracing" were often used interchangeably
in early computer graphics literature, more recent usage tries to
distinguish the two. The distinction is merely that ray casting never
recursively traces secondary rays, whereas ray tracing may. Ray casting
is not a synonym for ray tracing, but can be thought of as an abridged,
and significantly faster, version of the ray tracing algorithm. Both are
image order algorithms used in computer graphics to render three
dimensional scenes to two dimensional screens by following rays of light
from the eye of the observer to a light source. Ray casting does not
compute the new direction a ray of light might take after intersecting a
surface on its way from the eye to the source of light.