https://raytracing.github.io/books/RayTracingInOneWeekend.html
This is still very much a work in progress, but I am trying to recreate the code in "Ray Tracing in One Weekend" 100% in Python.
Chapters in "Ray Tracing In One Weekend":
- Output an Image
- The Vector3 Class
- Rays, a Simple Camera, and Background
- Adding a Sphere
- Surface Normals and Multiple Objects
- Moving Camera Code Into Its Own Class
- Antialiasing
- Diffuse Materials
- Metal
- Dielectrics
- Positionable Camera
- Defocus Blur
- Where Next?
I have came to the conclusion that Python is definitely not the right language to write a ray-tracer in. It is way too slow, and I have started learning C++. Will remake this in C++ to make this exponentially faster.