RUNNING WITH RIFLES
http://www.runningwithrifles.com/phpBB3/

Voxel color RGB not correct
http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=5&t=56
Page 1 of 1

Author:  Rendered [ Fri Jul 01, 2011 6:12 pm ]
Post subject:  Voxel color RGB not correct

I'm trying to put in the blue colors for grenades to better suit my mod.... but when I put in this:

r="38" g="164" b="255" a="1.000000" />

into every line, it comes out a pinkish color. I am going for a blue.

Author:  ChloChlo [ Fri Jul 01, 2011 6:13 pm ]
Post subject:  Re: Voxel color RGB not correct

There are red and green values..


... put it to

r="0" g="0" and b="255"

Author:  Rendered [ Fri Jul 01, 2011 6:14 pm ]
Post subject:  Re: Voxel color RGB not correct

ChloChlo wrote:
There are red and green values..


... put it to

r="0" g="0" and b="255"


I know. I'm trying to get this one certain shade. :\

If you put my RGB numbers into any program, thats the shade I want.

Author:  pasik [ Fri Jul 01, 2011 6:17 pm ]
Post subject:  Re: Voxel color RGB not correct

Rendered wrote:
ChloChlo wrote:
There are red and green values..


... put it to

r="0" g="0" and b="255"


I know. I'm trying to get this one certain shade. :\

If you put my RGB numbers into any program, thats the shade I want.


You should put rgb values in scale of 0.0 <-> 1.0 like in the default model file. 1.0 is equal to 255, 0.0 means 0.

Author:  Rendered [ Fri Jul 01, 2011 6:19 pm ]
Post subject:  Re: Voxel color RGB not correct

pasik wrote:
Rendered wrote:
ChloChlo wrote:
There are red and green values..


... put it to

r="0" g="0" and b="255"


I know. I'm trying to get this one certain shade. :\

If you put my RGB numbers into any program, thats the shade I want.


You should put rgb values in scale of 0.0 <-> 1.0 like in the default model file. 1.0 is equal to 255, 0.0 means 0.


Ahh.. okay. Thanks! :)

Author:  Rendered [ Fri Jul 01, 2011 6:32 pm ]
Post subject:  Re: Voxel color RGB not correct

pasik wrote:
Rendered wrote:
ChloChlo wrote:
There are red and green values..


... put it to

r="0" g="0" and b="255"


I know. I'm trying to get this one certain shade. :\

If you put my RGB numbers into any program, thats the shade I want.


You should put rgb values in scale of 0.0 <-> 1.0 like in the default model file. 1.0 is equal to 255, 0.0 means 0.



Is there anything that can convert them? I can't seem to find a way. :\

EDIT: I feel like I'm wasting your time... :(

Author:  Matt_S [ Fri Jul 01, 2011 7:43 pm ]
Post subject:  Re: Voxel color RGB not correct

Divide your numbers by 255 ;)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/