pierrep / lpmt

Rewrite of the Little Projection Mapping Tool (http://projection-mapping.org/tools/lpmt/)
GNU General Public License v3.0
55 stars 4 forks source link

map part of video onto surface #9

Open yiids opened 2 years ago

yiids commented 2 years ago

Hi, In the new features you mention: Added the ability to map different parts of a shared video to different quads. I understand this as the typical thing you do when you do projection mapping, that you select a part of the video, and that becomes your surface. Is that correct? I can not for the life of me figure out how to do it :) is there another hotkey for it that is not in the help menu yet perhaps? Or am I missing something in the gui? Thanks in advance

pierrep commented 2 years ago

It's a total hack to be honest, and only works for quads that have perpendicular corners, so if you warp a quad in any angled way it'll not work properly.

The way you set it up is through a shared video. Load a shared video (in the General Settings tab), then on a quad (or multiple quads) click on Shared Video on/off and Shared Video Tiling. Move the quad around and it will use the shared video as its background.

For a proper implementation of this functionality, I would suggest ofxPiMapper (which works not just on RPI). I have a fork that adds some extra functionality - https://github.com/pierrep/ofxPiMapper