Working Great !

On Jul 18, 7:00 pm, Li <[email protected]> wrote:
> If you go from 0xFFFFFF to 0x000000 in hexadecimal, you will sweep many
> colors in between that are probably not what you are looking for.
>
> You need to sweep rgb values, and then extrapolate to the correspondinghex
> colorvalue. To calculate ahexfor given r, g and b values you can use:
>
> hex= r << 16 | g << 8 | b;
>
> So what you need to do istweenthose 3 values, and set the material color
> ontweenupdate.
>
> Hope it helps,
> Li

Reply via email to