|
Post by profezzorn on Feb 11, 2018 15:35:41 GMT -5
Got some cool blade styles? Found some on the web? Made a video to show them off? Post it all here so that other people can use it too.
I would post mine, but they are all already in common_config.h
|
|
|
Post by megtoothsith on Feb 11, 2018 16:24:54 GMT -5
Brand new one, just out on latest software release! Cylon. This one is on one of those silly Kylo Sabers I'm building. I even made a quick and dirty custom sound font for it. Size of blade taken up by the bolt, color, and speed are all adjustable. Here were my settings here, which I timed to match the EyeScan Hum soundfont I made.
{ "font08", "tracks/track10.wav", StyleNormalPtr<Cylon<RED, 10, 43>, WHITE, 300, 800> (), StyleNormalPtr<Cylon<RED,5,43>, WHITE, 300,300>(), StyleNormalPtr<Cylon<RED,5,43>, WHITE, 300,300>(), },
Video of it working:
|
|
|
Post by zimmerlabs on Feb 11, 2018 20:02:41 GMT -5
For anyone interested, here's the code for the "tron blade" or colorcycle blade i've been putting in my most recent lightsaber builds. Keep in mind that these settings are only what I have found works the way I want. But the settings are totally configurable and you can make whatever changes you like. Maybe speed the effect up or down to match an ignition sound? etc...
Tron Blade
StylePtr<ColorCycle<BLACK, 1, 0,BLUE, 99,1200, 4000>> (), "tron"},
Enjoy!
Ethan Zimmer Zimmer Labs
|
|
|
Post by zimmerlabs on Feb 11, 2018 20:05:30 GMT -5
PS, for a video of the Tron blade in action:
right around the 7:00 minute mark.
Enjoy!
|
|
|
Post by megtoothsith on Feb 11, 2018 20:14:40 GMT -5
Oh thank you Ethan!!! I've been dying to get my hands on that one! You have made one heck of a bladestyle there! You are the man!!!
Tom
|
|
|
Post by profezzorn on Feb 11, 2018 20:31:14 GMT -5
For anyone interested, here's the code for the "tron blade" or colorcycle blade i've been putting in my most recent lightsaber builds. Keep in mind that these settings are only what I have found works the way I want. But the settings are totally configurable and you can make whatever changes you like. Maybe speed the effect up or down to match an ignition sound? etc... Tron Blade StylePtr<ColorCycle<BLACK, 1, 0,BLUE, 99,1200, 4000>> (), "tron"}, Enjoy! Ethan Zimmer Zimmer Labs Might be nice to add the other effects, perhaps something like: StylePtr<ColorCycle<BLACK, 1, 0, EasyBlade<BLUE, WHITE>, 99, 1200, 4000> >()
|
|
|
Post by squimbus on Feb 11, 2018 21:14:19 GMT -5
For anyone interested, here's the code for the "tron blade" or colorcycle blade i've been putting in my most recent lightsaber builds. Keep in mind that these settings are only what I have found works the way I want. But the settings are totally configurable and you can make whatever changes you like. Maybe speed the effect up or down to match an ignition sound? etc... Tron Blade StylePtr<ColorCycle<BLACK, 1, 0,BLUE, 99,1200, 4000>> (), "tron"}, Enjoy! Ethan Zimmer Zimmer Labs Gah that would so cool at the emitter in a ring of LEDs like a power source spooling up before the blade ignites.
|
|
|
Post by danlim on Feb 11, 2018 22:27:35 GMT -5
Thanks for the tips from Ethan & Profezzorn..
I did some more experiment... kind of interesting effect...
StylePtr<ColorCycle<OrangeRed, 1, 1, EasyBlade<Rainbow, WHITE>, 100, 1200, 10000> >()
When u switch to this font, there will be 3 orange LED moving up slowly... once you turn ON, it will slowly ramping up the speed and change to Rainbow colour at slower speed... after which will flicker at rainbow blade colour... Pretty good for rotational effect with Siren sound font.... Just amaze at how many combination you can do...
|
|
|
Post by megtoothsith on Feb 12, 2018 1:40:47 GMT -5
For anyone interested, here's the code for the "tron blade" or colorcycle blade i've been putting in my most recent lightsaber builds. Keep in mind that these settings are only what I have found works the way I want. But the settings are totally configurable and you can make whatever changes you like. Maybe speed the effect up or down to match an ignition sound? etc... Tron Blade StylePtr<ColorCycle<BLACK, 1, 0,BLUE, 99,1200, 4000>> (), "tron"}, Enjoy! Ethan Zimmer Zimmer Labs Might be nice to add the other effects, perhaps something like: StylePtr<ColorCycle<BLACK, 1, 0, EasyBlade<BLUE, WHITE>, 99, 1200, 4000> >() Well, I see why Ethan didn't use easy blade and effects. I guess with the blade motion, the effects are too much for it. The FOC triggers a processor glitch/lockup. I went back to Ethan's original code and have no issues with it. It was a good idea though. Tom
|
|
|
Post by profezzorn on Feb 12, 2018 2:59:54 GMT -5
Might be nice to add the other effects, perhaps something like: StylePtr<ColorCycle<BLACK, 1, 0, EasyBlade<BLUE, WHITE>, 99, 1200, 4000> >() Well, I see why Ethan didn't use easy blade and effects. I guess with the blade motion, the effects are too much for it. The FOC triggers a processor glitch/lockup. I went back to Ethan's original code and have no issues with it. It was a good idea though. Tom I tried it out, but wasn't able to trigger any major problems. The blast effect causes a pretty major slowdown though, which is noticable because of the fast-moving dark spot that is left. I tried changing the 99 to 100 to get rid of the dark spot, but that causes flickers, which makes me think there are some bugs in ColorCycle (going bug hunting)
|
|
|
Post by profezzorn on Feb 12, 2018 3:56:00 GMT -5
Well, I see why Ethan didn't use easy blade and effects. I guess with the blade motion, the effects are too much for it. The FOC triggers a processor glitch/lockup. I went back to Ethan's original code and have no issues with it. It was a good idea though. Tom I tried it out, but wasn't able to trigger any major problems. The blast effect causes a pretty major slowdown though, which is noticable because of the fast-moving dark spot that is left. I tried changing the 99 to 100 to get rid of the dark spot, but that causes flickers, which makes me think there are some bugs in ColorCycle (going bug hunting) Fixed the flickering when using 100% in ColorCycle, also made it turn off properly when at 0%. The fix is on github and in this beta version: fredrik.hubbe.net/lightsaber/lightsaber-1.225.zipI used: StylePtr<ColorCycle<BLACK, 0, 0, EasyBlade<BLUE, WHITE>, 100, 1200, 4000> >()
|
|
|
Post by anvil on Feb 13, 2018 16:50:01 GMT -5
PS, for a video of the Tron blade in action: right around the 7:00 minute mark. Enjoy! Cool! Hey so i bet this is for my buddy Ronnie i work with in special effects for marvel studios! I got him into custom sabers working on my first custom hilt at work. Told him about the teensysaber and how it was going to be my next build and he came in like a week later saying how he had bought a crapload of sabers and was getting you to put teensy's in all of them. Made me super jealous lol. He hooked me up with your contact info so i could pick your brain about getting into the teensy. Glad to see youre on a forum now. about to start my first teensy!
|
|
|
Post by kanyonkris on Feb 13, 2018 19:55:34 GMT -5
I like adding an AudioFlicker to most blade styles to make it a bit more lively than just a solid color. The AudioFlicker works nicely because the flickering matches the hum, or whatever sound is going on at the moment. Usually I do the AudioFlicker between a bright (usually full on) color and that color just a bit dimmer. In the example below it flickers between full BLUE at 255 and a dimmer blue at 200. Now that I think about it, might look interesting to flicker between two different colors. Anyway, this is a simple tweak that makes many styles look a bit better.
{ "smthjedi", "tracks/cantina.wav", StylePtr<InOutSparkTip<EasyBlade<AudioFlicker<BLUE, Rgb<0,0,200> >, WHITE>, 300, 800> >(), "blueflicker" },
Here's a video of it in action:
|
|
|
Post by zimmerlabs on Feb 13, 2018 20:04:14 GMT -5
wow, nice response everyone! keep the ideas coming!
here are a few more that I really like (blood orange blade is my new favorite):
StylePtr<InOutSparkTip<EasyBlade<Pulsing<RED, Rgb<255,50,0>,50>, WHITE>, 300, 800> >(), "blood orange"},
StylePtr<InOutSparkTip<EasyBlade<Pulsing<Rgb<255,200,0>, Rgb<127,100,0>,25>, WHITE>, 300, 800> >(), "pulsing gold"},
StylePtr<InOutSparkTip<EasyBlade<Pulsing<BLUE, Rgb<0,50,255>,50>, WHITE>, 300, 800> >(), "ice blue"},
StylePtr<InOutSparkTip<EasyBlade<Pulsing<BLUE, GREEN,20>, WHITE>, 300, 800> >(), "aqua"},
and here's the new version of my "tron" colorcycle blade. with Fredrik's suggestions included
StylePtr<ColorCycle<BLACK, 1, 0, EasyBlade<BLUE, WHITE>, 100, 1200, 4000> >(), "blue cycle"}, StylePtr<ColorCycle<BLACK, 1, 0, EasyBlade<GREEN, WHITE>, 100, 1200, 4000> >(), "green cycle"},
|
|
|
Post by zimmerlabs on Feb 13, 2018 20:06:39 GMT -5
PS, for a video of the Tron blade in action: right around the 7:00 minute mark. Enjoy! Cool! Hey so i bet this is for my buddy Ronnie i work with in special effects for marvel studios! I got him into custom sabers working on my first custom hilt at work. Told him about the teensysaber and how it was going to be my next build and he came in like a week later saying how he had bought a crapload of sabers and was getting you to put teensy's in all of them. Made me super jealous lol. He hooked me up with your contact info so i could pick your brain about getting into the teensy. Glad to see youre on a forum now. about to start my first teensy! You guessed it! He's told me about you. Good luck with the teensysaber build. call me if you have any questions. I'm sending Ronnie 3 new sabers tonight. With all the newest upgrades and tweaks. Hopefully he'll bring them in to show you at the shop when you guys get back to work. P.S. i love my job, but you are so lucky! I'd kill to work with you guys for Marvel
|
|
|
Post by profezzorn on Feb 13, 2018 20:08:40 GMT -5
|
|
|
Post by zimmerlabs on Feb 13, 2018 20:18:05 GMT -5
Thanks for the tips from Ethan & Profezzorn.. I did some more experiment... kind of interesting effect... StylePtr<ColorCycle<OrangeRed, 1, 1, EasyBlade<Rainbow, WHITE>, 100, 1200, 10000> >() When u switch to this font, there will be 3 orange LED moving up slowly... once you turn ON, it will slowly ramping up the speed and change to Rainbow colour at slower speed... after which will flicker at rainbow blade colour... Pretty good for rotational effect with Siren sound font.... Just amaze at how many combination you can do... Okay, this is awesome! here's what I ended up with, slightly tweaked from your version, but great idea! StylePtr<ColorCycle<OrangeRed, 1, 0, EasyBlade<Rainbow, WHITE>, 100, 1200, 8000> >(), "unicorn"
|
|
|
Post by zimmerlabs on Feb 13, 2018 20:19:38 GMT -5
Fredrik:
your avatar picture makes you look like an action movie hero/villain... I get a little scared every time I see it... Just thought I'd share
|
|
|
Post by dayadjocen on Feb 13, 2018 20:20:53 GMT -5
Fredrik: your avatar picture makes you look like an action movie hero/villain... I get a little scared every time I see it... Just thought I'd share he does kinda doesn’t he... hehe
|
|
|
Post by profezzorn on Feb 13, 2018 20:29:13 GMT -5
Fredrik: your avatar picture makes you look like an action movie hero/villain... I get a little scared every time I see it... Just thought I'd share he does kinda doesn’t he... hehe A little off-topic... When I originally signed up for fx-sabers, I chose this avatar:  I figured it looks a little like me, so I tried to take a similar picture of myself.
|
|
|
Post by dayadjocen on Feb 13, 2018 20:37:27 GMT -5
he does kinda doesn’t he... hehe A little off-topic... When I originally signed up for fx-sabers, I chose this avatar:  I figured it looks a little like me, so I tried to take a similar picture of myself. oh yeah... I can see it... 😊
|
|
|
Post by jager07 on Feb 13, 2018 23:58:26 GMT -5
Here's one I use for the calibrate sound font, it looks great and the lock goes nice with the lock up sound... It has a slow start, on spark magenta with a deep pulse with the flicker in top.
StylePtr<InOutSparkTip<EasyBlade<Pulsing< RandomPerLEDFlicker<OrangeRed, Rgb<100,5,0>> ,Rgb<50,3,0>,1500>, BLUE, WHITE>, 1300, 1300, MAGENTA> >(),
|
|
|
Post by danlim on Feb 14, 2018 20:58:53 GMT -5
While on the colour change to match the sound font, what's a better way to manage these.. Currently with those selected sound font, all will be renamed to eg.. Hum, Clash, Boot... on the SD card.. the main directory may have define like Fontdir / Font1.. Font2... If we rename a bunch of sound font set with similar naming hum, clash, boot... it will be very difficult to know what is being used to represent the LED style... unless we go thru one by one.
|
|
|
Post by profezzorn on Feb 14, 2018 21:15:51 GMT -5
While on the colour change to match the sound font, what's a better way to manage these.. Currently with those selected sound font, all will be renamed to eg.. Hum, Clash, Boot... on the SD card.. the main directory may have define like Fontdir / Font1.. Font2... If we rename a bunch of sound font set with similar naming hum, clash, boot... it will be very difficult to know what is being used to represent the LED style... unless we go thru one by one. I have no idea what you are talking about.
|
|
|
Post by dayadjocen on Feb 14, 2018 21:42:16 GMT -5
I like adding an AudioFlicker to most blade styles to make it a bit more lively than just a solid color. The AudioFlicker works nicely because the flickering matches the hum, or whatever sound is going on at the moment. Usually I do the AudioFlicker between a bright (usually full on) color and that color just a bit dimmer. In the example below it flickers between full BLUE at 255 and a dimmer blue at 200. Now that I think about it, might look interesting to flicker between two different colors. Anyway, this is a simple tweak that makes many styles look a bit better. { "smthjedi", "tracks/cantina.wav", StylePtr<InOutSparkTip<EasyBlade<AudioFlicker<BLUE, Rgb<0,0,200> >, WHITE>, 300, 800> >(), "blueflicker" }, Here's a video of it in action: you just totally handed me probably the blade style I will use most. Thanks! That looks beautiful. Nice work!
|
|
|
Post by kanyonkris on Feb 15, 2018 0:02:56 GMT -5
Some good creativity in these blade styles. Thanks everyone for sharing. I had fun loading them in my saber and trying them out. Now I have some new directions to explore.
|
|
|
Post by jager07 on Feb 19, 2018 23:33:34 GMT -5
Hi Prof, Can you check the code in the latest build 1224 on the Cylon style, I think with the addition of the code to check percentage 0 and 100, the else statement then overwrites the end_ and the effect then behaves like normal color cycle.
I have this to get it working again; Cheers (you may of already fixed it, not sure...)
start_ = pos_ * num_leds_; end_ = (pos + fraction) * num_leds_; if (current_percentage == 100.0) { start_ = 0; end_ = num_leds_; } else if (current_percentage == 0.0) { start_ = 0; end_ = 1; // I ALSO CHANGED THIS TO 1, TO MAKE SURE BLADE IS 'OFF' IF THE NEOPIXEL STRING IS NOT POWERED BY A FET... base->allow_disable(); } else { end_ = (pos + fraction) * num_leds_; //end_ = fract(pos_ + current_percentage / 100.0) * num_leds_; // <= remove this line, I think cut/paste error from color cycle... }
|
|
|
Post by jager07 on Feb 19, 2018 23:44:59 GMT -5
I forgot to add also that the start_ = pos_ * num_leds_ didn't really work the effect correctly, maybe another small bug, so I replaced it with start_ = pos * num_leds_; This now follows correctly I believe. Check it out and correct me if i'm wrong, I like this effect for the accent LEDS... Very cool.
|
|
|
Post by profezzorn on Feb 20, 2018 0:59:09 GMT -5
|
|
|
Post by jager07 on Feb 21, 2018 3:51:55 GMT -5
I downloaded 1.238 beta and cyon.h has the same issues, I think you need to try the code I posted that emsure start_ and end- are correct for the Cylon effect.
|
|