Author Topic: color guide  (Read 1463 times)

sorry if it a spam

but can some one make a color guide pliz?

i realy need it

I'm assuming you mean how to make a colorset.

Lets look at the default one.
Code: [Select]
0.900 0.000 0.000 1.000
0.900 0.900 0.000 1.000
0.000 0.500 0.250 1.000
0.200 0.000 0.800 1.000
0.900 0.900 0.900 1.000
0.750 0.750 0.750 1.000
0.500 0.500 0.500 1.000
0.200 0.200 0.200 1.000
100 50 0 255
DIV:Standard

230 87 20 255
191 46 123 255
99 0 30 255
34 69 69 255
0 36 85 255
27 117 196 255
255 255 255 255
20 20 20 255
255 255 255 64
DIV:Bold

236 131 173 255
255 154 108 255
255 224 156 255
244 224 200 255
200 235 125 255
138 178 141 255
143 237 245 255
178 169 231 255
224 143 244 255
DIV:Soft

0.667 0.000 0.000 0.700
1.000 0.500 0.000 0.700
0.990 0.960 0.000 0.700
0.000 0.471 0.196 0.700
0.000 0.200 0.640 0.700
152 41 100 178
0.550 0.700 1.000 0.700
0.850 0.850 0.850 0.700
0.100 0.100 0.100 0.700
DIV:Transparent

What we are seeing here is..

Code: [Select]
Cell Color
Cell Color
Cell Color
Cell Color
Cell Color
Cell Color
Cell Color
Cell Color
DIV:Column Name

The DIV part is pretty easy to figure out. However, the colors not so much to the untrained eye. Generally speaking, Torque uses a color system that is not Hex or the RGB-255 system, instead it is an RGB-Decimal.

If we had the color white, it would be 255 255 255 255 in RGBA. (The fourth number is transparency. 0 is invisible and 255 is 100% opaque). In Torque, it would be 1.0 1.0 1.0 1.0
If you were trying to turn RGBA into Decimal form, simply divide each number by 255. So, turning "104 204 93 255" into decimal would end up as "0.407 0.800 0.364 1"

So, if we were making a very, very bland colorset that allowed only black and white, it would look like this:

Code: [Select]
1.0 1.0 1.0 1.0
0.0 0.0 0.0 1.0
DIV:Only Options

Notice the black still has a 1.0 for it's fourth number; That's because we still want to see it. If it was 0 0 0 0, it would be completely invisible and of no use.


Hope that helps.
« Last Edit: March 24, 2009, 03:05:33 AM by Thief »

In other words, Red, green, blue, alpha.

The higher the number the more of that colour.

Seriously stop making something so single look confusing.
« Last Edit: March 24, 2009, 03:09:25 AM by tails »

In other words, Red, green, blue, alpha.

The higher the number the more of that colour.

Seriously stop making something so single look confusing.
I didn't try to over complicate it.

I explained it in 3 sentences, You explained it in 3 code boxes and 8 sentences

I explained it in 3 sentences, You explained it in 3 code boxes and 8 sentences
He was asking how to do a color set. You explained what the sequence means. You did not detail the parameters of these numbers. You might expect a person who has never touched colorsets to put

"BRICKRED DARKGREEN CYAN SORTOFCLEAR" into a cell and expect it to work. My explanation was detailed without rambling.

i mean in the add-one change
no color set
sorry

i mean in the add-one change
no color set
sorry
I do not know what you mean. Please elaborate.

i mean in the add-one change
no color set
sorry
What do you mean, Color Varibles or the \c6 = white?

Explain more please.

Do you mean Hexadecimal color codes?

Like:

"FF00FF"