jit.gl.mesh video out

Jul 17, 2012 at 4:19pm

jit.gl.mesh video out

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. –
#34080
Jul 19, 2012 at 2:51pm

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

#114502
Jul 19, 2012 at 2:57pm

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.

#114503
Jul 20, 2012 at 11:00am

Ah, thanks guys

#114504
Jul 20, 2012 at 11:20am

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

#114505
Jul 20, 2012 at 2:04pm

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

#114506
Jul 22, 2012 at 8:24pm

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

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

#114507

You must be logged in to reply to this topic.