Original Post
I''m experimenting a little with texturing and stuff.. And yesterday I made a room with some texture on all the walls.. And I made a little box in the middle of the room spinning around.. I didn''t want to texture it, so I figured out I just put the wonderfull glColor3f making it green... Yeah, in my dreams.. When I ran the program the box was green alright, but so was the entire room!(?).. It still had the proper texture, but it had this green layer on it.. Really weird I thought, I plundered some with the code, but the same result ever goddamn time i compiled. So, for you hardcore programmers; =) Can''t I do texturing and making colors on some other things at the same time? If I can, how?
Yeah It can be a neat effect sometime having the green layer over it all, but that''s not what I want to do at this time.
I tried to have some 2d text as well, and color it too.. but the entire room turned out green.. I wanted to have the text green, so it''s distinct from the rest of the world... Not I have to have it untextured, and it''s black or a very dark grey/brown color, so I can barely see the text.
Please do some explaining for me
Thanks in advance!
Kenneth Wilhelmsen
Download my little game project HERE
--------------------------
He who joyfully marches to music in rank and file has already earned my contempt. He has
been given a large brain by mistake, since for him the spinal cord would fully suffice. This
disgrace to civilization should be done away with at once. Heroism at command, senseless
brutality, deplorable love-of-country stance, how violently I hate all this, how despicable and ignoble war is; I would rather be torn to shreds than be a part of so base an action! It is my conviction that killing under the cloak of war is nothing but an act of murder