2016.42 New PolyLin...
 
Notifications
Clear all

2016.42 New PolyLine model from Gil

48 Posts
12 Users
0 Reactions
19.2 K Views
smeighan
Posts: 2595
Topic starter
(@smeighan)
Famed Member
Joined: 15 years ago
[#42058]

2016.42 released. This release has Gil's new PolyLine model.

Latest releases are found at www.xlights.org
Issue Tracker is found here: www.github.com/smeighan/xLights/issues

XLIGHTS/NUTCRACKER RELEASE NOTES:
---------------------------------
2016.42 Jul 30, 2016
-- bug (gil) Fix typo that prevented the Layer Star render style from working for Star Model.
-- enh (gil) Add PolyLine model.
-- bug (gil) Fix crash when trying to paste with active timing track and no cell selected. Fixes #634.
-- bug (keithsw) Corrected by allowing a 1 second target to be selected when outside of a cell.
-- bug (keithsw) Fix music effect crash when dragged past end of song
-- bug (keithsw) Reduce errors when video effect cant find video file to just one on first frame
-- bug (keithsw) Add support for model start channel in form #ip:universe:channel
-- bug (keithsw) Update start channel dialog for new format + also make it smarter about which outputs and universes exist.
-- bug (dkulp) Don't add/remove layers if the element is being rendered
-- bug (dkulp) Fix a crash when loading an invalid sequence that had effect names of ""


47 Replies
Posts: 484
(@boof63)
Honorable Member
Joined: 15 years ago

Since no one else has asked, I will, what is the polyline model and what are its implications please
Cheers Bof63


Reply
Posts: 1015
(@gilrock)
Noble Member
Joined: 14 years ago

Well the original intent was to make it easier to draw rooflines. Before this model you had to draw a whole bunch of SingleLine models. Now you can draw the whole roof in one model if you like and each segment can be sequenced individually or as a set. I allow you to set the segment size to 0 which is like allowing you to lift your pen while drawing a shape. Using that feature I realized I could draw complex shapes and since it's not a custom model the nodes react like a straight line of pixels or a matrix of each segment stacked on each other depending on the render style you select. Here's the PolyLine model I drew and used for testing and these are just 4 standard effects dropped on it.

http://giphy.com/gifs/3owyp6LMTbRgtoqtsQ


Reply
Posts: 1015
(@gilrock)
Noble Member
Joined: 14 years ago

By the way I initially forgot about the A/C guys so the model crashes if you try to set it to a single color node. I fixed it last night so I'm waiting for Sean to do another release. I've also improved a few other aspects of the model like now it has boundary handles you can use to resize the entire set of line segments and the line segment selection is more accurate.


Reply
smeighan
Posts: 2595
Topic starter
(@smeighan)
Famed Member
Joined: 15 years ago

2016.43 release has the fixes for ac lights on polyline

Sent from my iPhone using Tapatalk


Reply
Wolfie
Posts: 2225
(@wolfie)
Noble Member
Joined: 11 years ago

Have you considered a spline (start, end and two control handles) line type with your polyline?

It could then be used to follow curved structures such as archways, roof lines and to make strings follow curved things. Oh, say a pumpkin shaped megatree 🙂


Reply
Posts: 1015
(@gilrock)
Noble Member
Joined: 14 years ago
Wolfie wrote:Have you considered a spline (start, end and two control handles) line type with your polyline?

It could then be used to follow curved structures such as archways, roof lines and to make strings follow curved things. Oh, say a pumpkin shaped megatree 🙂

Of course I "considered" it...for about 3 seconds. I can provide my PayPal address if someone wants that bad enough. Doesn't really seem to be worth it to spend time on that right now since you can put the points close enough to do a curve as is.

Curves

Reply
Posts: 86
(@markrvp)
Estimable Member
Joined: 19 years ago

I LOVE, LOVE, LOVE this new model type! I was finally able to outline my Dad's crazy roof. It also gave me the ability to outline the yard in a way that effects behave the way they are supposed to. Thank you Gil!!!


Reply
Wolfie
Posts: 2225
(@wolfie)
Noble Member
Joined: 11 years ago

You know my quest for a sphere (either hemisphere or full sphere).

Another kind person here hooked me up with a XLS that generates a custom model.

Now you have the polyline. I presume I could draw out 24 polylines in the form of a psudo-hemisphere ball.

How would xLights differ in how it renders effects between the polyline version and the custom model?

I also intend to map pixels for use with the phonem mapping so it will be a singing pumpkin. Would a polyline version or the custom model version be best suited to this?


Reply
Posts: 1015
(@gilrock)
Noble Member
Joined: 14 years ago
Wolfie wrote:

How would xLights differ in how it renders effects between the polyline version and the custom model?

I also intend to map pixels for use with the phonem mapping so it will be a singing pumpkin. Would a polyline version or the custom model version be best suited to this?

The Polyline model actually knows the order of the pixels if you drop an effect intended to move in a straight line. You could never do that with a custom model unless you created a second proxy model to define the pixel ordering. For phoneme mapping I don't know I'd just play around and learn what works for you. Other developers have done so much work in that area I haven't had time to figure out how to use all those features.


Reply
Page 1 / 5
Share: