Introduction to Ray Tracing: a Simple Method for Creating 3D Images (Implementing the Raytracing Algorithm)
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
- The Raytracing Algorithm in a Nutshellscratchapixel.com
- Ray Tracing in One Weekendraytracing.github.io
- Lights and Shadows – Bartosz Ciechanowskiciechanow.ski
- Creating Daylight | The Shadows | Blogbasement.studio
- Tristan's Site - Tristan Humethume.ca
- City In A Bottle – A 256 Byte Raycasting System – Killed By A Pixelfrankforce.com
- Visualizing Algorithmsbost.ocks.org
- Chapter 0: Fundamentals - ARENAlearn.arena.education
- MAKING SOFTWAREmakingsoftware.co
- On Rendering the Sky, Sunsets, and Planets - The Blog of Maxime Heckelblog.maximeheckel.com
- Chapter 0: Fundamentals - ARENAlearn.arena.education
- Shading - Wikipediaen.wikipedia.org