pierrep / lpmt Goto Github PK
View Code? Open in Web Editor NEWRewrite of the Little Projection Mapping Tool (http://projection-mapping.org/tools/lpmt/)
License: GNU General Public License v3.0
Rewrite of the Little Projection Mapping Tool (http://projection-mapping.org/tools/lpmt/)
License: GNU General Public License v3.0
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
Thanks for keeping LPMT alive!
Just tried to compile on my Linux machine with OF_0.11.0 , but stuck on following error:
/opt/OF/libs/openFrameworks/events/ofEvent.h: In constructor ‘of::priv::StdFunctionId::StdFunctionId()’:
/opt/OF/libs/openFrameworks/events/ofEvent.h:54:7: error: expected unqualified-id before ‘=’ token
id = nextId++;
^
Here to compiling log:
https://gist.github.com/magdesign/32bad3bcca4780ff2f9d6cdb522c5994
Any help welcome!
Hi.
Im getting build errors. Im on debian 10. I downloaded openframeworks and place lpmt in the apps/myapps folder.
errors:
In file included from /home/y/src/visuals/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/ofMain.h:65,
from /home/y/src/visuals/of_v0.11.0_linux64gcc6_release/apps/myApps/lpmt/src/main.cpp:1:
/home/y/src/visuals/of_v0.11.0_linux64gcc6_release/libs/openFrameworks/graphics/ofCairoRenderer.h:4:10: fatal error: cairo.h: No such file or directory
#include "cairo.h"
^~~~~~~~~
compilation terminated.
make[1]: *** [/home/y/src/visuals/of_v0.11.0_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:217: obj/linux64/Release/src/main.o] Error 1
make[1]: Leaving directory '/home/y/src/visuals/of_v0.11.0_linux64gcc6_release/apps/myApps/lpmt'
make: *** [/home/y/src/visuals/of_v0.11.0_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
I have libcairo installed:
ii libcairo2:amd64 1.16.0-4 amd64 Cairo 2D vector graphics library
if I do the same on openframeworks 0.10 it does build.
Just a contribution for the readme:
Install instructions
cd into /OF/addons/
folder and install following addons:
git clone https://github.com/danomatika/ofxMidi.git
git clone https://github.com/YCAMInterlab/ofxTimecode.git
git clone https://github.com/arturoc/ofxTween.git
on your system also install gobjc++ :
sudo apt-get install gobjc++
cd into /OF/apps
folder and execute:
git clone https://github.com/pierrep/lpmt.git
cd into lpmt
folder and build with:
make
Hey,
I’m stuck at compilation state with a :
fatal error: ofxMostPixelsEver.h: Aucun fichier ou dossier de ce type
#include "ofxMostPixelsEver.h"
Is there an appimage or something precompiled somwhere ?
thanks :)
When I compile the source code, it will produce an access rights conflict in the xtree file, the function name is
"template
_Nodeptr _Lbound(const _Other& _Keyval) const
{ // find leftmost node not less than _Keyval
_Nodeptr _Wherenode = this->_Get_data()._Myhead; // end() if search fails
_Nodeptr _Pnode = _Wherenode->_Parent;
}
"
the error information is :
_Wherenode is nullpter
When I remove the gui source codes, it will be no error.
How could I fix this problem, thank you very much.
Greetings, and congratulations on the project reboot!
I'm trying to get a projection mapping system alive on RPi 4, and have been struggling to get this to compile.
Hitting the following error after compiling openFrameworks successfully:
make[1]: *** [/home/pi/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:217: obj/linuxarmv6l/Release/src/quad.o] Error 1
make[1]: Leaving directory '/home/pi/openFrameworks/apps/myApps/lpmt'
make: *** [/home/pi/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
It seems there are some errors in quad.cpp
. Here is one example:
/home/pi/openFrameworks/apps/myApps/lpmt/src/quad.cpp: In member function ‘void quad::bezierSurfaceUpdate()’:
/home/pi/openFrameworks/apps/myApps/lpmt/src/quad.cpp:1240:17: error: ‘GL_MAP2_VERTEX_3’ was not declared in this scope
glMap2f(GL_MAP2_VERTEX_3, 0, 1, 3, 4, 0, 1, 12, 4, &bezierCtrlPoints[0][0][0]);
^~~~~~~~~~~~~~~~
There are more like that, but thought I'd check and see if this was something you'd seen before / if i'm barking up the wrong tree trying to get it to compile on arm
.
Thanks for your work!
Hello,
when I do make run, I've this error :
Segmentation fault (core dumped)
make: *** [of_v0.11.2_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:184 : run] Erreur 139
Do you know where is the problem ?
Hi,
I am trying to install this on ubuntu in the terminal with make, but get this error:
Reading makefile 'Makefile'...
Reading makefile 'config.make' (search path) (no ~ expansion)...
Reading makefile '//libs/openFrameworksCompiled/project/makefileCommon/compile.p
roject.mk' (search path) (no ~ expansion)...
Updating makefiles....
Considering target file '//libs/openFrameworksCompiled/project/makefileCommon/c
ompile.project.mk'.
File '//libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk'
does not exist.
...and then a long list of errors because it doesn't find this file.
Hello,
During make I've this error :
/of_v0.12.0_linux64gcc6_release/apps/myApps/lpmt/src/gui/Controls/ofxSimpleGuiQuadWarp.cpp:124:20: error: ‘TRUE’ was not declared in this scope
124 | ofEndShape(TRUE);
| ^~~~
And make return error 1
Thanks for your job !
Hello Pierre, I'm really glad you made the effort to revive LPMT! I've been downloading and compiling it yesterday and it was quite an emotion to see it running again on my machine. Thanks a lot!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.