French Canadian, music aficionado, video games enthusiast, contemporary and interactive arts seeker, user experience consultant and creative technologist.
Hello all, the title sums pretty much what I aim to do.
TL;DR, what's your question dude?
Is there a way to draw the whole Processing window into a PGraphics object, a bit akin to how you can
draw the stage in a BitmapData in AS3?
Some Background
I'm building a Processing sketch which will be displayed during a live performance of my band
Appalaches. I am in fact redoing a project that James Paterson did a while back, you can see the code in progress and read about the project on the
Github repo.
The plan is to have a wide Processing window in which Paterson's drawings will float upwards. That part already works properly, see a screenshot below:
As you can see from the Github repo explanations, the final product should only be one image, like so:
I will merge these parts of the Processing window into Max, with Jitter. I will add some other features from there as well.
That project is part of a larger project. The container of all this is a
Max patch whose output will be connected to a projector. Supposedly this is our setup:
So I managed to get Processing to display what I want. I want to send the content of that window to Max. I have installed the Syphon plugin. Now it seems that I need to send a PGraphics object via Syphon.
Is there a way to draw the whole Processing window into a PGraphics object, a bit akin to how you can
draw the stage in a BitmapData in AS3?
So I'm having many PImage instances drawn on the canvas and I also apply a z depth to them. Most of them have their transparency is applied properly, but some others seem to not do it properly. I am not sure what to look into to fix this issue. Is there a way so that they all have the same transparency?
I've read some tutorials here and there explaining that loading a PNG with alpha channel/transparency should work out of the box, however it doesn't with my current experiment. The image currently works like a GIF does, with transparency being only on or off, no alpha channel. What should I look into? I may be running out of keywords to find a proper answer. Thanks in advance!