These are chat archives for CoraleStudios/Colore

1st
Jul 2016
crayzeedude
@crayzeedude
Jul 01 2016 01:00
quick question if anyone's here.. is it possible to decrease the time it takes for a chroma device to change colors? or is that only with the C++ SDK?
Adam Hellberg
@Sharparam
Jul 01 2016 01:00
What method are you using for changing the colors?
crayzeedude
@crayzeedude
Jul 01 2016 01:01
SetStatic
but i haven't done much looking around so i haven't found a way if there is one
Adam Hellberg
@Sharparam
Jul 01 2016 01:01
The built-in chroma effects have a set fade delay when changing them which is hardcoded in the SDK. If you use the Custommethods the change should be instant.
crayzeedude
@crayzeedude
Jul 01 2016 01:02
ahh thanks
will try this
Adam Hellberg
@Sharparam
Jul 01 2016 01:02
so for setting the whole device, which is what static does, you could use SetAll
SetAll uses the custom grid effect internally to set the color, so it should be an instant change
crayzeedude
@crayzeedude
Jul 01 2016 01:03
am i still able to set a custom fade length?
i'm trying to replicate the sixth sense flash effect from world of tanks
Adam Hellberg
@Sharparam
Jul 01 2016 01:04
you mean for effects like breathing which has the duration parameter?
crayzeedude
@crayzeedude
Jul 01 2016 01:04
i guess so, i haven't experimented with breathing
Adam Hellberg
@Sharparam
Jul 01 2016 01:05
with custom effects it will just set the defined colors, any animation features will have to be coded by yourself (we may look into implementing some kind of animation/frame support in future versions of Colore though)
crayzeedude
@crayzeedude
Jul 01 2016 01:05
alright
Adam Hellberg
@Sharparam
Jul 01 2016 01:06
IIRC someone here had made something that faded between various colors using Custom, you'd basically need to set it to the start color, and then with regular intervals change it gradually to the target color, creating a fading effect
the SDK has some internal rate-limiting to its calls though, so keep that in mind if you're making a lot of calls in a short amount of time
crayzeedude
@crayzeedude
Jul 01 2016 01:09
looking around and can't find a Custom struct for headsets?
Adam Hellberg
@Sharparam
Jul 01 2016 01:09
headsets don't support custom, so they only have the pre-defined built-in effects
crayzeedude
@crayzeedude
Jul 01 2016 01:10
ah
Adam Hellberg
@Sharparam
Jul 01 2016 01:10
i think a workaround for achieving an instant color change on headsets is to first call Clear and then SetStatic
or SetAll
It might've been with the recent changes, so if that doesn't work you can try this as well: SetEffect(Effect.None); SetAll(someColor);
in case it needs the actual None effect