Raytrace
Recently, I have been playing around a bit with some old ray tracing code, converting it to C# and making it threaded. I’m also using it to explore miscellaneous graphics and 3D concepts. Most recently I’ve implemented supersampling anti-aliasing. Here’s a recent render:
(Click through for full size).
It’s a little unclear, but it’s a number of perfectly reflective spheres hovering above a green plane, being imaged from above. There are several bounce iterations, two light sources, and full specular shading/shadows. Notice the non-jagged edges (indicating that the antialiasing is functioning as intended).
Here’s a closer view with some additional stochastic anti aliasing:
This entry was posted on Wednesday, March 17th, 2010 at 1:35 pm and is filed under Code. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.


Tom is a 23 year-old software engineer currently based in Auckland, New Zealand. This is his personal blog, and views do not reflect those of his employer. Click