Author Topic: Custom Matrix Model  (Read 6362 times)

Offline ChaseWoofer

  • Newbie
  • *
  • Posts: 9
    • View Profile
Custom Matrix Model
« on: May 10, 2015, 11:24:04 PM »
Ok, I am working on this 48x24 matrix, consisting of 8 strings of 144 nodes.  Layout is from top left and in a snake pattern v^v^v^v^ neither of the built in matrixes don't seem to account for snaking.  I then tried setting up different ways with the custom and none of them seem to be working......

It shouldn't be this hard.......

Thanks,
Chase


Offline neil

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Lights on High Ridge
Re: Custom Matrix Model
« Reply #1 on: May 11, 2015, 12:15:22 AM »
check out this thread and it may help


http://nutcracker123.com/forum/index.php?topic=207.msg4355#msg4355


Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: Custom Matrix Model
« Reply #2 on: May 11, 2015, 07:55:22 AM »
define it as a vert matrix starting in upper left corner

Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: Custom Matrix Model
« Reply #3 on: May 11, 2015, 08:05:44 AM »

IMO:  setup the zig-zag in your controller and then set it up in xLights as a normal matrix.    Much easier and more reliable.    If you have to drop down into strand effects or node effects, you won't need to remember  which strand goes which direction and such.

Daniel Kulp
Framingham, MA

Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: Custom Matrix Model
« Reply #4 on: May 11, 2015, 08:09:41 AM »
Dan is right, if you can have the zig zap wrapping done in your controller. E682, p12r, falcon controllers (and probably others) will support wrapping strings.

NOTE! Do not do it in both xlights and the controller. This will mangle the effects. The rule si either 1) xLights does the zig-zag OR 2) your controller does.

You can look at this page to see a comparison of controllers I made a few months ago

http://nutcracker123.com/nutcracker/rgb_controllers/
Sean
Littleton, CO
Latest releases http://nutcracker123.com/nutcracker/releases
xLights/Nutcracker Forum http://nutcracker123.com/forum/index.php
Fbook [url=https://www.facebook.com/groups/62

Offline ChaseWoofer

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Custom Matrix Model
« Reply #5 on: May 11, 2015, 09:09:57 AM »
Sean -

If I use the hardware to do the zig-zag won't that screw up the effects? Wouldn't xLights assume it's a straight line then and the effects would not match up or is there something I'm just not realizing......

Also just to make sure my thought process is correct, since I will be using the 2 AlphaPix-4 controllers for part of my Christmas display but not using the same sequences/layouts/etc.  Doing the zig-zag in xLights is the logical route.

Thanks,
Chase

Offline ChaseWoofer

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Custom Matrix Model
« Reply #6 on: May 11, 2015, 09:12:24 AM »
define it as a vert matrix starting in upper left corner

So that's what the strand parameter is for....

Thanks again,
Chase

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: Custom Matrix Model
« Reply #7 on: May 11, 2015, 11:18:53 AM »

If I use the hardware to do the zig-zag won't that screw up the effects? Wouldn't xLights assume it's a straight line then and the effects would not match up or is there something I'm just not realizing......

Also just to make sure my thought process is correct, since I will be using the 2 AlphaPix-4 controllers for part of my Christmas display but not using the same sequences/layouts/etc.  Doing the zig-zag in xLights is the logical route.

You would tell xLights that you have a 48x24 matrix starting in the upper left corner via something like:

Vert Matrix
Actual # of strings:  24
# of lights per string: 48
#of strands per string: 1

From xLights perspective it's 24 individual strings of 48 nodes long.   

Your controller would then use the zig zag to say "String 1, which is 144 nodes long, is really divided into 3 virtual strings, one going down, one coming back up, and another going down".  The middle virtual string is reversed to match how xlights or FPP will be sending that data.

One reason for doing it in the controller is that it allows you to completely change the physical wiring without having to change the models in xLights or regenerate sequences or remap channels or anything.   For example, maybe it's easier to wire it as 12 stings of 96 folded once.   Or if you have a controller that can output more than one universe per output and good power injection, it might be easier for 6x192.    No changes would need to be done in xlights.   It's all how the controller maps them onto the lights.
Daniel Kulp
Framingham, MA