Windows edition of BC-RayTracer
-
First, clone this repo.
git clone https://github.com/NUISTGY/RayTracer-in-C.git
-
Using g++ command with O3 optimization which is necessary.
g++ -O3 Raytracer.cpp -o a.out
-
Then, Redirect to .ppm format.
a.out > output.ppm
-
Run show.py to view the output image: