Light field: Difference between revisions

No edit summary
Line 25: Line 25:
# For each pixel of the virtual camera, project to the (ST) camera plane and (XY) focus plane to get it's target camera position and world position.
# For each pixel of the virtual camera, project to the (ST) camera plane and (XY) focus plane to get it's target camera position and world position.
# For each pixel, sample from a single virtual camera, i.e. closes to the target camera position, to get the RGB value.
# For each pixel, sample from a single virtual camera, i.e. closes to the target camera position, to get the RGB value.
# You can also do bilinear interpolation along the ST plane and along the XY plane for a smoother/softer image.
# You can also do bilinear interpolation along the ST plane and along the XY plane resulting in a quadrilinear interpolation for a softer image.


===Variable Aperture Rendering===
===Variable Aperture Rendering===