Jump to content
  • Advertisement
Sign in to follow this  
sharathm

OpenGL GUI Creation

This topic is 4967 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

I am making a GUI for my game. Am using DX9SDK Summer2004 Update. I need to create Buttons and Textboxes. Drawing the quad for the button was easy but when i have to set the font i am getting a lot of problems.The way i draw text is using world co-ordinates and i draw the button using local co-ordinates. Can anyone help me by telling me how to draw text using local co-ordinates or how to create a font texture. In OpenGL i used to create a display list of the button texture and render it. Is there a similar method to draw in DX. Any links to tutorials for creating GUI is also appreciated. Thanx.

Share this post


Link to post
Share on other sites
Advertisement
There are some articles on creating a GUI with direct x on gamedev somewhere but I cant find them. Other then that please dont double post the same thread.

Share this post


Link to post
Share on other sites
The Summer 2004 Update came with a new sample GUI that you can use. In my opinion, it's fast, it looks good, and it's flexible. Check out the CustomUI sample for more information. I believe it implements the following controls:

- Labels
- Text Boxes
- Command Buttons
- List Boxes
- Combo Boxes
- Radio Buttons
- Check Buttons

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!