DirectX - Starting Guide?

This is a discussion on DirectX - Starting Guide? within the Game Programming forums, part of the General Programming Boards category; Ok i have a few questions, keep in mind my knowlage of API's is very very very limited . I ...

  1. #1
    #junkie
    Join Date
    Oct 2004
    Posts
    240

    Question DirectX - Starting Guide?

    Ok i have a few questions, keep in mind my knowlage of API's is very very very limited. I do know that using such an advanced api such as DX or OpenGL is going to be hard, and that Win32 experience is required, but i still wish to give it a try.

    Now could you enlighten me on a few things and answer the following hopefully painless questions?

    1. First off, i heard full OpenGL libraries is not free, is DirectX? In otherwords can i code fully in DirectX without paying a dime? (legally )

    2. If DirectX is free, where can i download it at?

    3. Are there any good tutorial / newbie DirectX sites that anyone knows of? I havent been able to find squat for DX or OGL.

    4. What is a good DirectX book, for a beginner. Now DirectX is insanely complicated for a newbie to C++ in general (knowlage is there, however not yet applied), so i need a heavily explanitory type book. Any ideas?


    Thanks, please forgive my nub ness lol. At the moment i am wanting to go OpenGL or DX (pref DX because id rather be there at the end), but all i can come up with is Allegro which is extremely not where i want to be lol. I mean it works great for beginning, but personally i want to spend time learning all this and not learn allegro, build my planned programs/games, then revamp everytime i need a little more with a more advanced API.

    Anyway, thanks again to anyone who responds
    01110111011000010110110001100100011011110010000001 11000101110101011010010111010000100000011011000110 10010110011001100101001000000111100101101111011101 0100100000011011100111010101100010

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Quote Originally Posted by Zeusbwr
    Ok i have a few questions, keep in mind my knowlage of API's is very very very limited. I do know that using such an advanced api such as DX or OpenGL is going to be hard, and that Win32 experience is required, but i still wish to give it a try.

    Now could you enlighten me on a few things and answer the following hopefully painless questions?

    1. First off, i heard full OpenGL libraries is not free, is DirectX? In otherwords can i code fully in DirectX without paying a dime? (legally )

    2. If DirectX is free, where can i download it at?

    3. Are there any good tutorial / newbie DirectX sites that anyone knows of? I havent been able to find squat for DX or OGL.

    4. What is a good DirectX book, for a beginner. Now DirectX is insanely complicated for a newbie to C++ in general (knowlage is there, however not yet applied), so i need a heavily explanitory type book. Any ideas?


    Thanks, please forgive my nub ness lol. At the moment i am wanting to go OpenGL or DX (pref DX because id rather be there at the end), but all i can come up with is Allegro which is extremely not where i want to be lol. I mean it works great for beginning, but personally i want to spend time learning all this and not learn allegro, build my planned programs/games, then revamp everytime i need a little more with a more advanced API.

    Anyway, thanks again to anyone who responds
    1) You heard wrong, you can code in either DirectX or OpenGL without paying a dime, legally.

    2) You can get the latest DirectX SDK at:

    http://www.microsoft.com/downloads/d...displaylang=en

    3) Check the thread titled "Game Programming Links" on this board for a lot of really good sites.

    4) Before you go rushing out to buy all the latest and greatest DirectX books, I would start off with some of the tutorials and read up on Win32 if you are developing for a windows based platform(which you will be if you are using directx). I might even pick up a good book on Win32 Programming if I were you. Take a look at getting Petzold's book. Then you will know what to look for in a good book.

    http://www.amazon.com/exec/obidos/tg...books&n=507846
    Last edited by MrWizard; 11-23-2004 at 03:03 AM.
    "...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
    #junkie
    Join Date
    Oct 2004
    Posts
    240
    1. Wow, you dont pay anything for anypart of OpenGL? I mean i figured you could get some ifnot most of it free, but the way i was told it i thought something was free. Seeing as i can run small tutorial OpenGL programs.

    4. Ya sorry, if i didnt say that it was in my head about wanting sites befor i buy the book. Its what i did with C++. I would like tutorials and to play around with DX first, so i know what i am doing enough to get a book that i KNOW will fit my needs and learning style.

    Big thanks
    01110111011000010110110001100100011011110010000001 11000101110101011010010111010000100000011011000110 10010110011001100101001000000111100101101111011101 0100100000011011100111010101100010

  4. #4
    #junkie
    Join Date
    Oct 2004
    Posts
    240
    sigh, and sorry lol. Im not on my comp, since i just moved i dont have access to broadband either sigh. Do you know if that link you gave me is DirectX's API for coding only?
    Like do i need "DirectX 9.0c Runtime"? Because im on 56k and 227 meg on 56, let alone a none dedicated 56k as we need the line during the day, i cant do 227 megs lol. Anyway i can dl this peice by peice? Or something? Grr damnit lol.
    01110111011000010110110001100100011011110010000001 11000101110101011010010111010000100000011011000110 10010110011001100101001000000111100101101111011101 0100100000011011100111010101100010

  5. #5
    ---
    Join Date
    May 2004
    Posts
    1,379
    Well there is no choice but to download it. I guess the only way is to use a download manager so you can resume your download later on.
    I know you want to learn DX but OpenGL on the other hand you dont need to download anything

  6. #6
    #junkie
    Join Date
    Oct 2004
    Posts
    240
    Ya, i was thinkin maybe just for ease of everything i will go opengl. Its still very robust.

    Also, one last thing about DX. Is MSVS Needed to code DX? Or anything outside of that 227meg package needed? Clients? ect.? In otherwords, with plain code and my current Compiler(GNU++/Dev C++) can i code DX?
    01110111011000010110110001100100011011110010000001 11000101110101011010010111010000100000011011000110 10010110011001100101001000000111100101101111011101 0100100000011011100111010101100010

  7. #7
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    im a little late here but Win32 knowledge is not required for openGL. Libraries like GLUT make windowing very easy and is multi-platform.

    see here: EmptyGlut

  8. #8
    #junkie
    Join Date
    Oct 2004
    Posts
    240
    k thx , but ya, assuming DX has any more problems, like requirements, coding, ect, im not ganna bother and instead just go with OGL. Iv already got it installed and running simple tut programs works just fine so i dunno lol.
    01110111011000010110110001100100011011110010000001 11000101110101011010010111010000100000011011000110 10010110011001100101001000000111100101101111011101 0100100000011011100111010101100010

  9. #9
    ---
    Join Date
    May 2004
    Posts
    1,379
    Like perspective said about window manager's i use SDL and not win32 with opengl

  10. #10
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    Poor DirectX. It's not that bad....really, it's not.

  11. #11
    #junkie
    Join Date
    Oct 2004
    Posts
    240
    lol hey i like DX from the sounds of it, its just that its making itself hard to setup in my case. OpenGL is already setup, and has many tuts on webpages and whatnot (nehe's site is a great example).

    Personally id rather go DirectX, but i gatta work with the limited tools at hand, and thus far they are pointing me twords OpenGL.
    01110111011000010110110001100100011011110010000001 11000101110101011010010111010000100000011011000110 10010110011001100101001000000111100101101111011101 0100100000011011100111010101100010

  12. #12
    ---
    Join Date
    May 2004
    Posts
    1,379
    The only thing that stopped me from learning DirectX is that I don't know Win32 API and I didnt really want to learn 2 things at the same time.
    Quote Originally Posted by Bubba
    Poor DirectX. It's not that bad....really, it's not.
    Ofcourse it's not Everyone makes their choice based on whatever reason.

  13. #13
    #junkie
    Join Date
    Oct 2004
    Posts
    240
    Well i know Win32 a bit, but overall not enough to heavily code in it. However i wouldent mind coding with Win32 API in OpenGL, its just atm my compiler and me are having issues with the beginner tutorials i am downloading from NeHe's site. Mainly the old format he used which he says is now formatted out, "Glaux". Theres replacement code but i couldent code my way out of a wet paper opengl bag atm ;P
    01110111011000010110110001100100011011110010000001 11000101110101011010010111010000100000011011000110 10010110011001100101001000000111100101101111011101 0100100000011011100111010101100010

  14. #14
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    For a DirectX app about 2% of it is Win32 (enough to tell Windows to leave you alone) and 98% of it is either DirectX API and/or your own classes.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Interpreter.c
    By moussa in forum C Programming
    Replies: 4
    Last Post: 05-28-2008, 06:59 PM
  2. Problems with my DirectX program
    By fighter92 in forum Game Programming
    Replies: 1
    Last Post: 01-23-2007, 06:28 PM
  3. Isometric Tile Engine using DirectX
    By Wraithan in forum Game Programming
    Replies: 3
    Last Post: 07-17-2006, 01:16 PM
  4. DirectSound header issues
    By dxfoo in forum C++ Programming
    Replies: 0
    Last Post: 03-19-2006, 07:16 PM
  5. Starting DirectX in .Net 2033
    By Kaminaga in forum Game Programming
    Replies: 5
    Last Post: 10-06-2005, 11:58 AM

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