Saturday, May 21, 2011

JavaRay: Spot Lights

I've finally gathered enough time to starting writing some more JavaRay code, so I went ahead and finished the Spot Light implementation...

Here's a scene with two planes, a specular sphere, and 3 spot lights:

Here's the change-set:
https://github.com/mbolt35/javaray/commit/0a8722b67fbc0e259d952a9c139e8d93cd1d3e51

The project is coming along quite nicely and it hasn't lost it's "fun" quality yet, but I'm looking for some ways to optimize. If you have some suggestions, drop me a line!

Matt Bolt