This software renders a canvas image in a 3D space by using a depth map. It also includes some cool animations and camera traveling.
See some axamples in A Deep Look Inside Paintings.
A focal projection locates the points (pixels) in the 3D space according to:
focal: distance from the camera to the canvas.
extrusion: separation factor applied to the canvas depth range.
High focal values converge the projection to a parallel projection.
This repository does not contain audio files, neither images or depth maps.
Be sure to add your own sources in
/bin/data and call them properly in
Awesome depth maps can be generated with MegaDepth.
Comment the macros
LEAP_MOTION_ON to disable undesired functionalities.
After launching the app, type
h for a complete list of key-stroke actions.
Rafael Redondo (c) 2019.