Cinematic Effects with Kinect
Following on from experiments with generative portraits using Kinect v1, I began to explore the application of various cinematic effects to the captured images. Primarily these have been dynamic lighting and depth of field. Depth of field (DOF) can produce a beautifully vivid quality, softening and blurring areas outside of the focal point.
These rough experiments were all created using openFrameworks and a Kinect. They use a mixture of (openGL) lighting to add more depth to the scene and a GLSL shader to produce the DOF effect. The shader was adapted from a DOF/bokeh shader posted by Martins Upitis here. The DOF can be manipulated in realtime by altering the focus and the 'aperture' via a simple GUI to produce a larger or smaller DOF. I'm just rendering the (triangle strip) mesh at the moment simply because it looks better/more interesting than rendering planes.
Everything runs in realtime...