multiple copies of videoplane with gridshape as texture

Jan 26, 2010 at 2:12am

multiple copies of videoplane with gridshape as texture

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. –
#48026
Jan 26, 2010 at 4:40am

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.

#172712

You must be logged in to reply to this topic.