-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edge Blending [new feature] #171
Comments
Hi! Yes this sounds great! I'm just in the middle of teaching and troubles with time, but that is a stupid excuse. Will get myself a bit more organised soon. |
I made a readme with the wanted features: My skills in Openframeworks are just too bad to code it myself. If anyone is able to solve one of these features, contact me. |
@magdesign I might be able to help with some of those features if you're happy to support my development time. I've also got experience porting OF to other platforms, although I'm principally on Linux. |
@pierrep: this sounds great :-) , contacted you via form on sensoryempire.com so we can discuss further. |
Hi @kr15h , I've been working with @magdesign on some new features. I just recently sent a pull request for some fullscreen quad code. In another branch in my fork I have an edge blending feature waiting to be merged, but it's a big modification as I had to shift to GLES2 to get shaders to work. It's all functional, apart from some performance regressions in the GLES2 version of ofxGui. The ofDrawCircle() and gui checkboxes seem to be the culprits. Anyway, just wanted to bring this to your attention, would be great to get your feedback. |
Hi! Thanks for reaching out. I will check and merge as soon as possible. |
Hei together! |
Hi, There's a dedicated branch for it, see here: It's also integrated into my master branch. I haven't made a PR because it's a big set of changes, I've had to convert ofxPiMapper to GLES2 to get it working, but if there's interest from @kr15h we could make it happen. |
thanks pierrep for your work, that would be great! |
The big difference between GLES1 and GLES2 is that in the latter you can use shaders. At the moment I've just implemented an edge blend shader into quads. What this means is that you can edge blend multiple projectors that are being driven by ofxPiMapper. Other than that, with a bit of coding you could also add your own shaders, e.g. using the FBO source and some custom code. This would give you the option of shader-based generative sources. Have a look at https://www.shadertoy.com/ to see the possibilities of shaders. However, the GPU on the RPI is weak, so it won't be able to do too much, but some simple shaders could definitely spice things up. I've used an optimised Perlin noise shader to drive visuals before on an RPI, for example. |
great, a invert shader would be a good thing, specially in combination with a camera source. |
@pierrep would it be possible for you to provide an image of your fork somehow? |
@MoorPoor the work I did was for @magdesign who has builds and images as part of his excellent pocket VJ project, you should definitely speak to him about this. |
We want to add an edge blending function to ofxPiMapper.
It should be draggable from the sides of the quads and create a gradient to black.
Any hints on how to solve this are very welcome (since I am a oxf beginner and do not know every module yet).
The text was updated successfully, but these errors were encountered: