This is an attempt to make a cross platform Ray Tracer(without hardware acceleartion)
Need cmake version atleast 3.5. To check cmake version do
cmake --version
Just clone the repo with
git clone https://github.com/kinochi/Ray-Tracer
To make an out of source build
cd Ray-Tracer
mkdir build
cd build
cmake ..
make
Now there will be a executable called raytracer in build/driver
To get a rendered image out of it simply execute this binary and transfer its output into another image file
./raytracer > output.ppm