Algorithm of Basic Ray Tracing

State the algorithm of Basic Ray Tracing?

E

Expert

Verified

When a ray strikes a surface, it could generate up to three new kinds of rays: refraction, reflection, and shadow. A reflected ray goes on in the mirror-reflection direction from a shiny surface. It is then intersected by objects in the scene the nearest object it intersects is what will be observed in the reflection. Refraction rays traveling via transparent material work likewise, with the addition that a refractive ray could be exiting or entering a material. To further avoid tracing all rays in a scene, a shadow ray is employed to test if a surface is visible to a light. A ray strikes a surface at a few points. If the surface at this point faces a light, a ray (or to the computer, a line segment) is traced between this intersection point and the light. If any opaque object is found out in between the surface and the light, the surface is in shadow and therefore the light does not contribute to its shade. This new layer of ray computation added more realism to ray traced images.

   Related Questions in Computer Graphics

©TutorsGlobe All rights reserved 2022-2023.