Commented a lot of code and simplified view_pixel() and rayhit(). Managed to output the first image (but only to the framebuffer).
http://img99.imageshack.us/img99/1521/silhouettezu3.jpg
And this is the RT output:
Commented a lot of code and simplified view_pixel() and rayhit(). Managed to output the first image (but only to the framebuffer).
http://img99.imageshack.us/img99/1521/silhouettezu3.jpg
And this is the RT output: