![]() |
|
|
Raytracer- Completed ![]() This is another project for computer graphics class. I wrote a raytracer to trace with diffuse lighting, shadows, and reflections. For my own sanity I optimized the tracer using hierarchical bounding spheres. With 2 light sources and 5 reflection bounces, this entire scene takes ~24 seconds to render on my linux vm (yes, I use linux through a virtual machine and no, it isn't too slow). I could have probably optimized it considerably more by adjusting the hierarchy tree, but we weren't graded on speed. For those wondering, the scene is from the standard procedural databases and can be downloaded here: http://www1.acm.org/pubs/tog/resources/SPD/ Language(s): C++ Development Time: Three weeks Download: none |