sädejäljityksen
Sädejäljityksen, often translated as ray tracing, is a rendering technique used in computer graphics to generate images by simulating the path of light rays. It is known for its ability to produce highly realistic lighting effects such as reflections, refractions, and shadows. The process involves tracing the path of each individual light ray from the camera through the virtual scene. When a ray intersects an object, its behavior is determined by the object's material properties. For example, if the object is reflective, a new ray is spawned in the direction of reflection. If the object is transparent, a ray is spawned in the direction of refraction. These calculations are performed for every pixel on the screen, making ray tracing a computationally intensive process.
Historically, ray tracing was a complex and time-consuming technique, primarily used in offline rendering for films