musiko / ofxchromakeyshader Goto Github PK
View Code? Open in Web Editor NEWA shader-based chroma keying addon for openFramworks
License: Other
A shader-based chroma keying addon for openFramworks
License: Other
home/shank/of-workspace/addons/ofxChromaKeyShader/example-with-ofxGui/src/main.cpp:9:14: note: field ‘int ofWindowSettings::height’ can be accessed via ‘int ofWindowSettings::getHeight() const’
settings.height = 768;
^~~~~~
getHeight()
make[1]: *** [/home/shank/of-workspace/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:217: obj/linux64/Release/src/main.o] Error 1
make[1]: Leaving directory '/home/shank/of-workspace/addons/ofxChromaKeyShader/example-with-ofxGui'
make: *** [/home/shank/of-workspace/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
Hi,
Is there any reason why the void updateChromakeyMask(ofTexture input_tex, ofTexture bg_tex);
method is not using references of the passed ofTextures?
Also, the the textures could be passed by reference-to-const, as this:
void updateChromakeyMask(const ofTexture& input_tex, const ofTexture& bg_tex);
What do think of this?
I could send you a PR with those changes.
Cheers.
Thanks musiko, I'm trying to open this project in codeblocks but I can't. I'll appreciate if you can help me on how can I try in codeblocks?
Thanks
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.