Coder Social home page Coder Social logo

pierrep / lpmt Goto Github PK

View Code? Open in Web Editor NEW
54.0 54.0 4.0 22.03 MB

Rewrite of the Little Projection Mapping Tool (http://projection-mapping.org/tools/lpmt/)

License: GNU General Public License v3.0

Makefile 0.68% JavaScript 2.00% GLSL 2.17% QML 0.91% C++ 88.78% C 5.47%

lpmt's People

Contributors

pierrep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lpmt's Issues

map part of video onto surface

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

cairo.h build errors

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.

compilation pb : fatal error: ofxMostPixelsEver.h

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 :)

Gui error

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
image
image

When I remove the gui source codes, it will be no error.
How could I fix this problem, thank you very much.

Compile for Raspberry Pi?

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 functionvoid quad::bezierSurfaceUpdate()’:
/home/pi/openFrameworks/apps/myApps/lpmt/src/quad.cpp:1240:17: error: ‘GL_MAP2_VERTEX_3was 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!

Segmentation fault

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 ?

Make gives me errors

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.

Install failed enofshape(true)

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 !

LPMT is alive!

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.