You may think that over the last few days I have miraculously written a complete raytracer that actually works. But in reality that isn't the case. I was prepared to write it from scratch but raytracers are by nature complicated pieces of software. It seems there are many samples of raytracers available, though. However, they are nearly all written in C++ which doesn't fit my needs for a working raytracer for AROS.
Mini-Ray was one such simplistic C++ version of raytracer that contained everything in one module - "raytracer.cpp". I've been looking at that code wondering first how to convert it to C code, then how to expand it to actually render polygon meshes with lots of triangles. Yesterday I discovered a simple raytracer written in C code that seemed to have all the qualities needed.
But there is still plenty of hard work to do to make it into a nice AROS-friendly graphics application. It needs to run from Workbench and it needs a menu system and much more.