html

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.
Post Reply
ArcticFox
Posts: 13
Joined: Mon Oct 25, 2010 6:12 pm
Location: Romania

html

Post by ArcticFox »

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 »

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 »

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 »

#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
Image
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

maybe this converter may help you out http://www.yellowpipe.com/yis/tools/hex ... verter.php
ArcticFox
Posts: 13
Joined: Mon Oct 25, 2010 6:12 pm
Location: Romania

Post by ArcticFox »

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?
Post Reply