Jit.gl.syphonclient- GL- matrix to 'normal matrix?'

Jonathan's icon

Hi,

I'm using the syphonclient package for max to receive a video feed wirelessly from a baby monitor. My problem is that the jit.gl.syphonclient outputs a jit.gl.texture and not a 'normal' matrix.

I am trying to replace my webcam feed (as pictured below) with the jit.gl.texture.

My question is, if the jit.gl.texture 'converts video into texture, can you reverse a jit.gl.texture back into a normal video matrix (i think, pretty much bootstrapping here)

Man, who knew jitter could be so tricky.

Big Thanks /J

Jonathan's icon

Never mind, got it

DocJones's icon

You mind sharing how you did it ?

Rob Ramirez's icon

you can send the syphonclient output directly into a jit.matrix object to convert to matrix. however this will significantly impact performance. an alternative is to use jit.gl.asyncread.