Author Topic: Nutcracker: Spiral fix and enhancement  (Read 2760 times)

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Nutcracker: Spiral fix and enhancement
« on: November 05, 2012, »
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) Left and Right Handiness (direction of spiral as it goes form top to bottom), has now been fixed.
7) 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.

BOTH spiral
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





spirals Effect Settings
username   f
user_target   A
effect_class   spirals
effect_name   SEAN3_BOTH2
handiness   b
number_spirals   6
number_rotations   2
spiral_thickness   4
window_degrees   180
frame_delay   50
sparkles   0
sparkles_count   0
direction   cw
rainbow_hue   n
color1   #FF033D
color2   #B50000
color3   #18FF08
color4   #058F00
color5   #006FFF
color6   #003A91
fade_3d   y
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




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
« Last Edit: November 05, 2012, by smeighan »
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline gsxrgirl7

  • Sr. Member
  • ****
  • Posts: 244
Re: Nutcracker: Spiral fix and enhancement
« Reply #1 on: November 12, 2012, »
Sean - I am still having an issue with it displaying my gif when i try to create my effect.  I get this message when i go to click the submit to create effect button.
We went through all the steps, the path editor still has the path in there, the folders are where they should be, so I am unsure why the gif is still not showing up.  Any ideas?
It provides me the export link, but no gif - see message below....

'gnuplot' is not recognized as an internal or external command, operable program or batch file.
"Life is either a daring adventure or nothing"
Helen Keller

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Spiral fix and enhancement
« Reply #2 on: November 12, 2012, »
You are not allowed to view links. Register or Login
Sean - I am still having an issue with it displaying my gif when i try to create my effect.  I get this message when i go to click the submit to create effect button.
We went through all the steps, the path editor still has the path in there, the folders are where they should be, so I am unsure why the gif is still not showing up.  Any ideas?
It provides me the export link, but no gif - see message below....

'gnuplot' is not recognized as an internal or external command, operable program or batch file.

Did u do step number 6 from this thread You are not allowed to view links. Register or Login
??

If u did, have you rebooted your machine to pick up the new path?

Thanks
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline gsxrgirl7

  • Sr. Member
  • ****
  • Posts: 244
Re: Nutcracker: Spiral fix and enhancement
« Reply #3 on: November 12, 2012, »
Yes I've done that already, and rebooted once, but I'll reboot once more and see if it helps.  I'll let you know shortly.
"Life is either a daring adventure or nothing"
Helen Keller

Offline gsxrgirl7

  • Sr. Member
  • ****
  • Posts: 244
Re: Nutcracker: Spiral fix and enhancement
« Reply #4 on: November 12, 2012, »
OK I rebooted once more and still get the same message, and I checked my patheditor, and the path is there...

see screen shot...


"Life is either a daring adventure or nothing"
Helen Keller

Offline gsxrgirl7

  • Sr. Member
  • ****
  • Posts: 244
Nutcracker: Spiral fix and enhancement
« Reply #5 on: November 13, 2012, »
So any ideas for what to try next?  I am doing it in google chrome, and my screen shot above of my path editor, a d I have rebooted a couple of times. 

However I still get the same issue and it won't pull up the gif's. 
Julie


Sent from my iPhone using Tapatalk
"Life is either a daring adventure or nothing"
Helen Keller

Offline lonewolf41

  • Coop Manager
  • Sr. Member
  • *
  • Posts: 2138
Re: Nutcracker: Spiral fix and enhancement
« Reply #6 on: November 13, 2012, »
Have you tried reinstalling xampp?  Maybe something got corrupted on initial install. 

-Keith

Offline gsxrgirl7

  • Sr. Member
  • ****
  • Posts: 244
Re: Nutcracker: Spiral fix and enhancement
« Reply #7 on: November 13, 2012, »
No I haven't done that but I can try, but the local nutcracker works fine except for the gifs.  The xampp will effect the gifs as well?
"Life is either a daring adventure or nothing"
Helen Keller

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Spiral fix and enhancement
« Reply #8 on: November 13, 2012, »
You are not allowed to view links. Register or Login
No I haven't done that but I can try, but the local nutcracker works fine except for the gifs.  The xampp will effect the gifs as well?

it should not.

you are saying you see the animated gifs for all other effects on your local install except for anoimated gif effect?
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2494
Re: Nutcracker: Spiral fix and enhancement
« Reply #9 on: November 14, 2012, »
gif online result display or gif class type?  I do not have my laptop near me at the moment to check my path, but should the gnuplot path have a \ at the end of the line?
Jim Nealand
Kennesaw, GA

Offline gsxrgirl7

  • Sr. Member
  • ****
  • Posts: 244
Nutcracker: Spiral fix and enhancement
« Reply #10 on: November 14, 2012, »
What I'm saying is on the local copy it doesn't matter what effect I try to look at, when I click the submit button to create or generate effect, I get the links to be able to download and export the files but no gif, just that error message where the gif should display on the page along with all the other regular stuff on the page.


Sent from my iPhone using Tapatalk
"Life is either a daring adventure or nothing"
Helen Keller

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Spiral fix and enhancement
« Reply #11 on: November 14, 2012, »
You are not allowed to view links. Register or Login
What I'm saying is on the local copy it doesn't matter what effect I try to look at, when I click the submit button to create or generate effect, I get the links to be able to download and export the files but no gif, just that error message where the gif should display on the page along with all the other regular stuff on the page.


Sent from my iPhone using Tapatalk

i include the binary file that should work on windows xp and windows 7.

Try getting the latest gnuplot
You are not allowed to view links. Register or Login

install it in like c:\gnuplot

after installation, run PathEditor and delete your old gnuplot path and new path to this directories bin directory.
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline gsxrgirl7

  • Sr. Member
  • ****
  • Posts: 244
Nutcracker: Spiral fix and enhancement
« Reply #12 on: November 14, 2012, »
I use windows vista if that makes any difference.. But at some point after the season we will wipe the pc and take vista off and put XP on it.


Sent from my iPhone using Tapatalk
"Life is either a daring adventure or nothing"
Helen Keller

Offline gsxrgirl7

  • Sr. Member
  • ****
  • Posts: 244
Nutcracker: Spiral fix and enhancement
« Reply #13 on: November 14, 2012, »
Ok ill try using the latest gnuplot and redo the path editor.


Sent from my iPhone using Tapatalk
"Life is either a daring adventure or nothing"
Helen Keller

Offline gsxrgirl7

  • Sr. Member
  • ****
  • Posts: 244
Nutcracker: Spiral fix and enhancement
« Reply #14 on: November 14, 2012, »
Ok that worked!  I see my animated gif now!!  Thanks so very much!!! 


Sent from my iPhone using Tapatalk
"Life is either a daring adventure or nothing"
Helen Keller