I somehow got the idea to make a real time ray tracer, and it turns out it?¢_Ts one of the most fun things to write, you implement everything yourself and there?¢_Ts actually very little code. Right now it doe's Phong shading, shadows, reflections and sphere and plane primitives. Planning to (eventually) add texturing, more primitives, normal displacement and CSG.


Move about with FPS'ish controls, press L to see how adaptive sampling acts. You'll need a lot of CPU power.
http://legion.gibbering.net/paulius/RaytraceV01.zip