Author Topic: [SOLVED] Polyline is not showing correct colors  (Read 1195 times)

Offline evilfish

  • Newbie
  • *
  • Posts: 9
    • View Profile
[SOLVED] Polyline is not showing correct colors
« on: June 04, 2018, 05:33:03 AM »
Hi,

I am not sure if this is the right sub forum, but it does have to do with layout setup.

I followed the guide given to me when I had a problem with creating a layout for my door. (The guide can be found here: http://nutcracker123.com/forum/index.php?topic=5428.msg33422#msg33422

This went well and worked until I tried other colors than white. When I try to do a green color I get this on my model preview and the house preview does the same:



There are suddenly red colors there. If I turn it to blue, the error segments turn green. And when red, the error segments is blue. I have tried to look through the effects setting and the only thing i can come up with is that the String type might be wrong, but it is set to "RGB Nodes". I have other poly lines on my layout, and these do not have this error.

What is going on here? And would the best option be to just delete the model and remake it?

Thank you in advance.
« Last Edit: June 05, 2018, 12:10:21 PM by evilfish »

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Polyline is not showing correct colors
« Reply #1 on: June 04, 2018, 08:14:09 AM »
There are so many ways things can go wrong its hard to say.  Have you created a blank sequence and dropped just one effect to make sure its not interaction with another effect?  How are the channels assigned did you just use one start channel or does each segment have an assignment?

Offline QldKing

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Re: Polyline is not showing correct colors
« Reply #2 on: June 04, 2018, 09:10:16 PM »
Have you run check sequence to see if it has any duplicate channel assignments?


Sent from my iPhone using Tapatalk
Now on 2 years Light Holiday

Offline evilfish

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Polyline is not showing correct colors
« Reply #3 on: June 05, 2018, 05:40:23 AM »
So I have been digging around. I tried using a new sequence but that had the same problem, so I decided to remove the old polyline and create a new one. Interestingly the new one has the same issue, but with a different pattern. Green is the color I have activated on the door, using a new animation sequence:



I didn't knew about the check sequence, and I found some warnings that I could resolve though unrelated and did not affect my poly line problem. I do have some warnings left. Most of them at probably fine because of the way my model is. I have a polyline that is a border around my house and is individually segmented and has individual start channels. This mean I get a lot of warnings like this:

Quote
WARN: Probable model overlap 'Border' (2305-17904) and 'Star-1' (7726-7845).

The border spans a large range of channels so I believe these are fine. I do have two warning that I am looking into right now. They don't make any sense right now. Trying to figure out why that is. Those are:

Quote
WARN: Probable model overlap 'Left door' (9436-9875) and 'Snowflake-4' (9664-10401).
WARN: Probable model overlap 'Right Door' (13102-13541) and 'Right door Frame' (13330-13791).

These have something to do with the doors so I am focusing on that. I just can't find any overlap at the moment.

You can find my current check sequence results here: http://www.juligreve.dk/other/checksequence1.txt

And also for reference, here is my complete model where the left poly line door is selected. That is the one I am having problems with: http://www.juligreve.dk/other/house.png

Thank you so much for your help. I am learning and making progress.

Offline evilfish

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Polyline is not showing correct colors
« Reply #4 on: June 05, 2018, 06:33:52 AM »
I think I found the culprit.

Take the following warning:
Quote
WARN: Probable model overlap 'Left door' (9436-9875) and 'Snowflake-4' (9664-10401).

Now this is my left door. The setup for this is the following (added snowflake 4):

ModelUniversChannel mapping
Left door 159148 to 9375
Left door 269376 to 9663
Snowflake-4-179664 to 9963

This is as is should be and is consistent with my calculations. The door has 172 pixels and the model confirms 172 pixels. Put here is where there is a mismatch.

When I go into my layout and select my door and calculate my individual segments i get 172 pixels. But if I look at the model group list and look at the start Chan and End Chan I get this:

Left door ; #192.168.1.181:5:1 (9148) ; #192.168.1.181:6:136 (9511)

Now I expected this to end at channel (9663), but what is more weird is that the warnings under check sequences claims the model starts at 9436 and ends at 9875. Any suggestions why this happens?

I am considering to change my model to a "Custom". This might fix my issue, but I would like to know what is going on here.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Polyline is not showing correct colors
« Reply #5 on: June 05, 2018, 08:58:37 AM »
Most of the information you are giving is not what we need to help.  I can't tell what your start channel definitions are from just seeing a picture of the model.  A bunch of yellow dots tells me nothing but either a screenshot of all the model parameters fully expanded tells me everything.  The easiest way is just package a sequence and post it....saves a bunch of typing.  Trying to make sense of all the numbers, photos, and text you posted is like a jigsaw puzzle.

Offline evilfish

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Polyline is not showing correct colors
« Reply #6 on: June 05, 2018, 10:00:37 AM »
Ahh, I was not aware about the package sequence option. Here is the package. Thank you so much for your time!
« Last Edit: June 05, 2018, 10:13:11 AM by evilfish »

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Polyline is not showing correct colors
« Reply #7 on: June 05, 2018, 10:15:12 AM »
So I'm not on a computer with xLights but I looked at your file and below is a snippet of one of your PolyLines.  So if segment1 is 20 pixels why do you have String2 set to start on channel 21? Each pixel is 3 channels so String2 needs to start on channel 61.  And then fix all the other channels accordingly.

Seg1="20" Seg2="18" Seg3="38" Seg4="0" Seg5="18" Seg6="38" Seg7="20" Seg8="0" Seg9="20"
       String1="#192.168.1.181:5:1"
       String2="#192.168.1.181:5:21"
       String3="#192.168.1.181:5:39"
       String4="#192.168.1.181:5:39"
       String5="#192.168.1.181:6:1"
       String6="#192.168.1.181:6:19"
       String7="#192.168.1.181:6:57"
       String8="#192.168.1.181:6:57"
       String9="#192.168.1.181:6:77"

Offline evilfish

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Polyline is not showing correct colors
« Reply #8 on: June 05, 2018, 11:16:58 AM »
DOH!  :-[

That's embarrassing. It did fix some of the issue and removed the warning for that model. I have to do a thorough check on my models.

Thank you so much!

Offline evilfish

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Polyline is not showing correct colors
« Reply #9 on: June 05, 2018, 12:10:05 PM »
Thank you so much for helping me with my issue and your patience for my so far beginner skills. I think I might have been enjoying a little to much wine that evening i was working with my setup.

After Gilrocks revelation that I was mapping LEDs and not channels in my channel setup up, I decided to verify everything and found out that my poly line were not even correctly drawn and that I had somehow put the right door on the left side and....... I dont know how that happened.

SO, I cleared the doors completely, went out and took a look at my actual door frames, carefully noted the correct directions, added it to the model, ADDED THE RIGHT CHANNELS  :-[ , and wouldn't you know it, now works as it should.

So again, thank you for your help. I really really appreciate it. You guys are awesome.