Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

sulfur

best way to draw GUI?

This topic is 6473 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!