RAY TRACING
WHAT YOU LOOK ????
CONCLUSIONS OF THE PICTURES
DEFINITION
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.
DIAGRAM OF RAY TRACING
EXPLANATION
Firstly The objects are stored in the sorted order.
For each pixel construct a ray that starts from
the eye through lower left corner and upper
right corner.
EXPLANATION
Each object in the picture is determined
whether the ray intersected or not.
If the ray intersects any objects in the scene it is
noted as Hit Time.
When all the objects have been tested the
smallest Hit Time is noted and that’s the closest
object to the user view.
EXPLANATION
Finally the colour of the object is noted down
from the presence of the light.
BASIC RAY TRACING ALGORITHM
HOW TO DETERMINE OBJECT COLOUR
WHERE IS THE OBJECT???
WHERE IS THE OBJECT???
RAY TRACING IN A SPHERE

Ray Tracing in Computer Graphics