RGB LED installation using gridshape in jit.multiple to control color

steprec's icon

Hello beautiful people!

I am working on an installation and I got a little stuck. I would like to apply a gridshape and its colour to the grid created by jit.gl.multiple but I can only apply the 2d matrix to it. How can I apply the actual 3d shape? To control the LEDs I would need to get the RGB values from the multiple object. Should I use jit.spill? Having said that the colors are a bit off as well. Also, the shape I am building with the LEDs is not a perfect cube. Can I remove specific items form the multiple object?

I know I am asking a lot of questions but any help would be much appreciated!

Thanks!

Las

multithing.maxpat
Max Patch
matmat's icon

hi STEPREC

I'm sure there is much better, but ...

Max Patch
Copy patch and select New From Clipboard in Max.
steprec's icon

hey matmat,

this is awesome! i don't fully understand the method, but it works really well! wow! now i just have to work out how to get the rgb values from the multiple object and then its ready to hook it up to do dmx! i owe you one dude!