Jump to content
  • Advertisement
Sign in to follow this  
jagguy

UI and rendering

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

If I have a dx/ c++ express program , and want to include some UI controls on the screen that effect the dx program running. Do you create the UI programmatically in the dx program and not with a windows form , as the standard way to do it. I am having a hard time finding examples for this with vc++ (still looking and might find some soon). So I am after a place to find examples to do this scenario. PS I tried the beginners site with little success.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
http://www.gamedev.net/reference/articles/article994.asp

Share this post


Link to post
Share on other sites
You can either use the DXUT GUI controls that draw on top of the DirectX viewport (with transparency and stuff), or use WinForms controls that are siblings to the DirectX viewport (and thus sit in the frame). There is no forms designer for the DXUT GUI.

In Vista, using the new presentation framework, this gets more integrated, btw.

Share this post


Link to post
Share on other sites
Quote:
Original post by hplus0603
You can either use the DXUT GUI controls that draw on top of the DirectX viewport (with transparency and stuff), or use WinForms controls that are siblings to the DirectX viewport (and thus sit in the frame). There is no forms designer for the DXUT GUI.

In Vista, using the new presentation framework, this gets more integrated, btw.


OK, I don't want DXUT stuff for variuos reasons unless they are the standard way to include UI with dx. The windows controls must be added programmatically I take it.



[Edited by - jagguy on July 6, 2006 4:06:47 AM]

Share this post


Link to post
Share on other sites
or you could try writing your own gui system.
Which would give you your own controls in the app itself, this is the way that a lot of people go.

This place has a good Managed DirectX tutorial on a simple ui system
http://www.c-unit.com/tutorials/

or theres: "Developing a GUI Using C++ and DirectX - Part I" from gamedev itself.
http://www.gamedev.net/reference/articles/article994.asp

do a google search for something like "directX c++ gui tutorial" and you'll find a tonne of stuff to help you if you decide to write your own.

Andy

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.

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

Sign me up!