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

Nutcracker: new effect, meteors

Discussion in 'xLights (Nutcracker)' started by smeighan, Mar 16, 2012.

  1. smeighan

    smeighan Dedicated Elf

    Joined:
    Jan 19, 2012
    Messages:
    1,077
    Likes Received:
    16
    Location:
    4217 Greenfinch Dr CO 80126
    Another effect connected into Nutcracker,


    _POST
    username f
    user_target ZZ_ZZ
    effect_class meteors
    effect_name METEOR1
    window_degrees 360
    start_color #FF1100
    end_color #380101
    frame_delay 11
    sparkles 0
    maxPhase 4
    seq_duration 5
    maxMeteors 5
    submit Submit Form to create your target model


    [​IMG]


    one more


    _POST
    username f
    user_target ZZ_ZZ
    effect_class meteors
    effect_name METEOR2
    window_degrees 360
    start_color #FF1E05
    end_color #275C27
    frame_delay 11
    sparkles 0
    maxPhase 6
    seq_duration 5
    maxMeteors 3
    submit Submit Form to create your target model


    [​IMG]
     
  2. OP
    OP
    smeighan

    smeighan Dedicated Elf

    Joined:
    Jan 19, 2012
    Messages:
    1,077
    Likes Received:
    16
    Location:
    4217 Greenfinch Dr CO 80126
    Added one more option


    random_colours =1, then every pixel in the meteor is a different color
    random_colours=2, random color for the meteor, but the hue is kept the same


    any other value the the meteor will start with your start_color and finish with your end_color.


    here is random_colours=2


    _POST
    username f
    user_target ZZ_ZZ
    effect_class meteors
    effect_name METEOR4
    window_degrees 360
    start_color #FF1100
    end_color #380101
    frame_delay 11
    sparkles 5
    maxPhase 7
    seq_duration 5
    maxMeteors 3
    random_colours 2
    submit Submit Form to create your effect


    [​IMG]






    random_colours=1
    _POST
    username f
    user_target ZZ_ZZ
    effect_class meteors
    effect_name METEOR5
    window_degrees 360
    start_color #FF1100
    end_color #380101
    frame_delay 11
    sparkles 5
    maxPhase 7
    seq_duration 5
    maxMeteors 3
    random_colours 1
    submit Submit Form to create your effect


    [​IMG]


    and finally any other number and we will look to start and end colors
    _POST
    username f
    user_target ZZ_ZZ
    effect_class meteors
    effect_name METEOR6
    window_degrees 360
    start_color #FF1100
    end_color #380101
    frame_delay 11
    sparkles 5
    maxPhase 7
    seq_duration 5
    maxMeteors 3
    random_colours 0
    submit Submit Form to create your effect


    [​IMG]


    thanks
     
  3. Beacy

    Beacy It's so much better on the dark side

    Joined:
    Jun 10, 2010
    Messages:
    466
    Likes Received:
    0
    Location:
    Beaconsfield
    Wow they look amazing, They only question I have is how do I get it to run inside LSP?
     
  4. OP
    OP
    smeighan

    smeighan Dedicated Elf

    Joined:
    Jan 19, 2012
    Messages:
    1,077
    Likes Received:
    16
    Location:
    4217 Greenfinch Dr CO 80126

    I have a ping to david asking what he thinks is the best way for me to do this, going on 3 days, no answer.


    I really dont want to have to make an xml, so complicated


    It was suggested that maybe there is a way to get Nutcracker data into the clipboard. I understand that you can cut and paste in LSP.


    If someone would copy a small section of data and if we could see the contents of the clipboard maybe we could go that way.
     
  5. David_AVD

    David_AVD Bite my shiny metal ass!

    Joined:
    Jun 12, 2010
    Messages:
    3,541
    Likes Received:
    81
    Location:
    Victoria Point (Brisbane)
    Find Me On:
    That's assuming LSP uses the Windows clipboard of course. Some applications do, but some use their own private scratchpad instead.
     
  6. AussiePhil

    AussiePhil Dedicated Elf Administrator

    Joined:
    Jun 20, 2009
    Messages:
    1,391
    Likes Received:
    1
    Location:
    Canberra, ACT, Australia
    Find Me On:
    Sean


    Apparently David (LSP) is currently on holiday


    Cheers
    Phil

     
  7. joeengler

    joeengler Apprentice Elf

    Joined:
    May 20, 2010
    Messages:
    90
    Likes Received:
    0
    Location:
    Garden City, MI 48135
    I tried to do a cut and paste and it appears that LSP is not using the windows clip board for this function. I did attach all the xml files that were in my directory that may help.
     

    Attached Files:

  8. OP
    OP
    smeighan

    smeighan Dedicated Elf

    Joined:
    Jan 19, 2012
    Messages:
    1,077
    Likes Received:
    16
    Location:
    4217 Greenfinch Dr CO 80126
    Bug fixes: Meteor type 3 was not working. Sparkles was not working. Both are now fixed.
    Some examples:


    meteor type 1, every pixel is random . Note: your start and end colors are ignored for this effect.
    array_to_save
    username f
    user_target AA
    effect_class meteors
    effect_name METEOR_RG1
    window_degrees 180
    start_color #FF0000
    end_color #16FF05
    frame_delay 100
    sparkles 0
    maxPhase 5
    seq_duration 5
    maxMeteors 5
    meteor_type 1
    submit Submit Form to create your effect
    OBJECT_NAME meteors
    show_frame N
    direction cw


    [​IMG]




    Meteor type 2: each meteor will keep the same color throughout its life. Here we have 0% for sparkles
    array_to_save
    username f
    user_target AA
    effect_class meteors
    effect_name METEOR_RG1
    window_degrees 180
    start_color #FF0000
    end_color #16FF05
    frame_delay 100
    sparkles 0
    maxPhase 5
    seq_duration 5
    maxMeteors 5
    meteor_type 2
    submit Submit Form to create your effect
    OBJECT_NAME meteors
    show_frame N
    direction cw
    [​IMG]


    Here is the same meteor type 2 but sparkles has been set to 33%
    array_to_save
    username f
    user_target AA
    effect_class meteors
    effect_name METEOR_RG2s
    window_degrees 180
    start_color #FF0000
    end_color #16FF05
    frame_delay 100
    sparkles 33
    maxPhase 5
    seq_duration 5
    maxMeteors 5
    meteor_type 2
    submit Submit Form to create your effect
    OBJECT_NAME meteors
    show_frame N
    direction cw
    [​IMG]


    Here is meteor type 3, as we go through the frame sequence a meteor will be shifted between your start and end color. any given meteor will keep its hue.
    sparkles set at 33% so you can compare with the above image.


    array_to_save
    username f
    user_target AA
    effect_class meteors
    effect_name METEOR_RG3s
    window_degrees 180
    start_color #FF0000
    end_color #16FF05
    frame_delay 100
    sparkles 33
    maxPhase 5
    seq_duration 5
    maxMeteors 5
    meteor_type 3
    submit Submit Form to create your effect
    OBJECT_NAME meteors
    show_frame N
    direction cw
    [​IMG]




    and finally, what if you want a meteor shower with just white.
    Select meteor type 2 or 3 and set start and end color = #FFFFFF.


    array_to_save
    username f
    user_target AA
    effect_class meteors
    effect_name METEOR_RG2w
    window_degrees 180
    start_color #FFFFFF
    end_color #FFFFFF

    frame_delay 100
    sparkles 0
    maxPhase 5
    seq_duration 5
    maxMeteors 5
    meteor_type 2
    submit Submit Form to create your effect
    OBJECT_NAME meteors
    show_frame N
    direction cw
    [​IMG]
     

Share This Page