Sign in to follow this  
turd7000

Managed DirectX Books & Frameworks

Recommended Posts

turd7000    122
I'm a 3rd year CS major preparing to write a GUI for this game for a class I'm taking. The GUI will basically show a 2D top down representation car driving on some dynamically generated roads(a VertexBuffer I think, about 1km area of roads) plus zooming capabilities(so maybe a little 3D) and some buttons. I call that the RTS view. There will also be a 2D, top down view much closer to the car which I like to call the RPG view that shows not only the roads and the car but also obstacles. My ideal for the RPG view would be to take a snippet of the RTS map(not sure if possible) then draw additional things on it. I'll also be using quite a few text display panels. I've had no real DirectX experience but I've made a bunch of games in Java and C++ in the past, using various simple 2D engines. So, in preparation for this, I was thinking I'd get some documentation and a good framework. I've been looking around Amazon and found the following book by Tom Miller. Is this a good book to whip up such a GUI in a few weeks? I've been playing around with this outdated framework by CUnit by turning back the system clock on my comp and using an older version of DirectX. Such a framework, which includes sprite drawing functions and text panels is pretty important since I only have a few weeks to do this. I've also found this open source framework for MDX and was curious if anyone could suggest an OSS framework. Any help you can provide is greatly appreciated. Thanks in advance.

Share this post


Link to post
Share on other sites
blanky    364
I don't know if this is what you mean/want, and if it isn't, sorry, also, I'm not very experienced in this area. I do have that KickStart book, and it doesn't focus on GUI or even talk about it. If I remember correctly, there's already some type of GUI framework in DirectX isn't there? Check the examples, is that what you mean? Sorry if it isn't :(.

EDIT: Googled for you, found this, might help?

Also this, this, and this. Let me know if it helps.

Share this post


Link to post
Share on other sites
remigius    1172
You can also go with the MS sample framework for Managed DirectX. It's a bit messy to jump into at first, but it works out quite nicely. To use it you can base your project off the EmptyProject sample in the sample browser that comes with the SDK. Beginning 3D Game programming by Tom Miller (ISBN 0672326612) also uses this to implement a few sample games.

Share this post


Link to post
Share on other sites
turd7000    122
I originally hoped the framework would provide most of the UI components such as text display panels and buttons and it looks like it probably will(thanks blanky!).

I mainly wanted the book as a MDX reference because the online API(the Microsoft one) is not well commented for someone without DX experience. I was very frustrated reading through the components of the Device class and seeing that the only comment for DepthStencilSurface basically explained it as a depth stencil surface. Besides the beginner and kickstart Tom Miller books on MDX, I've also found this book by Frank Luna which has good reviews and is mentioned as a good reference. I still feel a bit lost about the book, but thanks for the advice so far.

Share this post


Link to post
Share on other sites
daviangel    604
Quote:
Original post by turd7000
I originally hoped the framework would provide most of the UI components such as text display panels and buttons and it looks like it probably will(thanks blanky!).

I mainly wanted the book as a MDX reference because the online API(the Microsoft one) is not well commented for someone without DX experience. I was very frustrated reading through the components of the Device class and seeing that the only comment for DepthStencilSurface basically explained it as a depth stencil surface. Besides the beginner and kickstart Tom Miller books on MDX, I've also found this book by Frank Luna which has good reviews and is mentioned as a good reference. I still feel a bit lost about the book, but thanks for the advice so far.

The Frank Luna book is an excellent book that covers directx 9 and shaders but not really a reference book. Actually there hasn't been a good or any directx reference books since this ">one I got years ago and it's only good for dx7.
I guess the reason there are none is that it'd soon be out of date since each new DX SDK release seems to bring changes.
For example if you do get any of the Tom Miller books you mentioned the code won't even work with latest DX SDK since there have been so many breaking changes to managed dx that you'll have to look at thezbuffer for updated code.


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this