BenoitMorel / RayTracer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++ ray tracer implementation, parallelized with the thread library. The code is partly inspired from https://raytracing.github.io/

Diffuse materials, 1200 * 800 pixels, 200 rays per pixel:

alt text

Diffuse and reflecting materials, 2000 * 1300 pixels, 100 rays per pixel:

alt text

More spheres (3000) thanks to BVH structure, 1200 * 800 pixels, 100 rays per pixel:

alt text

Rectangular mirror reflecting 300 spheres, 2000 * 1300 pixels, 100 rays per pixel:

alt text

Adding quads, parallelepipeds, and fuzzed reflection. Adding light sources. 1200 * 1200 pixels, 500 rays per pixel:

alt text

About


Languages

Language:C++ 99.3%Language:CMake 0.7%