Page 1 of 2

Wave, Hairstyle

Posted: 01 Jun 2008, 18:03
by Slave
another new male hairstyle idea by me, wavy, curly unruly hair.
picked grey this time cuz i figured its an easy color to recolor maybe? i dunno.


EDIT: i redrew the sprite sheet for it in real grey, making it useable for re-coloration.

Re: Wave, Hairstyle

Posted: 01 Jun 2008, 18:06
by Superkoop
These hair styles are pretty sweet you have made so far!

And AFAIK, for a item to be recolored, it just needs to have 100% saturation. I don't think the color matters.

Re: Wave, Hairstyle

Posted: 01 Jun 2008, 18:43
by Jaxad0127
Superkoop wrote:These hair styles are pretty sweet you have made so far!

And AFAIK, for a item to be recolored, it just needs to have 100% saturation. I don't think the color matters.
Not quite. In terms of RGB, each component must either be 0 or the same as the other non-0 values. Ex: 230R, 0G, 0B is recolorable while 230R, 1G, 0B isn't.

Re: Wave, Hairstyle

Posted: 01 Jun 2008, 18:58
by Slave
lol i have no clue what any of that means xD

Re: Wave, Hairstyle

Posted: 01 Jun 2008, 19:56
by Crush
http://wiki.themanaworld.org/index.php/Image_dyeing

A color is recolorable when it is "pure" gray, red, green, blue, magenta, yellow or cyan.

When you use the HSV color model: The saturation has to be 100% and the hue has to be divisible by 60. The volume determines the color chosen from the palette specified for the color channel.

When you use the RGB color model: The values of the red, green and blue color components have to be identical or 0. The value of the components which are not 0 decides which color from the palette specified for the color channel is used.


Each color can be recolored separately. This means that you can have, for example, a shirt which has pure-green sleaves and a pure-red chest in the image file and then make the engine dye the green parts yellow and the red parts pink when it loads the graphic.

Re: Wave, Hairstyle

Posted: 01 Jun 2008, 21:10
by Slave
you just blew my mind out of my skull. all i want to knwo is if my work is recolorable =[

Re: Wave, Hairstyle

Posted: 01 Jun 2008, 21:57
by Superkoop
I think it's meant like this:
Image

Where each color is purely that color alone, and all the other colors are 0. The same could be done for each of the other colors.

Re: Wave, Hairstyle

Posted: 01 Jun 2008, 21:59
by Slave
well Elder robes was pink and it was successfully recolored and its not one of the pure colors listed.

Re: Wave, Hairstyle

Posted: 01 Jun 2008, 22:22
by Superkoop
Re-reading Crushes post, I think I understand now. One of the RGB's has to be 100%, and the saturation needs to be 100%. But, the Hue can be any number divisible by 60, and the Volume can be any number you want. Which would in effectively give you many colors available.

Re: Wave, Hairstyle

Posted: 01 Jun 2008, 22:41
by Jaxad0127
Superkoop wrote:Re-reading Crushes post, I think I understand now. One of the RGB's has to be 100%, and the saturation needs to be 100%. But, the Hue can be any number divisible by 60, and the Volume can be any number you want. Which would in effectively give you many colors available.
For RGB,
* R=G=B (gray)
* R>0 G=B=0 (red)
* R=G>0 B=0 (yellow)
* R=B=0 G>0 (green)
* R=0 G=B>0 (cyan/aqua)
* R=G=0 B>0 (blue)
* R=B>0 G=0 (magenta)
can be recolored.

Re: Wave, Hairstyle

Posted: 01 Jun 2008, 22:50
by Crush
Slave wrote:well Elder robes was pink and it was successfully recolored and its not one of the pure colors listed.
Most likely because someone ran it throug a convert-to-greyscale filter - the easiest way to make something recolorable but also the most brute method because it doesn't leave out anything.
Superkoop wrote:Re-reading Crushes post, I think I understand now. One of the RGB's has to be 100%, and the saturation needs to be 100%. But, the Hue can be any number divisible by 60, and the Volume can be any number you want. Which would in effectively give you many colors available.
No, none of the RGB values _has_ to be 100%. Just all RGB values have to be either 0% or the same value. The value of the RGB channels that are used determines the color used from the specified palette.

Re: Wave, Hairstyle

Posted: 01 Jun 2008, 23:42
by Slave
well since the robe is pink, what would you ahve me do to make it recolorable crush?

Re: Wave, Hairstyle

Posted: 02 Jun 2008, 01:39
by Crush
Just convert it to greyscale, maybe leaving out parts which are not supposed to be recolored (I could, for example, imagine that you don't want the belt to be dyed).

How to do this depends on your graphic program but with GIMP you just have to select everything you want to recolor (or nothing to recolor everything on the current layer) and select colors->desaturate from the menu bar.

When you want the selection to be another recolorable color than grey you can do this by selecting colors->colorize. Set the saturation to the maximum and the hue to something divisible by 60. To make sure that every single color is at 100% saturation use colors->color/saturation to turn up the saturation again a few times.

(Note: I translated all terms from the German interface. Some things might be named slightly different)


But note that you don't have to work with recolorisation in mind when you feel uncomfortable working only with 100% or 0% saturated colors. You can leave this step to the people who do the content implementation. The only thing you have to watch out for is that you don't do any anti aliasing between areas which are supposed to be recolored with different channels or between recolored and non-recolored areas.

Re: Wave, Hairstyle

Posted: 02 Jun 2008, 01:53
by Slave
i use photoshop elements three ive never even seen the gimp interface but i wills ee if there are any similar steps, BTW i drained the color from my two new hairstyles, checkit out, and i also posted a new chainsword concept. you always have good opinions and suggestions id like if you took a look ;]

Re: Wave, Hairstyle

Posted: 02 Jun 2008, 03:06
by Superkoop
Crush wrote:No, none of the RGB values _has_ to be 100%. Just all RGB values have to be either 0% or the same value. The value of the RGB channels that are used determines the color used from the specified palette.
Okay, now I think I finally get it.
RGB values must equal the same or 0%.
Saturation must be 100%.
Hue must be divisible by 60.
And Volume can be whatever you want.

Took me a while, :oops: but I got it now. I think.