Author Topic: importing ccr effects into xlights  (Read 6153 times)

Offline amtrak115

  • Newbie
  • *
  • Posts: 44
    • View Profile
importing ccr effects into xlights
« on: April 22, 2016, 08:34:17 PM »
I'm trying to import a 24 x 50 horizontal ccr matrix into xlights.  When I import the "sup" data, the matrix renders however it's 90 degrees off.  I've seen a conversation about this in other messages but I never found a resolution to this issues.  I think somebody was going to publish a script or something.  Can anyone point me in the right direction or is a node-by-node import from the lms file the only way to do this????

thanks

Barry


Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: importing ccr effects into xlights
« Reply #1 on: April 22, 2016, 08:43:35 PM »
Can you post a screenshot of the settings you use on the Superstar import dialog? This is the popup with x size, y size, offset, flip y, etc.

If all you care about is playing the lor stuff within xlights, then I would not import the sup file, but instead add as a data layer.

James

Sent from my SM-G900V using Tapatalk


Offline sean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1727
    • View Profile
    • Xlights and Nutcracker Forum
Re: importing ccr effects into xlights
« Reply #2 on: April 22, 2016, 09:13:29 PM »
i imported a number of sup files to my 16x50 megatree, they all worked perfectly.

as mentioned show a screen shot of the "Import, Import Sequences" screen.

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 Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: importing ccr effects into xlights
« Reply #3 on: April 22, 2016, 09:21:41 PM »
Importing superstar files in ccr mode is straight forward and works, however, files in visualization mode is hit or miss.  To know what you have, open superstar, tools, layout. At the top are radio buttons, if it says visualization mode, then good luck.

James

Sent from my SM-G900V using Tapatalk


Offline amtrak115

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: importing ccr effects into xlights
« Reply #4 on: April 22, 2016, 10:00:00 PM »
here's the import dialog box....

Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: importing ccr effects into xlights
« Reply #5 on: April 23, 2016, 07:46:47 AM »
My suggestion is swap x and y and try again. I'm curious as to what mode the Superstar file is.

James

Sent from my SM-G900V using Tapatalk


Offline amtrak115

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: importing ccr effects into xlights
« Reply #6 on: April 23, 2016, 08:30:10 AM »
I thought I had tried that before so I did it again...no same results.  The imports looks like it works fine except that everything is on it's side.  It looks like it's 90 degrees off counter-clockwise.

Barry


Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: importing ccr effects into xlights
« Reply #7 on: April 23, 2016, 09:33:38 AM »
Superstar files are generally small in size. If willing, you could post the file and we could have a go with it.

James

Sent from my SM-G900V using Tapatalk


Offline amtrak115

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: importing ccr effects into xlights
« Reply #8 on: April 23, 2016, 11:50:17 AM »
sorry, this is a bought sequence, and I wouldn't feel right about posting it.

Barry


Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: importing ccr effects into xlights
« Reply #9 on: April 23, 2016, 11:56:47 AM »
I'm going to look at issue #537 today which sounds like the same thing as this.  After seeing the dialog again and refreshing my brain I realized it only Swaps the Y axis so it won't do a rotate.

Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: importing ccr effects into xlights
« Reply #10 on: April 23, 2016, 11:58:40 AM »
sorry, this is a bought sequence, and I wouldn't feel right about posting it.

Barry
No problem. Looks like Gil is going to set you up.

James

Sent from my SM-G900V using Tapatalk


Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: importing ccr effects into xlights
« Reply #11 on: April 23, 2016, 12:36:38 PM »
This is going to take a code change to fix but I blame it on the bonehead LOR developers.  They are listing the X and Y values as if the ribbons are vertical.  I can tell because in this morph definition the Y value is greater than the height of the  horizontal matrix.

Code: [Select]
<morph name="Morph 161" layer="11" acceleration="0" savedIndex="160">

<state1 time="6285" x1="8" y1="0" x2="8" y2="0" red="100" green="0" blue="0" white="0" trailLen="1"/>

<state2 time="6395" x1="8" y1="49" x2="8" y2="49" red="0" green="0" blue="100" white="0" trailLen="1"/>

<ramp timeExt="5" effectType="0" red1="100" green1="0" blue1="0" white1="0" red2="100" green2="100" blue2="0" white2="0"/>

</morph>

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: importing ccr effects into xlights
« Reply #12 on: April 23, 2016, 12:40:29 PM »
I'll have to try to look at a couple more .SUP files but I should be able to inspect the "ribbonOrientation" attribute and do the X / Y swap automatically if its horizontal.

Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: importing ccr effects into xlights
« Reply #13 on: April 23, 2016, 12:41:00 PM »
This is going to take a code change to fix but I blame it on the bonehead LOR developers.  They are listing the X and Y values as if the ribbons are vertical.  I can tell because in this morph definition the Y value is greater than the height of the vertical matrix.

Code: [Select]
<morph name="Morph 161" layer="11" acceleration="0" savedIndex="160">

<state1 time="6285" x1="8" y1="0" x2="8" y2="0" red="100" green="0" blue="0" white="0" trailLen="1"/>

<state2 time="6395" x1="8" y1="49" x2="8" y2="49" red="0" green="0" blue="100" white="0" trailLen="1"/>

<ramp timeExt="5" effectType="0" red1="100" green1="0" blue1="0" white1="0" red2="100" green2="100" blue2="0" white2="0"/>

</morph>
Brian had admitted that it was stupid. Instead of fixing it, he added keywords that would force a row/column, make matrix, reverse order, etc.

James

Sent from my SM-G900V using Tapatalk


Offline amtrak115

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: importing ccr effects into xlights
« Reply #14 on: April 23, 2016, 01:31:06 PM »
gil,

just let me know if you want me to test the fix if and when you get it.  you can also contact me off-list to request more info...

thanks

Barry
amtrak115@gmail.com