Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 924 Bytes

File metadata and controls

17 lines (11 loc) · 924 Bytes

Python implementation of the book raytracing in one weekend by Peter Shirley. To improve rendertimes I added multiprocessing as well, so the render takes advantage of the full processing capability. The final scene rendered by my project looks like this:

The raytracer is simply started by calling:

>>> python3 main.py

from the raytracing in a weekend folder. The book "raytracing the next week" is also implemented here in python in a seperate folder named "raytracing_the_next_week". World 5 for example renders a sphere, which will be lighted by a rectangle.

Finally the famous Cornellbox is implemented withhin world 6