Ray Tracing Algorithm - Recursive
Frequently, the basic ray tracing algorithm is termed as a "recursive" acquiring an outcome wherein a given process repeats itself an arbitrary number of times algorithm. Unlimited recursion is recursion which never ends. The ray tracing algorithm, moreover, is recursive, although it is finitely recursive. This is significant, since otherwise you would begin an image rendering and it would never end! The algorithm begins, as in ray casting, through shooting a ray from the eye and by the screen, finding all the objects which intersect the ray, and determining the nearest of such intersections.
It after that recourses or repeats itself through shooting more rays by the point of intersection to observe what objects are reflected at such point, what objects may be seen by the object at that point, that light sources are directly visible from such point, and so on. These extra rays are frequently termed as secondary rays to differentiate them from the original, primary ray. By an analysis of the above discussion we can say as we pay for the raised characteristics of ray tracing through a dramatic increase in time spent along with calculations of point of intersections along with both the primary rays as in ray casting and all secondary and shadow rays. Therefore achieving good picture quality is not a simple task, and it only acquires more expensive as you try to get more realism in your image. One more idea termed as Anti- aliasing is yet to be discussed, that plays a dominant role in achieving the goal of realism.