Skip to content
jessegeensPublic

About

Simple CPP Raytracer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Raytracer

This project implements a very simple raytracer, following the book Raytracing in a weekend. It supports anti-aliasing and diffuse objects.

Here is a simple sample render:

image_basic

Diffuse:

image_diffuse

The raytracer also supports multiple materials: metals, dielectrics and lambertian materials:

image_dielectric_internal

Finally, it also supports defocus blur:

image_final_500

Images can be generated using:

 make && ./raytracer | pnmtojpeg > image.jpg

About

Simple CPP Raytracer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages