Sean Meighan

Software => xLights Convert => Topic started by: amtrak115 on April 22, 2016, 08:34:17 PM

Title: importing ccr effects into xlights
Post by: amtrak115 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

Title: Re: importing ccr effects into xlights
Post by: Phrog30 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

Title: Re: importing ccr effects into xlights
Post by: sean 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.

Title: Re: importing ccr effects into xlights
Post by: Phrog30 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

Title: Re: importing ccr effects into xlights
Post by: amtrak115 on April 22, 2016, 10:00:00 PM
here's the import dialog box....
Title: Re: importing ccr effects into xlights
Post by: Phrog30 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

Title: Re: importing ccr effects into xlights
Post by: amtrak115 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

Title: Re: importing ccr effects into xlights
Post by: Phrog30 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

Title: Re: importing ccr effects into xlights
Post by: amtrak115 on April 23, 2016, 11:50:17 AM
sorry, this is a bought sequence, and I wouldn't feel right about posting it.

Barry

Title: Re: importing ccr effects into xlights
Post by: Gilrock 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.
Title: Re: importing ccr effects into xlights
Post by: Phrog30 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

Title: Re: importing ccr effects into xlights
Post by: Gilrock 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>
Title: Re: importing ccr effects into xlights
Post by: Gilrock 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.
Title: Re: importing ccr effects into xlights
Post by: Phrog30 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

Title: Re: importing ccr effects into xlights
Post by: amtrak115 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
Title: Re: importing ccr effects into xlights
Post by: Gilrock on April 23, 2016, 06:33:26 PM
I believe I have the code fixed to work with horizontal SUP file layouts.  It works with the one test file I was given.  Code is checked in so you just need to wait for release 2016.22.
Title: Re: importing ccr effects into xlights
Post by: amtrak115 on April 23, 2016, 07:32:42 PM
thanks Gil
Title: Re: importing ccr effects into xlights
Post by: amtrak115 on April 25, 2016, 06:50:56 PM
an update...some came out correct other not so much...

here's the link to the sequence I bought....
http://www.holidaysequences.com/Halloween-Matrix-Devil-Went-Down-To-Georgia-p/hall-cddg.htm

the video is at the bottom of the page....

I've attached a screen capture that shows how it came out...(sorry about being dark)



[attachment deleted by admin]
Title: Re: importing ccr effects into xlights
Post by: Gilrock on April 25, 2016, 06:59:17 PM
Well if Holiday sequences wants xLights customers to buy their horizontal sequences they can send me a free one.  Looks like the problem is with images and text which are the two effect types that weren't in my sample.
Title: Re: importing ccr effects into xlights
Post by: Phrog30 on April 25, 2016, 07:02:55 PM
Don't forget you can always add as a data layer. That will definitely work.

James

Sent from my SM-G900V using Tapatalk

Title: Re: importing ccr effects into xlights
Post by: amtrak115 on April 25, 2016, 07:10:50 PM
I understand.  question when I import the sequence it prompts me for a directory to write the images out to.  Are those images used in the "playback" or are they just outputted as part of the conversion process??

Barry

Title: Re: importing ccr effects into xlights
Post by: Phrog30 on April 25, 2016, 07:32:00 PM
I understand.  question when I import the sequence it prompts me for a directory to write the images out to.  Are those images used in the "playback" or are they just outputted as part of the conversion process??

Barry
Yes those images are used.

Sent from my SM-G900V using Tapatalk