Advertisement

About text

Started by April 12, 2005 11:24 AM
15 comments, last by Quicky 19 years, 10 months ago
I have created a bitmap font (it's red), and, some polygons (which is black). But When i execute the program, the text is black too... Hove can i solve this problem
"I'm a programmer honey, but you can't beat me" Loaning from the Hurriganes - Roadrunner
Make the polygons white.
Advertisement
Ummm... They have to be black
"I'm a programmer honey, but you can't beat me" Loaning from the Hurriganes - Roadrunner
Then make the texture black and the polygons white. Any texture you put on a black polygon will be black.
The text have to be red, and the polygon, have to be black, and background color have to be grey...
"I'm a programmer honey, but you can't beat me" Loaning from the Hurriganes - Roadrunner
Do you get it ?
"I'm a programmer honey, but you can't beat me" Loaning from the Hurriganes - Roadrunner
Advertisement
Any bitmaps you put on a black polygon will appear black. Maybe if you tell me what your trying to do I can help you.

[Edited by - mike25025 on April 12, 2005 12:37:16 PM]
OK, I have a game menu, and a have created a bitmap text

and i have created a black polygons, like a borders or surfaces using glVertex()-Function

And i have texturemapped the top line of the border (like figure 1) and figure 2 have to be black, but those letters are all black. and theu have to be red. how i can fix this up... ?



---------------------------------
|
| Figure 1
|---------------------------------|
|
| New Game
| Load Game
| Save Game
| Credits
| Exit
|
|
| Figure 2
|
|
|
|
|
|
-----------------------------------
"I'm a programmer honey, but you can't beat me" Loaning from the Hurriganes - Roadrunner
Are you using glColor3f to set the color? If thats not the problem can you please be more descriptive.
Yes, i use glColor3f to set them red... and that is the problem, when i want to paint them red, they are and they stay in black...
"I'm a programmer honey, but you can't beat me" Loaning from the Hurriganes - Roadrunner

This topic is closed to new replies.

Advertisement