Ray Tracing in One Weekend
Intro
Link to GitHub: https://github.com/zackthomas1/RayTracingOneWeekend
First Image
The first step was to set up a way to write an image to file. This paper uses the PPM file format, which I also used in my last ray tracing project. PPM is a really convent format to write to since all you have to do is write out a integer value from 0-256 for each pixel’s RGB. A down side is that the file size is relatively large.
Vector Class
Rays, Camera, and Background
First Sphere
Surface Normals and Multiple Objects
Antialiasing
Lambertian Diffuse Material
Metals
Dielectrics aka Glass and Other Transparent Material
Movable Camera
Defocus
Final Render