
Description
I've been working on this little Javascript Raytracer for quite some time. My goal was real-time, knowing that I would likely not succeed, but you have to aim high sometimes. The raytracer now supports spheres, boxes(not rotated...) one plane, a sunlight, point-lights, reflection, anti-aliasing and not much more :). I use very weird techniques to achieve speed-ups, have not implemented any well known methods at all I believe. I tried adding a sort of tree structure but this really hammered the performance, so it was removed again. Possibly the tree only makes sense when scene complexity increases.
Real-time remains fictional, but I have managed to create a preview thats kind of fun. Using the mouse buttons and wheel you can navigate around the scene fairly easily with a low resolution preview to find the spot you would like to render. give it a shot :)
Don't use Internet Explorer, it really won't work... Chrome works best.
http://jsray.user2dev.com












