+ Hey there!
This is my implementation of a simple Ray Tracer. There is a lot of space for more features but the purpose of this project was to make my first steps in a Ray Tracer and to leave a base-template to create a more complex one in the future.
-
Movable Camera.
-
MSAA (Multisampling Antialiasing).
-
Materials: Dielectric, Diffuse and Metal.
-
Surface: Sphere.
-
Depth of field.
-
Output file format: PPM
-
All the parameters of the features can be changed in the config.h file.
Left image without MSAA - Right image with MSAA(# of samples = 100)
VFO: 30, Aperture Size: 0.3
- Linux
- C++ 17
- GLM
- g++
- CMake >= 3.91
- https://raytracing.github.io/books/RayTracingInOneWeekend.html
- https://viclw17.github.io/writing.html
$ git clone https://github.com/SaferGo/Simple-Ray-Tracer.git
$ cd Simple-Ray-Tracer
$ bash run.sh
You can find the img file in the output folder.