Skip to content
This software renders a canvas image in a 3D space by using a depth map.
C++ Makefile QML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DepthPainter.xcodeproj
src
.gitignore
DepthPainter.qbs
Makefile
Project.xcconfig
README.md
addons.make
config.make
licence.md
meninas_depth.jpg
openFrameworks-Info.plist

README.md

Depth Painter

This software renders a canvas image in a 3D space by using a depth map. It also includes some cool animations and camera traveling.

Meninas

See some axamples in A Deep Look Inside Paintings.

Dependencies

It uses OpenFrameworks and optionally ofxLeapMotion to navigate through.

Camera projection

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.

Sources

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 setupAudio() and loadExample(). Awesome depth maps can be generated with MegaDepth.

Notes

Comment the macros SOUND_ON, ANIMATIONS_ON, 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.

You can’t perform that action at this time.