Forums > Jitter

potentially simple problem re: jit.gl.multiple and jit.gl.mesh

April 23, 2013 | 7:47 am

Hi -
I would like to get a variety of draw_modes from jit.gl.mesh, as it processes jit.gl.multiple…Is there a way to do this?


April 23, 2013 | 12:25 pm

hi,
To use multiple mesh, you need to give the name "xo" to "jit.gl.mesh" and set "matrixoutput 1" to "jit.gl.gridshape"

– Pasted Max Patch, click to expand. –

April 23, 2013 | 2:21 pm

Ah, sure – thank you, matmat – do you happen to know if this is applicable when using jit.phys.multiple object as well?


April 23, 2013 | 2:39 pm

of course yes :-)


April 23, 2013 | 4:00 pm

hmm, so this should work, right?
i’m sorry, i should pay for this kind of help, yes?


April 23, 2013 | 5:23 pm

the object you want to multiply is the gl.mesh, not the gl.gridshape.
the gl.gridshape is just providing the vertex information for the gl.mesh.

– Pasted Max Patch, click to expand. –

April 23, 2013 | 11:54 pm

Aha! Thank you so much, you guys are generous beacons of Jitter wisdom!


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