jit.gl.mesh video out

Jason Orri's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Hi, I was wondering if it was possible to get a video feed out of a jit.gl.mesh, into a p.window, say? The example I am using is Andrew B's Tiny Video :

Dg's icon

As I know you need to do a rasterization ou readback mecanism, with something like [jit.gl.asyncread]

dtr's icon

Well if what you're after is rendering out a GL scene with a mesh to a pwindow you need to set jit.gl.render to render to a named matrix and send that to the pwindow.

Jason Orri's icon

Ah, thanks guys

dtr's icon

Come to think of it, perhaps the pwindow can be named and set as render destination?

Jason Orri's icon

I've had a go but can't seem to achieve that..

Rob Ramirez's icon

jit.gl.asyncread is the advised way to do something like this.

if you are unable to get it working, please post your patch.