Thread: Directx programming! Where to start from?

  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    48

    Directx programming! Where to start from?

    I want to start learning Directx Programming.
    I am thinking to order this book, "Beginning DirectX 11 Game Programming". Is this sufficient. I haven't heard good reviews about this book. What should I do.
    Is there any other good book to start with?

  2. #2
    Registered User
    Join Date
    Nov 2005
    Posts
    673
    As far as books go im not really sure. but DirectX Tutorial.com - Game Programming with DirectX can get you started with the basics.

  3. #3
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Well DirectX is going through a major overhaul right now thanks to upcoming Windows 8 and Metro. In the VS11 dev preview DirectX is part of the Windows SDK, D3DX has been deprecated, DirectInput officially removed in favor of XInput, and audio is done through XAct. For math in C++ you will be using the XNA math library which is sort of an ignorant name since the library (or moreso the inline code file) has nothing to do with XNA. If you want to load textures you will be left with extracting what is in the 26000 lines of DXUT, rolling your own, or downloading several 3rd party libraries that handle various file formats. Microsoft's claim is that the DDS file format is all you need...which we all know in the game world is absolutely not true and most studios have their own proprietary formats that they cling to.

    I would buy the book on DirectX 11 with the knowledge that even in the dev preview MS claims that VS11 is pointing to a version of D3DX that does not exist. To get the dev preview working with DX11 requires some fiddling here and there. You might want to go with DirectX 10 and there certainly is no point in learning DirectX 9 right now since 10 and 9 are so fundamentally different in how they do things under the hood. I would even recommend you move to OpenGL except the situation over there isn't much better given the lack of features and support - read: easily supported and easily accessible features. The features are there but they are not as friendly as Direct3D.

    Right now it is all up in the air until more information surfaces about Windows 8.
    Last edited by VirtualAce; 02-24-2012 at 07:53 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 12-11-2011, 04:25 PM
  2. New to programming, were to start??
    By jsmith in forum A Brief History of Cprogramming.com
    Replies: 33
    Last Post: 05-19-2008, 07:37 AM
  3. i want to start gui programming
    By kaos_frack in forum Windows Programming
    Replies: 7
    Last Post: 01-14-2007, 01:41 PM
  4. Which is better to start off in DirectX or OpenGL
    By Kaho in forum Game Programming
    Replies: 6
    Last Post: 08-29-2005, 08:40 PM
  5. Where to start with DirectX 8.0
    By TheGr8one in forum Game Programming
    Replies: 5
    Last Post: 09-03-2001, 09:08 PM