Advertisement

Ortho and Multitexture

Started by May 08, 2003 05:52 PM
1 comment, last by Taste 21 years, 9 months ago
Hi... I''m having some problems using the multitexture extension. I''m rendering a Quake3 bsp using this extension for the textures and lightmap, (q3Bsp tutorial at gametutorials) but I also want to draw my hud so I can print fps etc. I''m trying to print text using a modified version of the bitmap fonts found in NEHE:s tutorials. The text works fine if I don''t draw the bsp, but if I draw both the bsp and the text the text vanishes. I have figured out that this is because of the multitexture extension and I have also read somewhere that in order to get it all to work at the same time I have to load the font bitmap using the multitexture extension. So my question is if this is the only way to do it and if it is how would this be acomplished? As always... sorry for the crappy english.
sounds to me like you''re doing something when rendering in perspective thats screwing up your ortho rendering. Make sure you''re loading identity matrices
Advertisement
I managed to fix my problem...

I drew the bsp and then disabled the GL_TEXTURE0_ARB, GL_TEXTURE1_ARB and GL_TEXTURE_2D.

When it was time to draw the text I only enabled GL_TEXTURE0_ARB (missed GL_TEXTURE_2D).

It runs fine now... sorry for the trouble!

This topic is closed to new replies.

Advertisement