A very slow toy ray-casting renderer.
The iconic Utah Teapot
rendered with the code and starting from the data contained in https://github.com/alessandro-gentilini/ray_casting/blob/master/triangles.txt and in https://github.com/alessandro-gentilini/ray_casting/blob/master/vertices.txt, the output is https://github.com/alessandro-gentilini/ray_casting/blob/master/teapot.ppm which I normalized with GIMP to get this image:
There should be a bug somewhere: that white central rectangles are suspicious...