videoplane or texture to matrix?
So I expected this to be easy but I can't figure it out. It seems that @matrixout just sends geometry. What is the best way to get this to a matrix so that I can syphon it out??
I adapted your code:
and added a jit.gl.node, and a jit.gl.camera to capture to a texture. from here it should be easy to pass it via syphon.
Great! Thanks.
actually I just discovered another object that helps with this: jit.gl.asyncread
this acutally gives you a matrix, while the above gives you a texture. for your case the above code should be better, since your captured texture stays on the GFX card and is beeing passed directly to syphon, which is using a kind of shared GFX-Texture (I think) instead of passing it to CPU (matrix) and then to GPU (texture again) and Syphon.
Oh man that's great!
One weird issue... when I fullscreen it goes SLOW for some reason.
only when using the asyncread.
asyncread is always going to be slower, especially for large window sizes.
best to stay in GPU domain and process with gl.slab and gl.pix.