Archived

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

Leet125

good books on DX9 game programming for C++

Recommended Posts

are there any good books on DX9 game programming for C++ that are for beginners, i have a mild understanding of C++ and i wanna see what i can do with games, if anyone knows some good books for DX9 in C++ for beginners throw em at me, well not literaly but u know what i mean

Share this post


Link to post
Share on other sites
The most intro level book I found was:
''The Zen of Direct3D Game Programming'' Walsh, Prima Tech
It''s DX8 so you''ll need to reference the DX9 sdk. . .
By the way, the DX SDK is one of the best pieces of game API documentation I have ever seen.

If your comfortable with SDKs and want to jump right into the good stuff then skip the zen book and get:
''Real-Time Rendering Tricks and Techniques in DirectX'' Dempski, Prima Tech.
This book is more fun but less intro

If that book is still too slow then try:
''Advanced Animation Techniques...'' Prima Tech
I can''t remember the author''s name and but all of the books are in the LaMothe series so your local bookstore would be the best place to go and see which book is right for you!

Hope that helps.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
how about zsome books that use DX9 specificaly, and are more game programing oriented

Share this post


Link to post
Share on other sites
I have "introducing to 3d game porgramming with directx 9" and i can tell you its a great book, not only for beguinners, but for more advanced''s as well, since it covers all from innicialization to high level shading language. www.moon-labs.com for more info. also use the sdk documentation, its also really great.

Share this post


Link to post
Share on other sites
I''ve found that most beginner books are too templated w/own code to be good examples of DX (I cite:
''Game Programming All In One'' DeSouse, for example.)

An exception to this rule is:
''Tricks of the Windows Programming Gurus'' LaMothe, but it deals with quite a bit of Win32 basics that you might not need.

NOTE:
Creating a DirectX 8 Input device (keyboard, mouse, etc.) in...
DirectX8
ex. IDirectInputDevice8
becomes...
DirectX9
ex. IDirectInputDevice9
As you can see, it is merely a number change between the two and since DirectX is backward compatible both interfaces work with DirectX 9.
Used in conjunction with the SDK a book on DirectX8 will suit you fine.

The MAIN reason for DirectX9 specific books is for Direct3D and that is why the previous books I suggested dealt with D3D predominantly. Plus, you can get a D3D book and Dave''s OpenGL Game Programming for the rest and show support for one of the founders of this great site.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
well how about this book: Game Programming Gems

is that more for advanced programmers or will it work for a beginner?

Share this post


Link to post
Share on other sites
Believe it or not, one of the posters up there is right. The DX9 SDK is an excellent source for learning Directx 9. Believe me, i''ve got 2 directx books and now i''ve realized that, the Documentation for it you can download is just as good..although it might seem kind of dry. Its better then paying 50 bucks for it. But trust me, if you''ve got decent background in C++, the only thing that''ll slow you down when learning Directx is probably some of the math, although a lot of it is done for you with a few function calls . But before you buy a book, just check out the Online Documentation for it. If you feel that the documentation is rather dull, then go to a book store and check out Introduction to 3D Game Programming with DirectX 9.0 before you buy it. I have it and i don''t think its too bad, the only issue is that, well in my opinion, its very similar to the Online documentation.

no theory`

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
well how about this book: Game Programming Gems

is that more for advanced programmers or will it work for a beginner?


if you ask me, i''d say yes, but that''s my personal opinion. It''s not really focused on using a specific API though, and you seem to be looking for DX9 stuff, i''d say get that book later,in a while after you get a good handle on the API and its 3d concepts



no theory`

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
i decided to go ahead and get Introduction to 3D Game Programming with DirectX 9.0 as posted above, looks promising, thanks!

Share this post


Link to post
Share on other sites
The zen book is riddled with errors from what I''ve heard (and have witnessed though I put it down long before the end)

Share this post


Link to post
Share on other sites
I do not own "Introduction to ..." but I have read that it is focused on direcx x only, I mean no A.I. , no collision detection , nothing else.
That''s great, in my opinion.
Too many books try to explain every thing with poor results.
The only exception is the maasterpiece "Programming RPG ..." by Jim Adams , but it is a 1000 pages book

Share this post


Link to post
Share on other sites
Erm, I know that "Programming Role Playing Games with DirectX" doesn''t use dx9 (uses dx 8.1), but it''s a pretty darn good book. It has a lot of extra crap about storylines and such that you probably don''t need, but it teaches a bit

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
i decided to go ahead and get Introduction to 3D Game Programming with DirectX 9.0 as posted above, looks promising, thanks!


I know that you want a good book (been there done that) but books are so expensive...especially when the documentation is there for it....The book is good i''ll tell you that, at least after i ran through it, but honestly at least from my perspective, if you can learn from that book, you can learn from the documentation as well. That''s what i think, that''s the reason why i''m suggesting that you look at the documentation before spending money on the book...(some of us are poor lol )

no theory`

Share this post


Link to post
Share on other sites
Yes , "Programming RPG..." uses direct x 8.1.
I mean that a begginer should stay away, in my opinion, from books that try to explain game programming in 300 pages.
Waste of time.
You should buy either a 1000 pages superbible or , even better, 3 - 4 small books on specific topics.
Game programming is hard, no shortcuts ,unfortunatly

Share this post


Link to post
Share on other sites
To make what AlbertoT said a little more noticable:

THERE ARE NO SHORTCUTS!!!

It's so important, i need to say it again:

THERE ARE NO SHORTCUTS!!!

Hmm... you want a book. In my experience, books are not very helpful in the sense of learning compared to the value of which you purchased it (usually $50). A forum is also a good resource (people might complain at you for asking VERY simple questions though) but learn to use it. And also, again and again, people will ask you to use www.google.com, they want to be nice but it might just come off mean!!

A good book... none exist otherwise everyone would have already bought it. If you are still convinced you need a book to help you through DX9, GET ONE WITHOUT IT TEACHING YOU C++ AGAIN. That is important. By now you should already know it, i don't know why publishers put it in anyway when to topic is over DirectX!!!

That's my advice. Books can be evil. Teach them to work for you instead.

[edited by - dagamer34 on October 17, 2003 7:38:58 PM]

Share this post


Link to post
Share on other sites