This is a simple raytracer created by MattFor, inspired by the guide Ray Tracing in One Weekend.
To generate an output image, follow these steps:
-
Navigate to the project directory in PowerShell.
-
Use the following command:
.\cmake-build-debug\RayTracer.exe | Out-File -FilePath "../image_result.ppm" -Encoding ASCII
-
Open the resulting file (
image_result.ppm
) using an image viewer such as XnView.
I'll be working with the other RayTracing in a ... guides to make this program better!
This project was inspired by Ray Tracing in One Weekend.