a little proj-map tool for use in our office, my first code ever with C++ and OF.
It’s based on quad warping math gently provided on this forum.
thanks to people on this forum that provided code snippets, tips and examples.
UPDATE: I've set-up a simple web site for this little tool at
http://www.hv-a.com/lpmt
where you can find the latest news and the more recent code.
NEW 14/03/11: on the lpmt site we've added a first experimental binary build for Microsoft Windows.Main features:
- up to 36 independent projection surfaces
- possible content: solid color, images, video, live-cam, slideshows, smoothly changing solid colors, and more …
- customizable green-screen (chromakey) for video and live-cam sources
- horizontal and vertical flipping for image, video and live-cam content
- independent opacity settings for each content element
- customizable tint for each content element
- several blending-modes for projection surfaces
-
on-screen editable masks-
bezier-warping for projection on curved surfaces-
synced multi-projectors shows with adjustable edge-blending-
control and setup through a rich set of OSC messages- customizable video speed and volume
- save/load project set to/from xml file
- syncronized start for video elements
- vertex snap function for adjacent quads
- customizable image background for rough positioning of projection surfaces
- customizable speed for slideshows and color transitions



source code:
up-to-date code (git repository):
http://gitorious.org/projection-mappingfor the github fans, the repository is mirrored here:
https://github.com/hvfrancesco/ProjectionMappingnot often updated zip file:
http://www.hv-a.com/projectTiles/projection-mapping.zipkey commands
’s' – saves settings to xml (projection_settings.xml in data folder)
‘l’ – loads settings from xml file
‘a’ – adds new quad
‘>’ – go to next quad
‘<’ – go to previous quad
'+' - raise active quad position in layers pile
'-' - lower active quad position in layers pile
‘z’ – selects first gui page for active quad settings
‘x’ – selects second gui page for active quad settings
‘c’ – selects gui page for active quad corner position fine-tuning
‘q’ – fills window with active quad
‘spacebar’ – toggles projection/setup modes
‘g’ – toggles gui (for quad warping with mouse gui must be switched off)
‘f’ – toggles fullscreen mode
‘w’ – toggles cam snapshot window background
‘r’ – resyncs all videos and slideshows in all quads to starting point
‘1’ – shows general settings page of gui