Forums > MaxMSP

jit.gl.mesh video out

July 17, 2012 | 4:19 pm

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 :

– Pasted Max Patch, click to expand. –

July 19, 2012 | 2:51 pm

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



dtr
July 19, 2012 | 2:57 pm

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.


July 20, 2012 | 11:00 am

Ah, thanks guys



dtr
July 20, 2012 | 11:20 am

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


July 20, 2012 | 2:04 pm

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


July 22, 2012 | 8:24 pm

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

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


Viewing 7 posts - 1 through 7 (of 7 total)