Skip to content

Repository files navigation

profile for Rabbid76 on Stack Exchange, a network of free, community-driven Q&A sites

PyGame Ray Tracing

“Note that I avoid most “modern features” of C++, but inheritance and operator overloading are too useful for ray tracers to pass on.”
Peter Shirley, Ray Tracing in One Weekend

Based on Peter Shirley's books:

Implemented in Python 3.7 with PyGame library.

Ray Tracing in One Weekend

Materials: Diffuse, Metal, Dielectrics

materials

Defocus Blur

defocus blur

Cover scene

rendering process

final

Ray Tracing: the Next Week

Motion Blur

motion blur 1

motion blur 3

motion blur 4

Noise Texture

noise texture marble


Recommended

About

PyGame ray trace based on Peter Shirley's book Ray Tracing in One Weekend (Ray Tracing Minibooks Book 1)

Topics

Resources

Stars

18 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages