http://sidneys77crlfslcr7zmj3msmxchgnxhrxlp3p3kbaswo7twchjnicid.onion/programming/2022/03/23/raytracing.html
Creating a new olc::PixelGameEngine Project Setting the Scene Add basic Shapes and a vector of shapes to render Add constants and a way to “Sample” single pixels Add some geometry types, enhance Shape and Sphere Add fog color and a way to sample rays Add intersection and sample methods to Shapes Rendering Shapes Implement ray-Sphere intersection Add perspective rendering and depth sorting Add a Plane Shape, and apply fog Prettying Up Add reflections Create and use a color3 type Add diffuse lighting Add...