Python implementation of the "The Ray Tracer Challenge" book by Jamis Buck.
This is my implementation of the ray tracer challenge book. The code is written in standard Python3 ( no math libraries etc. are used.) The BDD tests as described in the book are implemented with Behave
Running the tests requires executing the behave command from the cli i.e.
foo@bar:~$ behave
- Chapter 1 - Tuples, Points, and Vectors
- Chapter 2 - Drawing on a Canvas
- Chapter 3 - Matrices
- Chapter 4 - Matrix Transformations
- Chapter 5 - Ray-Sphere Intersections
- Chapter 6 - Light and Shading
- Chapter 7 - Making a Scene
- Chapter 8 - Shadows
- Chapter 9 - Planes
- Chapter 10 - Patterns
- Chapter 11 - Reflection and Refraction
- Chapter 12 - Cubes
- Chapter 13 - Cylinders
- Chapter 14 - Groups
- Chapter 15 - Triangles
- Chapter 16 - Constructive Solid Geometry (CSG)
- Chapter 17 - Next Steps
- Appendix 1 - Rendering the Cover Image