Skip to content

cinereal/pythonRaytracer

Repository files navigation

pythonRaytracer

Experimenting with ray tracing in python3.

I followed along with the three mini books about ray tracing by Peter Shirley. You can get the ebooks for free on In One Weekend. Ray Tracing in One Weekend / Ray Tracing: the Next Week / Ray Tracing: The Rest of Your Life

Instead of C++ I used Python3. Of course it's incredible slow but it's just for learning purposes.

If you are a TD or Lighting Artist with familiar with Python but not C++, this might give you an easier start than the C++ version in the book.

The code includes multiprocessing using max threads minus one. If you use a single core machine you have to change this.

To start the renderer you have to run main_next01.py

Test Render

About

Experimenting with ray tracing in python3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages