Basic raytracer written in C++.
I'm using this project as an excuse to learn the language, so you'll find things that aren't really necessary but did for the learning experience :)
I'm using PPM format for images just for semplicity. Will improve everything with time!
I found this video that explains some things about rgb colors, just click the image below!
It's good if you wanna learn something, otherwise just add everything together :)
- Get the base done and working
- Threads and optimization
- GUI like the guy in the list of resources, maybe using ImGui
- Adding support for
.obj
files
Am I going to far? Only time will tell...
Just a list for reference.
Raytracing:
- Ray Tracing in a Weekend, written in C++
- Introduction to Ray Tracing: a Simple Method for Creating 3D Images
- An Overview of the Ray-Tracing Rendering Technique
- Building a raytracer in Python, YT playlist
- This guy started slow and then went crazy with GUI and threads
C++: