Advertisement

best way to draw GUI?

Started by September 03, 2000 04:48 AM
2 comments, last by sulfur 24 years, 2 months ago
How is the best way to draw a gui? Are there any basic 2D functions in OpenGL for blitting and such?
Bitmapped polygons?

"Paranoia is the belief in a hidden order behind the visible." - Anonymous
Advertisement
If you are using OpenGL, there are no real dedicated 2d functions, you will most probably want to simply draw texture mapped polygons wherever you need them, there are a bunch of ways to set this up but I recommend wrapping up things in a few function calls, check out Druid''s GL Journal or the Q3A logic source for some ideas on GUI implementation.

-Mezz
Implementing 2D functions with textured quad is very easy and fast!

OpenGL has 2D functions but they are not supported by 3D video cards.

But remember : this solution is FAST only with 3D cards! But if you are planning to implement 2D functions with 3D requirement you can use it.
IpSeDiXiT

This topic is closed to new replies.

Advertisement