New to DirectX

C46556ede72cb4dc829b8f3ab3b75450
0
Zorque 101 Jun 09, 2004 at 06:42

Hi, I’m just getting into DirectX, I think it is the tool I need to create my gaming ideas. I have downloaded the 9.0 SDK and looked through the samples and tutorials. Even the simplest tutorial was rather baffling. I was wondering if I could get some tips for getting started on understanding DirectX, how do I go about making sense of all this? I know C++ but the code in the samples all seems rather foreign to me.

Links to some good beginner sites would be helpful. Or if it comes to it I might just cave in and actually buy a book :unsure: .

I was reading some reviews and Introduction to 3D Game Programming with DirectX 9.0 looks like it could be helpful, or I also saw someone mention Programming Role Playing Games with DirectX in a different post. Any suggestions?

Thanks,
Zorque

11 Replies

Please log in or register to post a reply.

F7a4a748ecf664f189bb704a660b3573
0
anubis 101 Jun 09, 2004 at 07:52

http://triplebuffer.devmaster.net

the site has some good directx tutorials. always start small and learn things one piece at a time. If the directx code was foreign to you it’s probably because of it’s COM nature. don’t worry you will get used to this very soon. always remember though that you have an option with opengl, which i find much easier to pick up . check this site for excellent opengl tutorials

http://nehe.gamedev.net

[edit]fixed link[/edit]

70742196e5a782d8da734368cc73840a
0
Lick 101 Jun 09, 2004 at 18:45

Uhmm.. http://www.gamedev.net/community/forums/sh…#furtherreading

  • Two Kings development is pretty good.
C46556ede72cb4dc829b8f3ab3b75450
0
Zorque 101 Jun 10, 2004 at 04:21

Thank you. Two Kings site has been very helpful so far. http://tripplebuffer.devmaster.net site doesn’t seem to be up. As far as openGL I hadn’t really considered it. I have a lot to learn on either one and I read that DirectX has some handy functions for multiplayer games which I would like to get into eventually.

Fdbdc4176840d77fe6a8deca457595ab
0
dk 158 Jun 10, 2004 at 04:44

It’s not up because there’s a typo: The correct one is:
http://triplebuffer.devmaster.net (one p)

F7a4a748ecf664f189bb704a660b3573
0
anubis 101 Jun 10, 2004 at 08:01

nargh… i’ll get this someday

041f0b80386239712e275213a60343c3
0
_DC_3_Jp_Uk 101 Jun 10, 2004 at 10:07

Hi Zorque, I think the Introduction to 3D Game Programming with DirectX 9.0 book is the one which I currently have, it is a good book to start off with, although I must say nothing is linked to games in the book really…BUT if you’ve held out and havn’t yet baught it, I can recomend another book which throws you at first with it’s title but believe me it’s for newbies for DirectX not really “Advanced”…it’s called Advanced 3D game Programming with DirectX 9.0 by Peter Walsh, you can get the book off amazon.co.uk or .com depending from where ya live (im from England) it’s by the same publisher WordWare (www.wordware.com) and the only difference between this book and the Beginning 3D…etc book is that you actually build up a game using DirectX so you can see where topics (most of em lol) of directX come into place with each other, also there’s code for AI and Networked gameplay etc. The reason I know all this is I have the Introduction to 3D Game Programming with DirectX 9.0 and picked up the Advanced 3D game Programming with DirectX 9.0 at my University library and it’s EASILY sutiable for beginners, i know im a n00b with directX as well :D
Anyway there’s another book coming out in a few months which i cant wait to get my hands on soooo badly and you americans get it before I do :( It’s a book on programming a mulitplayer FPS in directX 9 :D Here check out the info on it:

http://www.charlesriver.com/titles/shooter.html

Hope that help anyway m8! :D

C46556ede72cb4dc829b8f3ab3b75450
0
Zorque 101 Jun 10, 2004 at 21:56

No I haven’t boughten a book yet. That advanced 3d programming one sounds very handy indeed, I might end up buying it on your recommendation - I want to give myself another week to play around with online tutorials first and if I haven’t made much progress I think I will go ahead and get the book. My theory is you can learn anything from the internet if you do enough searching.

F7a4a748ecf664f189bb704a660b3573
0
anubis 101 Jun 11, 2004 at 08:14

i have to say that i really don’t like all these books… they only lead you to retyping code out with hardly any learning experience. look around the web for good material, learn from other people (forums, papers, etc.). that’s they way i’ve done it.

0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 Jun 11, 2004 at 15:21

@anubis

i have to say that i really don’t like all these books… they only lead you to retyping code out with hardly any learning experience. look around the web for good material, learn from other people (forums, papers, etc.). that’s they way i’ve done it.

You could say much the same about nehe. Plus the fact that even writing out some code from a book encourages some learning, but copy-pasting code doesn’t..

F7a4a748ecf664f189bb704a660b3573
0
anubis 101 Jun 11, 2004 at 15:42

point for you

041f0b80386239712e275213a60343c3
0
_DC_3_Jp_Uk 101 Jun 12, 2004 at 00:00

I have to agree, coding out of a book and then commenting the code with the notes that apply to that certain part of code and then messing around with it and trying new things does learn you, I do search the net for tutorials of course, I remeber the first time i went on gamedev.net and the only thing for beginners that i found was the recommened books, I felt that i was being thrown into the middle of a class room half way through the year with the tutorials on there imo.