mkirchner / traycer

Ray tracing, from scratch, in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Ray tracing, from scratch, in C++

License:MIT License


Languages

Language:C++ 95.9%Language:Makefile 2.9%Language:C 1.2%