No Description

Godzil 0369bee306 It is christmas time! 4 years ago
external 9fffb68026 Remove nanogui dependencies for now. If the need of a gui come, will add back but for now it just add unnecessary checkout time 4 years ago
output 0369bee306 It is christmas time! 4 years ago
source ed347e304d Quick (and dirty) change to be able to use OpenMP for rendering. 4 years ago
tests 0369bee306 It is christmas time! 4 years ago
.gitignore e2643d677d Update .gitignore 4 years ago
.gitmodules 9fffb68026 Remove nanogui dependencies for now. If the need of a gui come, will add back but for now it just add unnecessary checkout time 4 years ago
.travis.yml 9e1f448e0f testS.... 4 years ago
CMakeLists.txt d1965caf8d Add an option to run coverage locally 4 years ago
COPYING a8ca88640b Add GPLv2 strict license 4 years ago
LICENSE a8ca88640b Add GPLv2 strict license 4 years ago
README.md 0369bee306 It is christmas time! 4 years ago

README.md

codecov Codacy Badge Coverage Status Build Status

DoRayMe

A Quick and dirty raytracer.

This raytracer is made following the book «The Ray Tracer Challenge» by Jamis Buck.

It is writen in C++ with no STL and use LodePNG to output PNG file.

Examples outputs

From chapter 05 - Sphere intersections:

Chapter 5 rendering test

From Chapter 06 - Phong shading:

Chapter 6 rendering test

From Chapter 07 - World / Camera / Scenes:

Chapter 7 rendering test

From Chapter 08 - Shadows:

Chapter 8 rendering test

From Chapter 09 - Planes:

Chapter 9 rendering test

From Chapter 10 - Patterns:

Chapter 10 rendering test

From Chapter 11 - Reflections, Transparency & Refractions

Chapter 11 reflections rendering test

Chapter 11 refraction rendering test

Chapter 11 rendering test

From Chapter 12 - Cubes:

Chapter 12 rendering test

From Chapter 13 - Cylinders:

Chapter 13 rendering test Bonus: Chapter 13 cone test

From Chapter 14 - Groups & Bounding boxes Chapter 14 rendering test

Bonus (from the forum): Christmas ball (about 7min render time using OpenMP on a 2.6Ghz Core i7 3720QM)