A C++ RayTracer made following the Ray Tracing in One Weekend and Ray Tracing: The Next Week books, both avalible at https://raytracing.github.io/
- Anti-Aliasing
- Bounding-Volume Hierarchies
- Camera with adjustable position and attributes
- Checkered Texture
- Depth of Field
- Fog and Smoke
- Image Textures
- Lights
- Multiple Materials:
- Matte (Lambertian)
- Metal with adjustable level of reflectiveness
- Glass
- Multiple Object Shapes: Boxes and SPHERES!!
- Rotatable Objects
Import the .sln file using Visual Studio and build the program.
Then go to the output directory and click RTX.exe
and it will output a output.ppm
image file in the same directory.
You can also run it from the command line and give a different filename as the first argument to output to a different file.