/ray_tracer_revised

This is a basic not optimized, multithreaded path tracer.

Primary LanguageC++

MostGenericRayTracerInExistance

This is a project I made for fun while revisiting some old projects, although I made a raytracer
in the past, I felt like it could be hugely improved.

This is a basic not optimized, multithreaded Path Tracer.
I also implemented a bounded volume hierarchy for faster ray-triangle intersection

TODO:
    - Add support for AVX512 for my Ryzen 9 7900X to crunch
    - Add support for camera movement
    - Make attenuation actually slightly more realistic

Some result

Config:

  • 8 rays per pixel
  • 6 ray bounces
  • 1000 iterations
Works with meshes

a

Showing the octree nodes using debug spheres:
a

Result with sRGB

a

Result without sRGB

a

This also has a UI mode where you can see the image update in real time: (The GIF software had some issues with some slight changes in frames, so some artifacts only appear in the GIF)

a

Created by Streanga Sarmis-Stefan