/OpenCV-bokeh

Using OpenCV to add a depth-of-field bokeh effect to 3D scenes rendered by OpenGL. Uses some optimizations and tricks such as dividing the Z-axis into slices that get coarser the further they are from focus, and some faux HDR by spreading very bight points more.

Primary LanguageC++

OpenCV-bokeh

Using OpenCV to add a depth-of-field bokeh effect to 3D scenes rendered by OpenGL. Uses some optimizations and tricks such as dividing the Z-axis into slices that get coarser the further they are from focus, and some faux HDR by spreading very bight points more.