flâneur — a map of the web's best reading

Introduction to Ray Tracing: a Simple Method for Creating 3D Images (Implementing the Raytracing Algorithm)

scratchapixel.com · 972 words · saved by 1 readers

Figure 1: we shoot a primary ray through the center of the pixel to check for a possible object intersection. When we find one we then cast a shadow ray to find out if the point is illuminated or in shadow.

Implementing the Raytracing Algorithm Reading time: 5 mins. Armed with an understanding of light-matter interactions, cameras and digital images, we are poised to construct our very first ray tracer. This chapter will delve into the heart of the ray-tracing algorithm, laying the groundwork for our exploration. However, it's important to note that what we develop here in this chapter won't yet be a complete, functioning program. For the moment, I invite you to trust in the learning process, understanding that the functions we mention without providing explicit code will be thoroughly explained

Explore this link on the map →

related reading