Maximus : I think the problem is not based on the texture. His program seems to use textures correctly (even though there are many solutions : glColor(1,1,1) is one solution, and GL_MODULATE is another solution too).
The problem is that the text does not displays correctly, not the texture.
Also, I would recommend using GL_REPLACE instead of GL_MODULATE to get rid of the "call glColor3f(1,1,1) before any texturing".
fonts & textures in OpenGL
Well he wanted colours using glColor functions, so go figure

-----------------------"When I have a problem on an Nvidia, I assume that it is my fault. With anyone else's drivers, I assume it is their fault" - John Carmack
oh well, if he wants to use the colours for texture, of course he doesn''t have to use GL_REPLACE

I had a good laugh reading some of the things people suggested for solving such a simple problem though

-----------------------"When I have a problem on an Nvidia, I assume that it is my fault. With anyone else's drivers, I assume it is their fault" - John Carmack
Such simple ?
That''s right that the problem is simple, but the thing is he did not give the right clues.
He thought the problem came from texturing, but in fact it was from the order of calls to glRasterPos and glColor.
By "simple", you mean you would have figured soon that he *just* needed to switch calls to glRasterPos and glColor ? If so, then congratulations. I couldn''t do it myself. And if jassmith didn''t look at the code, I think I would still be looking for _THE_ solution.
That''s right that the problem is simple, but the thing is he did not give the right clues.
He thought the problem came from texturing, but in fact it was from the order of calls to glRasterPos and glColor.
By "simple", you mean you would have figured soon that he *just* needed to switch calls to glRasterPos and glColor ? If so, then congratulations. I couldn''t do it myself. And if jassmith didn''t look at the code, I think I would still be looking for _THE_ solution.

well my voodoo 4 wont run any of the texture prgrams.. unless the program is in windowed mode. i don''t know why.. even the compiled programs that come with the source don''t worek unless in windowed mode.. is there something wrong with my card?
You need to download the latest drivers.
If you use the drivers that were given with the Voodoo4 CD, I bet they''re not good enough.
If you use the drivers that were given with the Voodoo4 CD, I bet they''re not good enough.
naw it not that... mabe it window me.. any 1 else have a voodoo4 and haveing font probs
God bless you vincoof. I have investigated that ''raster problem'' arround 5 hours now wihtout any clue whats up there.
Without you this would have become a very long and frustrating night for me. Thanks
Without you this would have become a very long and frustrating night for me. Thanks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement