Skip to content

Basic C++ ray tracing program based on book series by Peter Shirley

Notifications You must be signed in to change notification settings

allenvox/ray-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Ray Tracer

GitHub last commit

Build: cmake --preset release && cmake --build --preset release
Run: build/release/bin/raytracer > image.ppm

Example images:

Final scene with focus distance & camera positioning (commit)

10

Hollow glass sphere (left) (commit)

9

Fuzzed metal material on center (fuzz 0.3) & left spheres (fuzz 1.0) (commit)

8

Metal & Lambertian sphere materials (commit)

7

Diffuse sphere with no shadow acne (commit)

6

Diffuse sphere (commit)

5

Sphere with antialiasing (commit)

4

Gradient sphere in a world with ground & sky (commit)

3

Simple sky (commit)

2

Simple gradients (commit)

1