Recommended Posts

I've got a fairly simple 3d maze compleated, but what I'd like to have is a
H.U.D. of sorts. Be it always there or toggled by a button.
Anyone know of a tutorial or sample code that my speed up this process?
** Edit **
More info:
Im doing this in opengl full screen mode.
The hude has to be able to display static images as well as a text box which
i can modify as needed.
[Edited by - Spahrep on November 29, 2005 8:56:56 AM]

Share this post

Link to post

Share on other sites

When I finish drawing a scene1 - I clear the depth buffer2 - Set the view matrix to identity3 (optional) - switch to a different projection matrix4 - render the HUD

You could always disable depth testing instead of clearing the depth buffer, giving you the added advantage of being able to use painter's algorithm, but that can cause trouble if you want to render 3D objects in the HUD.