Light Field Rendering

Click on the Load button to load the Light Field(Place the LFScript.txt in the same folder as the exe)




Focus: Moving the Focus slider from left to right will change the focus of the virtual camera from background to foreground.


Focus on the computer monitor in the background.


Focus on the pumpkin in the foreground.

Aperture: Moving the aperture slider from left to right simulates the increase in the aperture of the virtual camera.


Increase in the aperture while focus on the monitor.




Increase in the aperture while focus is on the guitar.

Z-Motion: Moving the Z-motion slider up simulates translation of virtual camera forward and moving it down simulates translation of virtual camera backward.


Camera translated forward.




Camera translated backward.



XY-Translation: Holding the mouse left button down and moving the pointer over the image window simulates translation of virtual camera in X&Y directions.


Virtual camera position near the bottom left corner.


Virtual camera position near the top right corner.

(Note: The Rendering is quite slow when the Z-position is not equal to 0)

Source & Executable