Simple Ray Tracer
One of the most talked topics in the gaming community nowadays is ray tracing and how it is being used little by little in recent games to bring a greater graphic fidelity. I found about “Ray Tracing In One Weekend”, a fantastic tutorial from Peter Shirley to understand a little better what ray tracing is about.
I also thought it was a good opportunity to learn about renderers and what they do at a low level.
- Followed the tutorial step by step to implement the algorithm, adapting it to my needs and understanding what it was being done.
- Extended the ray tracer to detect hits to triangles in order to trace meshes.
- Created a simple FBX format parser to get vertices and indices from models dynamically.