Forums > Jitter

matrixoutput, Pwindow

December 17, 2012 | 7:25 pm

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. –

December 17, 2012 | 8:19 pm

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"


December 17, 2012 | 8:32 pm

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.


December 17, 2012 | 8:49 pm

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.


December 21, 2012 | 5:28 pm

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


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