If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
ArcticFox
Posts: 13 Joined: Mon Oct 25, 2010 6:12 pm
Location: Romania
Post
by ArcticFox » Mon Oct 25, 2010 6:16 pm
I would like to ask a simple question can html color codes be applied in any way to 3D objects like in GTASA for example?
Offtopic: for some reason I'm not getting a new password for my old account :/ so I use this one
Sylence
Posts: 725 Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:
Post
by Sylence » Mon Oct 25, 2010 6:18 pm
Yes of course. Extract the three bytes from the color code and apply them to your material.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
ArcticFox
Posts: 13 Joined: Mon Oct 25, 2010 6:12 pm
Location: Romania
Post
by ArcticFox » Mon Oct 25, 2010 6:20 pm
wow that was fast and thanks
I will have some time playing whit those
grumpymonkey
Posts: 222 Joined: Mon Jan 19, 2009 10:03 pm
Location: Miami, Florida
Contact:
Post
by grumpymonkey » Tue Oct 26, 2010 10:35 pm
#FFFFFF =
R G B
[FF][FF][FF] =
R G B
[255][255][255] = White
html color codes are just rgb values represented in hexadecimal, you probably knew that though
Virion
Competition winner
Posts: 2148 Joined: Mon Dec 18, 2006 5:04 am
Post
by Virion » Wed Oct 27, 2010 5:45 am
ArcticFox
Posts: 13 Joined: Mon Oct 25, 2010 6:12 pm
Location: Romania
Post
by ArcticFox » Wed Oct 27, 2010 12:09 pm
I know html color codes since I work whit php/html but thanks
ahm just to ad can a texture and a html color be added to a model whit out modifying the texture or just to change a particular color to the html color one?