Directx 8 or 9

This is a discussion on Directx 8 or 9 within the Game Programming forums, part of the General Programming Boards category; I just got tricks of the windows game programming gurus that comes with the directx 8 sdk. Should I use ...

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    167

    Directx 8 or 9

    I just got tricks of the windows game programming gurus that comes with the directx 8 sdk. Should I use that or get version 9?
    silk.odyssey

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Well, most of the samples from the book will be in 8 I would guess. The main concepts are the same and it's pretty trivial to change a DX8 program over to 9. My personal opinion would be to get 9. Also make sure you get the summer update version. Lot's of improvements and when you start getting more advanced you won't have to download the 9 sdk later.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    167
    Can dx8 and 9 coexist?
    silk.odyssey

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Sure. While I wouldn't suggest interfaces from both in the same application you can safely have both SDKs installed on your machine.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  5. #5
    Registered User
    Join Date
    Dec 2003
    Posts
    167
    ok then I'll get dx9 sometime . Thanks for the help.
    silk.odyssey

  6. #6
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    dx is also backwards compatible. that means you can have the dx9 sdk and use functions from dx8, dx7, dx6, and so forth, without having those specific sdk's on your computer.
    My Website

    "Circular logic is good because it is."

  7. #7
    Registered User
    Join Date
    Dec 2003
    Posts
    167
    So if I install the dx9 sdk, I would be able to compile the source in the book without making any changes?
    silk.odyssey

  8. #8
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704
    Quote Originally Posted by DavidP
    dx is also backwards compatible. that means you can have the dx9 sdk and use functions from dx8, dx7, dx6, and so forth, without having those specific sdk's on your computer.
    DX is backwards compatible yes, however ..

    I was under the impression that the backwards compatibility is in runtime only. If you install the sdk libraries, you only get the functions for that release version. I've tried to compile dx8 source code I wrote for my Nibbles clone with the dx9 sdk and I had compiler errors not being able to find the functions.

    Perhaps it was a case of bad sdk installation, I don't know.
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

  9. #9
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    it should work with the SDK as well.

    i remember awhile back ago I was coding in dx7 and dx6 as well, but using the dx8 sdk. it worked fine for me.
    My Website

    "Circular logic is good because it is."

  10. #10
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    DX is fully backwards comaptible as long as your IDE knows where to find the version of the interfaces you are using.

    DX8 is in DX9, but DX9 is not in DX8.

  11. #11
    Registered User
    Join Date
    Jun 2004
    Posts
    5

    Exclamation Problems with DirectX 9.0

    You've probably already chosen your DX SDK or run time. But just a head up for those thinking about going to DX9.0.Problem's have been reported especially depending on the video card driver your system supports..namely the GeForce Video Cards
    check this out:
    http://forums.belution.com/en/directx/000/000/35.shtml

  12. #12
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    I have an old GeForce 3 64MB with 56.72 drivers and the only problems I've experienced are in IL2FB. The terrain in the distance is off color a bit...kinda rainbow pattern. Probably something to do with the mip mapping. Not sure if it is just related to something IL2FB is doing or my drivers.

    Overall 56.72's are good drivers. As far as programming in DirectX 9.0 I have not encountered any glitches between DX9 and my card.

  13. #13
    Banned
    Join Date
    Dec 2003
    Posts
    367
    I have a GeForce FX 5200, and all the drivers past the 4's won't work on it. I never tried DX with the newer drivers, but I know that OpenGL apps won't work. So I'm still using 43.45 I think.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Isometric Tile Engine using DirectX
    By Wraithan in forum Game Programming
    Replies: 3
    Last Post: 07-17-2006, 01:16 PM
  2. DirectSound header issues
    By dxfoo in forum C++ Programming
    Replies: 0
    Last Post: 03-19-2006, 07:16 PM
  3. DirectX - Starting Guide?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-25-2004, 12:49 AM
  4. DirectX 8 with Borland
    By Tommaso in forum Game Programming
    Replies: 11
    Last Post: 08-12-2003, 10:30 AM
  5. Directx SDK Documentation
    By Zoalord in forum Game Programming
    Replies: 4
    Last Post: 05-08-2003, 07:07 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21