Ray casting is a process that is helpful in identifying and solving a wide range of problems associated with graphics. Sometimes confused with the process of ray tracing, ray casting does perform some of the same functions and usually is able to move with greater speed than current raytracing protocols. The development of the first ray casting algorithm is usually traced back to 1968 and the work of Arthur Appel.
Somewhat more focused in scope than ray tracing, ray casting makes it possible to take 3D images and render them effectively to two-dimensional screens. This is accomplished by tracking the rays of light that trace a direct path from the eye to some source of light. However, ray casting discounts the influence of any element that may intersect that path between the eye and the light source, although the effect of these elements at the point of termination does come into play. Typical influences would be refraction, reflection and shadowing.
One of the easiest ways to understand how ray casting works is to think of light emitting from the eye and continuing on in a straight line until being blocked by some object. A portion of the light will stop or be absorbed by the object. Another portion of the light may be reflected by the object in several different directions. Any remaining portion is refracted by the object. Ray casting seeks to identify what percentage of the ray or light is devoted to each of these three possibilities, so that the ray or light is fully accounted for.
The newer technology of ray casting had an impact on the world of animation in very short order. Because of how this process constructs images, ray casting made it possible to design animation for movies and television shows that were of a depth and detail not easily accomplished by other methods. By the middle of the 1980’s, ray casting had become a common tool in many animation studios.
Along with the impact on movies and television, ray casting also aided in the evolution of video games. While the first attempts were somewhat primitive in the late 1970’s and early 1980’s, ray casting helped to add crisp and compelling graphics and 3D images to video games in the 1990’s. These high-resolution entertainment options continue to inform and inspire new video game designs as well as enhance the ability to use animation in movie and television productions.