Skip to content

My C++ source code for Ray Tracing book series by Peter Shirley

Notifications You must be signed in to change notification settings

DanielDFY/PeterShirleyRayTracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peter Shirley Ray Tracing

My C++ source code for ray tracing book series by Peter Shirley.

The image format used in these books is .ppm. If you prefer other formats, I put stb libraries in this repository as a submodule under include/stb.

In each main.cpp file, I provide both the code to produce .ppm image and the code to produce .png image, wrapped by macro PPM and PNG respectively. You can enable/disable each type of output by define/remove its corresponding macro at the beginning of the file.

In One Weekend

InOneWeekendCover

About

My C++ source code for Ray Tracing book series by Peter Shirley

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages