PDA

View Full Version : 2D HUD overlay: glOrtho vs. Transparent polygon and texture?



Jared@ETC
07-01-2003, 11:41 AM
Hi,

I was just wondering what everyone's thoughts are as to the best way to render a HUD on top of a 3D OpenGL scene.

It seems to me that using glOrtho along with Vertex2f and some raster fonts would look sharpest (and scale best), but I'm not sure which method would give greater performance.

Any input?

deadalive
07-01-2003, 02:04 PM
I'm no expert but I think it could ba about the same, since you will still need to draw polys. I 've been using a Ortho2d projection for HUD's without any problems.