1. New to Christmas lighting? Get started with the AusChristmasLighting 101 Manual:
    auschristmaslighting.com/wiki/AusChristmasLighting-101

Nutcracker: Spiral fix and enhancement

Discussion in 'xLights (Nutcracker)' started by smeighan, Nov 6, 2012.

  1. smeighan

    smeighan Dedicated Elf

    Joined:
    Jan 19, 2012
    Messages:
    1,064
    Likes Received:
    9
    Location:
    4217 Greenfinch Dr CO 80126
    I completely rewrote the spiral effect,


    1) It is more than 2x faster to generate effect
    2) The glitch in each generation of the spiral is fixed. This was the *MAIN* error, it also turned out that this glitch would effect all effects generated by Nutcracker. Fixed.
    3) Corrected the number of spiral wraps so it works from zero to 100. Before only worked from 0 to 2.0.
    4) Fixed a bug (no one had brought up), that if you created a 360 target, created a spiral. Now go back and make target 180 degrees and make a spiral. Original 360 effect would be appended into the 180 degree spiral.
    5) Delete gnuplot dat files after creating effects. This will save a huge amount of my disk space.
    6) New effect, in the handiness (spiral wrap direction). Before you had L(eft), R(ight). As you start at the top of the tree, which way to wrap the spiral. New option is B(oth) directions. This removes the need to generate a Left and a Right spiral and then use layers to join them together.


    <b>BOTH spiral</b>
    spirals Effect Settings
    username f
    user_target A
    effect_class spirals
    effect_name SEAN3_BOTH
    handiness B
    number_spirals 2
    number_rotations 0.5
    spiral_thickness 2
    window_degrees 180
    frame_delay 50
    sparkles 15
    sparkles_count 10
    direction cw
    rainbow_hue Y
    color1 #FF033D
    color2 #0831FF
    color3 #FFFFFF
    color4 #FFFFFF
    color5 #FFFFFF
    color6 #FFFFFF
    fade_3d N
    show_frame n
    seq_duration 9
    fade_in 0
    fade_out 0
    speed .5
    submit Submit Form to create your effect
    $use_background N
    background_color #FFFFFF
    batch 0
    OBJECT_NAME spirals




    [​IMG]


    <b>LEFT wrap spiral</b>
    spirals Effect Settings
    username f
    user_target A
    effect_class spirals
    effect_name SEAN3_LEFT
    handiness L
    number_spirals 2
    number_rotations 0.5
    spiral_thickness 2
    window_degrees 180
    frame_delay 50
    sparkles 15
    sparkles_count 10
    direction cw
    rainbow_hue Y
    color1 #FF033D
    color2 #0831FF
    color3 #FFFFFF
    color4 #FFFFFF
    color5 #FFFFFF
    color6 #FFFFFF
    fade_3d N
    show_frame n
    seq_duration 9
    fade_in 0
    fade_out 0
    speed 1.0
    submit Submit Form to create your effect
    $use_background N
    background_color #FFFFFF
    batch 0
    OBJECT_NAME spirals
    [​IMG]






    <b>RIGHT wrap spiral</b>
    spirals Effect Settings
    username f
    user_target A
    effect_class spirals
    effect_name SEAN3_RIGHT
    handiness R
    number_spirals 2
    number_rotations 0.5
    spiral_thickness 2
    window_degrees 180
    frame_delay 50
    sparkles 15
    sparkles_count 10
    direction cw
    rainbow_hue Y
    color1 #FF033D
    color2 #0831FF
    color3 #FFFFFF
    color4 #FFFFFF
    color5 #FFFFFF
    color6 #FFFFFF
    fade_3d N
    show_frame n
    seq_duration 9
    fade_in 0
    fade_out 0
    speed .5
    submit Submit Form to create your effect
    $use_background N
    background_color #FFFFFF
    batch 0
    OBJECT_NAME spirals


    [​IMG]




    I have two bugs left to work on


    If you make a spiral with rainbow colors, fade_3D='Y' and export to lms, lms gives an error about the xml file. This is a new bug , probably introduced by the large changes i made. ill work it. All other combinations itried with LOR all worked fine.
    Pixel #1 on the first string for LOR is wrong. This is pretty minor, 1 pixel out of your entire tree. I will fix it also as I get time to look into it.


    thanks
    sean
     

Share This Page