I’m having a problem rendering some text over my 3D objects.
I’m rendering a simple terrain tile and it’s bounding box (using some code found on GameTutorials.com). Then I render some bitmap fonts (found on Nehe’s site).
The problem I face is that although the tile and bounding box are rendered first, followed by the bitmap fonts, the box obscures the fonts. I’m rendering the text using a texture quad.
This image shows the problem better than my description.
http://openglforums.com/forums/download.php?id=149
The image is in PNG format in case anyone can’t view it.
I have disabled depth testing when rendering the bitmap fonts, but it still doesn’t work.
I know that this is probably impossible to answer without seeing code, but is there anything obvious that might cause this? Maybe I’m mis-using the OpenGL stacks? Any help greatly appreciated.
Thanks
[This message has been edited by stodge (edited 03-18-2003).]