I was thinking about ways to divide the load of a massive processing sketch between different machines in a network, in regards to a scenario where you want them all to be shown with the same projector, maybe as different textures or something, to do projection mapping or objects.
Since you can have a PGraphics or PImage as a texture, I am thinking there has to be a way to do this over a network.
On the receiving side you could just have an object from a class, that acts as a server, or client, that gets the pixel data send to it via the network, and puts it all in a Pimage, that can just be used as a texture.
On the other side you have a similar object, which you at the end of each draw use a send()-function, that sends the pixel data to the connected machine.
Does this make any sense?
I guess you could also maybe, to make it more portable, make a videostream reciever, and an "on the fly" encoder where you do the drawing.
The reason I would want all this, is both to get the load of the one machine, and also, you could render a totally different interface on the machine where you work with your sketch, that is to be displayed, from the displaying machine.
Anyone know such a project ongoing already? Or have any thoughts or suggestions?
Since you can have a PGraphics or PImage as a texture, I am thinking there has to be a way to do this over a network.
On the receiving side you could just have an object from a class, that acts as a server, or client, that gets the pixel data send to it via the network, and puts it all in a Pimage, that can just be used as a texture.
On the other side you have a similar object, which you at the end of each draw use a send()-function, that sends the pixel data to the connected machine.
Does this make any sense?
I guess you could also maybe, to make it more portable, make a videostream reciever, and an "on the fly" encoder where you do the drawing.
The reason I would want all this, is both to get the load of the one machine, and also, you could render a totally different interface on the machine where you work with your sketch, that is to be displayed, from the displaying machine.
Anyone know such a project ongoing already? Or have any thoughts or suggestions?