Animating a LED Strip 3D Structure
Hi there,
I found about a solution to use LED strips into MAx with this wonderful external. https://cycling74.com/forums/art-net-externals-v1-0-beta-64-bit-and-multiple-universes/
Now I am trying to figure out how to animate LEDs in 3D space. I mean, not as a 2D projection, but as a 3D structure.
Any ideas what I should consider? Or do you know of any examples here in the forum?
Thank you,
ygreq
For a 3d matrix
Jit.matrix 1 float32 8 8 8 (1 plane)
Change it too this for RGBA
Jit.matrix 4 float32 8 8 8
The form of the model is the tricky part.
You could build your form in 3d software. Blender.
Make a vertex for each led.
Load into jit.gl.model @matrix output 1
Grab the 1st 3 planes ( position matrixes xyz )
Then send to jit.gl.multiple for a visualiser.
I think you can also define the color of each vertex and get that information to drive led colors.
The simplest solution would be a jit.matrix 4 float32 1 128 ( assuming you have 128 leds)
You could control these with 4 multi sliders rgba. Attach a preset system with autopattr and pattrstorage and interpolate between presets.
Hey Andro,
I thinking of starting with a cube. Maybe something like this, but much much smaller: https://vimeo.com/38379910
Anyway in total, it would be more than 1000 LEDs. I heard Teensy 3.2 can manage it.
For the hardware part, I am thinking of mimicking somehow MadLight's solution in Max. Still trying to figure out how. http://www.madmapper.com/2015/09/30/arduino-led-strip-control-with-madmapper-2-1/. Like I said in the previous post, I might use the art.net external. But still MadLight's solution seems to work only in 2D.
And here comes the answers I've been asking for. Related to what you said, I am still trying to understand your proposal. Consider I have a 100x100x100 LEDs cube (1200 LEDs in total) like in the attached pic, with LEDs only in the margins, not inside. And consider I want to adapt this for any shape so I should treat it as a 3D shape. Can you please reinterpret what you said above?
Thank you for looking into this!
ygreq
Heres my approach, quick and rough but enough to get you going.
More efficient ways to do it but hopefully this will get you started.