Computer Science Canada 16 million colors, how? |
Author: | Nitro [ Thu Jun 26, 2003 1:58 pm ] |
Post subject: | 16 million colors, how? |
I know its possible to assign new colors using RGB values, but is it possible to turn Turing from 256 to 16 million colors? |
Author: | Homer_simpson [ Thu Jun 26, 2003 2:06 pm ] |
Post subject: | |
yeah... well... u know when u use 16 million colors u dont really enter a number for the color that your using for example u dont say color(26626316) you use RGB mode so you say color(15,100,1) so u get a color... so ya u can have a lotta colors in turing if you create the color that you want right when u wanna use it... |
Author: | Nitro [ Thu Jun 26, 2003 3:15 pm ] |
Post subject: | hmmmm |
it seems to cut me off at a max of 1024 colors...odd. why only 2^10? |
Author: | PaddyLong [ Thu Jun 26, 2003 3:38 pm ] | ||
Post subject: | |||
something along the lines of this would probably do it...
unfortunately though, I don't think Turing can handle arrays of that size so maybe just do like ever second thing (just add by 2 to each of the for statements... ie for r : 0 .. 255 by 2) |
Author: | Homer_simpson [ Thu Jun 26, 2003 3:41 pm ] |
Post subject: | |
hells no you can't declare all those colors and put the in an array... so just create the colors u need for example if you need light red just create a color with thse numbers(128,0,0)... |
Author: | PaddyLong [ Thu Jun 26, 2003 3:42 pm ] |
Post subject: | |
yeah lol... not really practical to just store all those colours like that but if you ever did want to... that would work ;D |
Author: | Homer_simpson [ Thu Jun 26, 2003 3:53 pm ] | ||
Post subject: | |||
here's an example :
wheee look at all those pretty colors... |
Author: | Catalyst [ Thu Jun 26, 2003 4:14 pm ] | ||
Post subject: | |||
mmm colors
|
Author: | Nitro [ Thu Jun 26, 2003 9:40 pm ] |
Post subject: | My purpose? |
I wanted to find a way to create a transition between with 24bit bitmap images, one fading out while the other was fading in. |
Author: | Asok [ Fri Jun 27, 2003 1:42 am ] |
Post subject: | |
that can be done with picMerge and masks I think. (use grey scale masks to fade in/out) |