Skip to content

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

Notifications You must be signed in to change notification settings

Rabbid76/PyGameRayTracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages