Forums > Jitter

Drawing an Led Lightbox in Open GL

December 4, 2012 | 5:06 pm

I thought I’d be able to quickly knock up a quick simulation of an led lightbox in Max 6.

Read the Jitter 3d tutorials and I’ve cobbled together the following code (below). It works I guess but I want to build a much bigger array, say 64×10, and there must be a better way.

Would I be able to change the colours of each cube if I used jit.gl.multiple? Or can I use poly~ or something?

– Pasted Max Patch, click to expand. –


dtr
December 4, 2012 | 6:11 pm

jit.gl.multiple indeed. Much easier to set up and scale. Store your colors and positions in matching 64×10 matrices.


December 5, 2012 | 11:49 am

Thanks.
Maybe I’m being a bit slow but it still took me ages and then only by culling from forum patches here and there!
Here we go.

– Pasted Max Patch, click to expand. –


dtr
December 5, 2012 | 4:57 pm

Looks good! On a side note, if you’re just going to make ‘m look like a square matrix you could just as well send your color matrix directly to jit.(p)window ;)


December 5, 2012 | 7:23 pm

No – I do have complicated 3d plans. This is just the beginning!



dtr
December 5, 2012 | 8:49 pm

That’s very well do-able. I once modeled the entire interactive lighting setup for a dance piece in Jitter. Good luck!


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