Hi, I am trying to set up a matrix where two rectangles have no pixels, the led strips are cut, and continued after the gap. So I thought I would just create a 2d-gaps.json file where all the missing pixels are set as -1, whereas all the others are set to 1. I get the right result if I have pixels in the gaps, but set them to 0. But not if I the pixels are actually missing, and there is instead a -1 in the json. Anyone has an idea?
Many thanks!
Maybe one more remark: Can my difficulties arise from the fact that I am assembling my matrix from several panels?
Yes, now I figured out that the problem does not exist if I use only one panel. Any ideas what I am getting wrong?
Gap files will only work if you wired your fixture as a matrix to start with . If you setup rectangles with no leds in the middle then use ledmaps instead
Many thanks, I might have some misunderstanding there? It is still wired as in a matrix, but some Leds are missing, and the data line is just connected through the “gap”. So I thought this is what the gap file is for? For a single panel it also did what I thought it should do. But if I want to combine several panels, it no longer does? I also tried ledmaps, but probably also have a misunderstanding there, as I also got results that I don’t understand, if I use more than two panels.
Post pictures better so it is clear else you can see few examples in the 2D channel in discord
I think it is much easier than most examples, but it is just big, and that might be the problem?
138x33, with 2 rectangles, 14x5 missing. I and I thought I could simply put -1s in the gap file at these locations? In total these should be 6 separate strips, connected in e serpentine way
Sure at least with ledmaps 138x33 will not work as it is too big . Not really used gap file a lot but I would follow the same rule .
Ok, many thanks, so I have to find another solution, like two controllers …
Try to reduce the virtual matrix size as much as possible , if you will be using ledmaps then there is a recent PR that make using large ledmaps possible but it is not merged yet so you would have to test that PR here Large ledmap support by blazoncek · Pull Request #4262 · Aircoookie/WLED · GitHub to see if that will also impact gap file but I could not make it work with ledmaps on 64x64 matrix , you might have a better luck
Ah, good to know, I was thinking already if the way it can be implemented can be optimized. I will have a look at it, maybe I can also contribute to it …