NeoPixelBrightnessBus being deprecated #644
Replies: 5 comments 3 replies
-
Hi, I would like to suggest an enhancement to NeoGammaTableMethod to be truly useful (when speed is required). The |
Beta Was this translation helpful? Give feedback.
-
I think you are missing the point on #1 as you are used to using ESP chips maybe (or something with lots of RAM). The const table version isn't going away. To me, it sounds like a very esoteric request, something that the sketch writer can easily write and the code base allows the easy replacement to achieve what you want. |
Beta Was this translation helpful? Give feedback.
-
Yes, I do not have any experience with non-ESP hardware. Sorry about that. 😄 To clarify: I code for WLED project and we have our own gamma correction and we also allow user to modify that gamma correction by specifying arbitrary gamma value. But instead of computing brightness values every time using exponential function we store those pre-calculated values into static array during initialisation. We use that for individual color adjustment later on. As the But do not worry (if you did) 😉 there is no need to change anything as we can continue using our own implementation. I will research the possibility to make our own gamma method class. |
Beta Was this translation helpful? Give feedback.
-
#665 |
Beta Was this translation helpful? Give feedback.
-
In the v2.9.0 release the NeoPixelBrightnessBus will be removed. v2.9.0 has not be released yet, but the early work is in the CoreShaderBeta branch. |
Beta Was this translation helpful? Give feedback.
-
It is being replaced by
NeoPixelBusLg
. This new wrapper provides both luminance and gama correction in a supportable layer.Beta Was this translation helpful? Give feedback.
All reactions