Skip to content

peter-ikin/PyRayTraceChallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyRayTraceChallenge

Python implementation of the "The Ray Tracer Challenge" book by Jamis Buck.

About

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

Building and running.

BDD Tests

Running the tests requires executing the behave command from the cli i.e.

foo@bar:~$ behave

Implemented Chapters

  • 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

About

Python implementation of the ray tracer challenge book

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published