Advertisement

About text

Started by April 12, 2005 11:24 AM
15 comments, last by Quicky 19 years, 10 months ago
can you help me
"I'm a programmer honey, but you can't beat me" Loaning from the Hurriganes - Roadrunner
Try this before print the text:
glBindTexture( GL_TEXTURE_2D, 0);

Maybe can woks for you. Worked for me :D
Advertisement
That isn't working... HELP HELP [help] [help]
"I'm a programmer honey, but you can't beat me" Loaning from the Hurriganes - Roadrunner
Post some code?
First of all, there seems to be some confusion in where and how you are coloring your images. Looking carefully at your posts, it seems as though you might have created an image file by drawing each letter manually in OpenGL and then took a screen shot and saved it to disk. Is this the case?

Secondly, make sure that you enable and disable GL_TEXTURE_2D when appropriate.

Finally, make sure that you call glColor and enable the right texture immediately before drawing your text.
______________________________________________________________________________________The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ"So. Any n00bs need some pointers? I have a std::vector<n00b*> right here..." - ZahlmanMySite | Forum FAQ | File Formats______________________________________________________________________________________
Now it works, and i did it half accident...

Funny, when notices how the OpenGl works :D
"I'm a programmer honey, but you can't beat me" Loaning from the Hurriganes - Roadrunner

This topic is closed to new replies.

Advertisement