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

Apr 23, 2013 at 7:47am

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

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?

#67901
Apr 23, 2013 at 12:25pm

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. –
#244131
Apr 23, 2013 at 2:21pm

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

#244132
Apr 23, 2013 at 2:39pm

of course yes :-)

#244133
Apr 23, 2013 at 4:00pm

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

#244134
Apr 23, 2013 at 5:23pm

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. –
#244135
Apr 23, 2013 at 11:54pm

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

#244136

You must be logged in to reply to this topic.