A simple ray tracer I had a go at for learning purposes. I was surprised how easy it was, I followed a very good tutorial at www.scratchapixel.com for sphere tracing, and extended it to triangles.I could load my game model files, and also wrote a dodgy radiosity module for generating lightmaps.
Advertisement