Ray tracing Flashcards
Define Ray tracing
It is a technique for generating an image by tracing the
path of the light in an image plane and simulating the
effects of the encounters.
Each picture is determined by what
Ray intersection
If the ray intersects any objects in the scene
it is noted as
Hit Time
When all the objects have been tested the
___________ Hit Time is noted and that’s the
the closest object to the user view
smallest
give the algorithm of ray tracing
for every pixel construct a ray from the eye from every object in the scene find intersection of the ray keep if closest
when the minimum time is infinity what is the pixel color or
else
pixel color=Background color
or else
pixel color=color of the object along the ray
what are the parameters of the position of the object?
t near
t far
Ray tracing in a sphere
D<0 no intersection
D>0 two solutions enter and exit
D=0 one solution ray grazes sphere