Jump to content
  • Advertisement
Sign in to follow this  
Argos

Will this work? With directx.

This topic is 4056 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 have Directx august 2006 and currently I'm starting programming with it (C++). I picked up a book on Directx that says the code should work for future versions(2 dollars at Barnes and noble used) and I'm wondering if that is so. I'm currently working with DX9 and it talks about DX8, will the code work unchanged or what do I have to do to change it? Will it be hard to change it? Should I find another book on Directx but more recent?(If so what do you recomend). Thanks a lot Argos.

Share this post


Link to post
Share on other sites
Advertisement
You wont have to do anything. All versions of DirectX are backwards compatible with every version that came before it. For example DirectX9 will support software that targeted any versions of DirectX up to version 9.

It will become clear to you how they do this once you start delving into the API. In fact a good DirectX book should explain how this is achieved.

[edit]

I should note that even though an application that targeted DirectX8 will work under DirectX9, you won't have any access to any DirectX9 features.

DirectX8 and DirectX9 differ widely. It will take quite some work to modify a program from version 8 to 9.

Share this post


Link to post
Share on other sites
Porting from DX8 to DX9 is very simpel. You should be able to do all basic stuff with DX8 the same way with DX9. More advanced stuff requires some changes in the DX8 code.

GBS

Share this post


Link to post
Share on other sites
Ok sounds good, (the 2 dollar book is with dx7 (Sorry typo) so I think I should just go with another book on learning directx.
The only problem is when I search I see books that sound a little advance (Multiplayer fps in Directx) and others are a bit dated. Any advice on one written semi recently?
Thanks a lot again
Argos.

Share this post


Link to post
Share on other sites
Take a look at this one. I haven't read it, but judging from the articles on that site (by the same author), the source code (available on the site), and the reviews on amazon, it seems to be very good. Note though that it only covers the Direct3D portion of DirectX.

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!