Thank you so much for such a detailed answer.
I didn't post my code 'cause it wasn't ready for public exposure.
But i've looked at your formula, and made a simpler skin just to test your code and debug stuffs, so we can have a common base.
Here's the code: And this is how it looks: I've modified your formula, and made measures just to show the results (i've tried to comment well the code), but no matter what i try, the bar color never changes from cyan, even if the R, G and B amount are correct.
I don't know what I am doing wrong. Can you point it to me?
A bit more generic question: i've create some variables for "static" numbers like sums or divisions of variables that won't change, and also to make the formulae more readable. The reasoning was to avoid to make the same division over and over, but then i see that variables are a bit like C macros, so them get "expanded" where they are inserted, hence i doubt my reasoning has any value. Do this impact Rainmeter performances? is it a good or bad technique?
Thanks again.
I didn't post my code 'cause it wasn't ready for public exposure.
But i've looked at your formula, and made a simpler skin just to test your code and debug stuffs, so we can have a common base.
Here's the code:
I don't know what I am doing wrong. Can you point it to me?
A bit more generic question: i've create some variables for "static" numbers like sums or divisions of variables that won't change, and also to make the formulae more readable. The reasoning was to avoid to make the same division over and over, but then i see that variables are a bit like C macros, so them get "expanded" where they are inserted, hence i doubt my reasoning has any value. Do this impact Rainmeter performances? is it a good or bad technique?
Thanks again.
Statistics: Posted by Parduz — Today, 4:27 pm