matrixoutput, Pwindow

Dec 17, 2012 at 7:25pm

matrixoutput, Pwindow

I’m working on a patch, currently I’ve got the video output coming out of matrixoutput, i want tosmooth it using jit.slide, I’m not sure how to get the visual out of a pwindow. I’m sure its a simple solution, but I haven’t figured it out yet does anyone know how to do this?

– Pasted Max Patch, click to expand. –
#65718
Dec 17, 2012 at 8:19pm

where do you want the jit.slide?
if you’re trying to smooth out the vertex matrices, then you can simply put it right before your “append quad_grid”

#236759
Dec 17, 2012 at 8:32pm

Thanks. I want to use the patch in conjunction with a number of others in a sort of modular performance so I want to be able to get the output into a pwindow so i can mix the videos together. I’ve looked into doing this using matrixoutput but I’d personally find it easier if i could use pwindows.

#236760
Dec 17, 2012 at 8:49pm

if you’re talking about a pwindow that is the destination of a gl context, you can’t get it’s output.
there are several solutions for this though, such as gl.asyncread, and gl.node.

the the recommended way to mix multiple gl scenes together generally is to capture the scene with gl.node @capture 1, and mix the output textures with something like a gl.slab, or a jit.gl.pix.

#236761
Dec 21, 2012 at 5:28pm

Thanks, I’m using gl.asyncread and its working pretty well for me :)

#236762

You must be logged in to reply to this topic.