Ref:- https://raytracing.github.io/books/RayTracingInOneWeekend.html#overview
Build cmd:
g++ -Wall -std=c++20 .\main.cpp
Run cmd:
.\a.exe > image.ppm
View ppm on : https://www.cs.rhodes.edu/welshc/COMP141_F16/ppmReader.html or if you have gnome then
loupe image.ppm
render time: ~ 1 hour