Fixed a CUDA bug that caused launch failures to occur randomly. The problem had to do with block-wise syncThreads, and not grid-wise sync threads
Rays are now adjusted so that they refect the camera parameters and have perspective now
Planes are now drawn on the screen
Added lights to the data hierarchy (but they do not currently get rendered)
Added shadows that work
Got shading working..mostly. Specular is doing some strange things right now and the plane doesn't appear to get darker in the distance
Fixed specular bug
Added proper memory deallocation and cleaned up some code
Fixed a shading bug where ambient lighting wouldn't get calculated if it was in the Shadows
Did some clean up and made appropriate paramters const references
Support is now added for non-uniform scaling matrices and rotations. Also now allows for command-line specifications of changing from phong to cook-torrance
Added reflections using a iterative method (in contrast to a recursive method). They're still a bit buggy unfortunately but they're mostly working
Reflections have been now completely fixed
Added triangles. There's some minor noise with what appears to be the triangle shading but otherwise they are working
Did some clean up on the extra files
Fixed a bug with shadows. The implementation can now handle geometric primitives that are concave (aka self-shadowing)
Changed the reflection calculations to uses a faked recursion (templated recursion). Tested and working
Refractions aren't working but I fixed a problem that caused the bugged refraction to be noisy
Refractions are working and smooth triangles have been added
Fixed a small shadow bug