Forums > Jitter

multiple copies of videoplane with gridshape as texture

January 26, 2010 | 2:12 am

I have a patch with a gridshape that gets captured to a texture, then put on a videoplane and processed with some shaders. I want to be able to trigger multiple copies of it to correspond to notes from an FM synth. However, I’m having some trouble finding a method that allows me to control all of the parameters individually.

Jit.gl.multiple wouldn’t allow me to individually control the parameters of the shaders or of the original gridshape, since they’re not its target.

Poly~ doesn’t work because of the texture bindings.

Any ideas on how to make this work?

For reference, here is the patch with one copy of what I am trying to "multiply":

– Pasted Max Patch, click to expand. –

January 26, 2010 | 4:40 am

you will have to include the gl.shader in the poly~ with the geometry so that it is duplicated as well.
make sure you give it a distinct name.
thispoly~ -> sprintf helps with automatically generating names based on poly instance number.


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