PBRTv4

Here is short description how PBRTv4 can be build on your local system:

git clone --recursive https://github.com/mmp/pbrt-v4.git
cd pbrt-v4
mkdir build
cd build
cmake ..
cmake --build .

echo 'LookAt 0 0 10 0 0 0 0 1 0
Camera "perspective" "float fov" [45]

Film "image" "integer xresolution" [800] "integer yresolution" [600] "string filename" "output.png"

Sampler "random"

Integrator "whitted" "integer maxdepth" [5]

WorldBegin

LightSource "point" "point from" [10 10 10] "rgb I" [1 1 1]

Material "matte" "rgb Kd" [0.8 0.8 0.8]
Shape "sphere" "float radius" [2] "point3f p" [0 0 0]

Material "glass" "rgb Kr" [1 1 1] "rgb Kt" [1 1 1] "float index" [1.5]
Shape "sphere" "float radius" [1] "point3f p" [-3 0 0]

Material "matte" "rgb Kd" [0.5 0.5 0.5]
Shape "trianglemesh" "point3f P" [-10 -10 0 10 -10 0 -10 10 0 10 10 0] "integer indices" [0 1 2 1 3 2]

WorldEnd' > scene.pbrt