/traycer

Ray tracing, from scratch, in C++

Primary LanguageC++MIT LicenseMIT

traycer

My own ray tracing implementation, based on Peter Shirley's Ray Tracing in One Weekend book.

Build & run

    $ make && ./traycer > test.ppm && open test.ppm

Examples

Metal

Metal example

Dielectric (glass)

Dielectric example

Movable camera

Movable camera example

Depth of field

Depth of field example

Lighting

Lighting example