§. Raytracing in Java, Take 2

Tuesday, April 14 2009

After two days of intensive rewriting of my raycasting engine, I'm quite proud of the results but this is definitly not the end, just a milestone in my development. The time to fix the documentation and the unit tests. I attached a rendering with 35 spheres, one light point, ambient occlusion and a camera with depth of field (this is not obvious on this rendering). I shoot 767 rays per pixels, so, in total 161 070 000 rays on this image (in ~17 minutes on a single-core 1.2Ghz laptop)

occlusionandlight

My new code is heavily based on the excellent book ray tracing from the ground up by K. Suffern. I also have plenty of cool stuff like fisheye camera. Next steps? Soft shadows and area lighting.