PDA

View Full Version : Setting Colour to Brown



02-09-2006, 01:38 AM
Hi,

I am fairly new to openGL and I am developing under MSV C++ 6, I have an assignment which ask we make a door of a house brown amongst other things, I have done the rest of the house, but i was wondering what the glColor3f() would-be to set the colour of the door brown

Your help would be gratefully received
Stephen

mikael_aronsson
02-09-2006, 03:24 AM
Startup mspaint and open to custom color editor, there you can look up the color you want, just divide each value with 255 to get float values.

Hint: red+green

dorbie
02-09-2006, 03:29 AM
Try (0.5f, 0.35f, 0.05f)