Author Topic: Visualizer and reversed models. Potentially a bug  (Read 4428 times)

Offline szaske

  • Newbie
  • *
  • Posts: 38
    • View Profile
Visualizer and reversed models. Potentially a bug
« on: November 28, 2023, 01:13:42 AM »
I have windows wrapped in pixel strips, and so I could turn 90 degrees I have 4 strips, but they are physically connected in pairs, the left and top edges together and the right and bottom edges are connected.  I'm starting in the bottom left corner of the window. See Window1.png attachment to see it more clearly.

The bug (maybe a bug) is that I think I would...in the visualizer, order these models in the physical order. Physically the bottom strip is connected to my controller and the right strip is connected to the end of the bottom strip. But since I want clockwise effects to work correctly in my Sandevices controller I've set the 2nd port (bottom+right strip) to reverse order.  If you look at the visualizer.png attachment you'll see that in this configuration the visualizer gets it wrong.  The controller considers the whole port to be reversed...so in this case the item to the far right in the visualizer should be the next pixel after the top edge (that's the right strip), but instead the visualizer is assigned the first pixel to the first model listed in the port list....which is the bottom strip.

The work around is to reverse the order of the models in the port. I appreciate that you list the pixel numbers in the popups, because that has helped me figure this all out.


Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Visualizer and reversed models. Potentially a bug
« Reply #1 on: November 30, 2023, 09:56:34 AM »
You don't change a reverse setting for the purpose of making effects move the opposite direction.  Reverse is only for defining the real physical layout.  And I don't know what you are doing to reverse it.  Usually on a single line model you draw it and it has a green square for the start and a blue square for the finish.  You only change that start location if your physical port connects on the blue end.