I've been doing some work with jit.gl.gridshape using matrix input. I'm rendering multiple 3d spheres at once. It is quite easy (thanks to much help and a nice demo by Andrew) to manipulate many aspects of each of these spheres independently (e.g. scale, position, etc.), but I'm pretty sure that any color changes will be applied to all objects of a given jit.gl.gridshape.
I'm just wondering if anyone knows of a way to manipulate color independently under these circumstances. Here is a more clear breakdown:
Using various messaging combined with jit.poke, I feed a matrix (jit.matrix name 4 float32 32) with changing data, which is then fed into jit.gl.gridshape as various parameters. This gives me independent contol over many aspects of 32 GL spheres. The only problem is...any color messages apply to all 32 spheres.
Can anybody spot a workaround? Right now I just have to use a different jit.gl.grishape for each color.
Thanks in advance,