설명 없음

Manoël Trapier 4f2e327533 Update for a proper testing size and don’t get a timeout 4 년 전
external e57b5715e8 Smooth triangles! And support for them in the OBJ File parser. 4 년 전
output 57eff4830e Sample scene for CSG \o/ 4 년 전
samplescenes 3a2d21b787 Starting to work on the World Optimiser sequence. 4 년 전
source c858b4dcde A new scene and some optimisations. 4 년 전
tests 4f2e327533 Update for a proper testing size and don’t get a timeout 4 년 전
.gitignore e2643d677d Update .gitignore 4 년 전
.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 년 전
.travis.yml 73012b6dd1 We need to run testMyRays in the test folder as it now depends on some files that need to be in the work directory. 4 년 전
CMakeLists.txt 5c6a5afef6 Add support for NanoJPEG to load jpeg files 4 년 전
COPYING a8ca88640b Add GPLv2 strict license 4 년 전
LICENSE a8ca88640b Add GPLv2 strict license 4 년 전
README.md 57eff4830e Sample scene for CSG \o/ 4 년 전

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 and use them as texture, also use NanoJPEG to use jpeg file as texture, and can use use Lua 5.3 for 3D pattern definition and more to come on the Lua side later..

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

Bonus: Zooming on a reflective ball:

Chapter 11 zooming on a ball

Zooming on a reflection on that ball:

Chapter 11 zooming on a reflection

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

From Chapter 15 - Triangles, Wavefrom OBJ files - Smooth trianges:

Chapter 15 Triangles and teapots

From Chapter 16 - Constructive Solid Geomety:

Chapter 16 CSG

Bonus (from the forum):

Merry Christmas Merry Christmas (about 1min render time using OpenMP on a 2.6Ghz Core i7 3720QM)

Bonus chapter - Soft shadow / Area light

Without jitter:

Area light without jitter

With jitter:

Area light witht jitter

Bonus chapter - Texture mapping

Spherical mapping:

Spherical mapping

######Planar mapping: Planar mapping

Cylindrical mapping:

Cylindrical mapping

Aligncheck plane:

Aligncheck plane

Cubical mapping:

Cubical mapping

Image mapping:

Image mapping

Skybox:

Skybox