Drawing an Led Lightbox in Open GL


    Dec 04 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 64x10, 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?

    • Dec 04 2012 | 6:11 pm
      jit.gl.multiple indeed. Much easier to set up and scale. Store your colors and positions in matching 64x10 matrices.
    • Dec 05 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.
    • Dec 05 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 ;)
    • Dec 05 2012 | 7:23 pm
      No - I do have complicated 3d plans. This is just the beginning!
    • Dec 05 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!