jmarshall Wrote:The problem is that the colorspace is not necessarily linear. i.e. it would require us to cycle through the colour space while altering both A,R,G and B separately.
Animations (as they are currently at least) are also multiplicative - i.e. one can have multiple animations that are all applied simultaneously from a window, down through controlgroups to individual controls. I'm not sure how well this would apply.
Certainly something interesting to look into though.
Cheers,
Jonathan
This did occur to me while i was posting that last comment, but I'm not sure how best to approach it. I started to write down some ideas here but realized they had some holes in the logic and i really don't know enough about coding to offer many worthwhile suggestions.
One idea though, in regards to the multiplicity, would it be possible to have some sort of ladder of priority with colordiffuse animations, so that whichever is "deeper" would dictate the animation to use? For example, if i had a control group that said to do a colordiffuse animation fade to green and then an image within that control group that said to fade to red, everything inside that control group would fade to green except that one image which would ignore the green fade, and instead fade to red. I can't imagine it being very desirable for colordiffuse it to function any other way, to be honest.
And thanks for the suggestions nuka, though I have my suspicions that it might not work quite how i want it in my particular case. I'll give it a shot though and report back.
EDIT: I tried your idea nuka, but it doesn't return to the original color after it loses focus, and the texture strangely isn't visible at all until it has a value for the colordiffuse (ie, until the button has gained focus). What I'm doing here is I have plain white textures that I'm giving different default colors using colordiffuse, but I want them to return to white when they gain focus, and of course return to the color after they lose focus. so, this doesn't seem to quite work unfortunately.