Homework 1 Light Field Renderer.
The code was written in objective-c using the Cocoa API (Mac). I have supplied
two versions online. I separated the work on the quadralinear since it produces
similar results to the gaussian, but was easier to keep separate from the main
code then to try to combine it together. The bulk of the work was using the
gaussian blending.
The code is capable of loading the light field images. It can use the focal slider
to change focus as well as the aperture slider to set the image to use 4, 16, or 36
cameras. The Z-Slider is not functional. No matter how much I tried I could not seem
to figure out how to get that working. The Best results I got created a box-like effect
for each camera. My mapping methods did not seem to work.
I definately saw better results with the gaussian then with the quadralinear interpolation.
It was pretty cool to see the theory behind the image cube come to life with code.
The biggest obsticles was the fact that I had never had to write a GUI program before, and trying
to find an API I could write in with limited resources was a challenge.
Overall, I worked a very long time on this and am pleased with the results. I am sad I couldn't get
the Z-shifting working correctly.