Sign in to follow this  
((__int64)~((__int64)0))

Starting Game Programming (DirectX)

Recommended Posts

[b]Some background:[/b]
Hi, you guys. I'm pretty good with C++, I guess. I started programming at fourteen, I'm now sixteen. I started with the basic VB6, then probably a little less than half a semester of school, I did C++. I did many programming languages, including: VB6/.NET, Java, PHP, C#, and C++. I found that my favorite of those are C++, and C# for RAD. When I was little, I always wanted to make my own games, or be a game programmer when I grew up. When I started programming, I actually didn't intend to make games at first, but for the last two weeks, or so, I have had a burning desire to make games. I tried OpenGL, and didn't get far at all, but then tried DirectX, which I like much more. I first tried some YouTube tutorials, which were a little weird, so I Googled some tutorials, which I found. They were very good. It was basically like having TheNewBoston explain it to you, mostly because of its easy diction, but it's only the bare basics.

[b]What I need help with:[/b]
I basically, just need to know a good tutorial, or book, basically anything that I can use to learn DirectX. I have tried books, that are either mathematical for me, or just don't explain stuff well. The book "[b]Beginning DirectX 11 Game Programming[/b]" (Allen Sherrod / Wendy Jones), Is the book that is the best so far. It's pretty good, a little disorganized, but pretty good. I learn best from examples. That is probably the main thing that I look for in books. I also have a real real hard time with comprehension. When I get down to the end of the page, I sometimes just am like "what did I just read?". It's not just because I don't understand the programming, because if it's read out loud, I understand it fine. Sorry I got a little off topic, lol.

[b]Basically, what I need help with:[/b]
I need your opinion on the best programming book for DirectX. Preferably 10, or 11. Something that is easy for beginners. I work best with examples.

Share this post


Link to post
Share on other sites
[quote name='((__int64)~((__int64)0))' timestamp='1317423839' post='4867768']
[b]Some background:[/b]
Hi, you guys. I'm pretty good with C++, I guess. I started programming at fourteen, I'm now sixteen. I started with the basic VB6, then probably a little less than half a semester of school, I did C++. I did many programming languages, including: VB6/.NET, Java, PHP, C#, and C++. I found that my favorite of those are C++, and C# for RAD. When I was little, I always wanted to make my own games, or be a game programmer when I grew up. When I started programming, I actually didn't intend to make games at first, but for the last two weeks, or so, I have had a burning desire to make games. I tried OpenGL, and didn't get far at all, but then tried DirectX, which I like much more. I first tried some YouTube tutorials, which were a little weird, so I Googled some tutorials, which I found. They were very good. It was basically like having TheNewBoston explain it to you, mostly because of its easy diction, but it's only the bare basics.

[b]What I need help with:[/b]
I basically, just need to know a good tutorial, or book, basically anything that I can use to learn DirectX. I have tried books, that are either mathematical for me, or just don't explain stuff well. The book "[b]Beginning DirectX 11 Game Programming[/b]" (Allen Sherrod / Wendy Jones), Is the book that is the best so far. It's pretty good, a little disorganized, but pretty good. I learn best from examples. That is probably the main thing that I look for in books. I also have a real real hard time with comprehension. When I get down to the end of the page, I sometimes just am like "what did I just read?". It's not just because I don't understand the programming, because if it's read out loud, I understand it fine. Sorry I got a little off topic, lol.

[b]Basically, what I need help with:[/b]
I need your opinion on the best programming book for DirectX. Preferably 10, or 11. Something that is easy for beginners. I work best with examples.
[/quote]


Well as far as dx11 books, I can't recommend any first hand. I've thus far not moved on to greener pastures, and am still playing with dx9 technology. However, I will highly recommend Jason Zink's book( whose title escapes me, atm....) I've not read it, but have good impressions on his hieroglyph project which is based on dx11, and which the book uses to explain dx11 features AFAIK. I can relate to your admission that you are an aural learner, and how it can be hard to move from your preferred modality, but persevere my friend, because 90 percent of what I've found valuable so far is articles, not video or audiobook. My only real piece of advice is to keep at it.

Share this post


Link to post
Share on other sites
[quote name='Burnt_Fyr' timestamp='1317424546' post='4867772']
[quote name='((__int64)~((__int64)0))' timestamp='1317423839' post='4867768']
[b]Some background:[/b]
Hi, you guys. I'm pretty good with C++, I guess. I started programming at fourteen, I'm now sixteen. I started with the basic VB6, then probably a little less than half a semester of school, I did C++. I did many programming languages, including: VB6/.NET, Java, PHP, C#, and C++. I found that my favorite of those are C++, and C# for RAD. When I was little, I always wanted to make my own games, or be a game programmer when I grew up. When I started programming, I actually didn't intend to make games at first, but for the last two weeks, or so, I have had a burning desire to make games. I tried OpenGL, and didn't get far at all, but then tried DirectX, which I like much more. I first tried some YouTube tutorials, which were a little weird, so I Googled some tutorials, which I found. They were very good. It was basically like having TheNewBoston explain it to you, mostly because of its easy diction, but it's only the bare basics.

[b]What I need help with:[/b]
I basically, just need to know a good tutorial, or book, basically anything that I can use to learn DirectX. I have tried books, that are either mathematical for me, or just don't explain stuff well. The book "[b]Beginning DirectX 11 Game Programming[/b]" (Allen Sherrod / Wendy Jones), Is the book that is the best so far. It's pretty good, a little disorganized, but pretty good. I learn best from examples. That is probably the main thing that I look for in books. I also have a real real hard time with comprehension. When I get down to the end of the page, I sometimes just am like "what did I just read?". It's not just because I don't understand the programming, because if it's read out loud, I understand it fine. Sorry I got a little off topic, lol.

[b]Basically, what I need help with:[/b]
I need your opinion on the best programming book for DirectX. Preferably 10, or 11. Something that is easy for beginners. I work best with examples.
[/quote]


Well as far as dx11 books, I can't recommend any first hand. I've thus far not moved on to greener pastures, and am still playing with dx9 technology. However, I will highly recommend Jason Zink's book( whose title escapes me, atm....) I've not read it, but have good impressions on his hieroglyph project which is based on dx11, and which the book uses to explain dx11 features AFAIK. I can relate to your admission that you are an aural learner, and how it can be hard to move from your preferred modality, but persevere my friend, because 90 percent of what I've found valuable so far is articles, not video or audiobook. My only real piece of advice is to keep at it.
[/quote]

Thank you sir. I'm going to add this book to my e-book collection. If I ever finish reading it, I might update this thread with my status / satisfaction.

And BTW, what is the difference between DirectX 9, and 10? Is there really that much of a difference? I always just thought they added more functions, and such. What do you recommend for DirectX 9 / 10?

Share this post


Link to post
Share on other sites
[quote name='((__int64)~((__int64)0))' timestamp='1317426112' post='4867780']
[quote name='Burnt_Fyr' timestamp='1317424546' post='4867772']
[quote name='((__int64)~((__int64)0))' timestamp='1317423839' post='4867768']
[b]Some background:[/b]
Hi, you guys. I'm pretty good with C++, I guess. I started programming at fourteen, I'm now sixteen. I started with the basic VB6, then probably a little less than half a semester of school, I did C++. I did many programming languages, including: VB6/.NET, Java, PHP, C#, and C++. I found that my favorite of those are C++, and C# for RAD. When I was little, I always wanted to make my own games, or be a game programmer when I grew up. When I started programming, I actually didn't intend to make games at first, but for the last two weeks, or so, I have had a burning desire to make games. I tried OpenGL, and didn't get far at all, but then tried DirectX, which I like much more. I first tried some YouTube tutorials, which were a little weird, so I Googled some tutorials, which I found. They were very good. It was basically like having TheNewBoston explain it to you, mostly because of its easy diction, but it's only the bare basics.

[b]What I need help with:[/b]
I basically, just need to know a good tutorial, or book, basically anything that I can use to learn DirectX. I have tried books, that are either mathematical for me, or just don't explain stuff well. The book "[b]Beginning DirectX 11 Game Programming[/b]" (Allen Sherrod / Wendy Jones), Is the book that is the best so far. It's pretty good, a little disorganized, but pretty good. I learn best from examples. That is probably the main thing that I look for in books. I also have a real real hard time with comprehension. When I get down to the end of the page, I sometimes just am like "what did I just read?". It's not just because I don't understand the programming, because if it's read out loud, I understand it fine. Sorry I got a little off topic, lol.

[b]Basically, what I need help with:[/b]
I need your opinion on the best programming book for DirectX. Preferably 10, or 11. Something that is easy for beginners. I work best with examples.
[/quote]


Well as far as dx11 books, I can't recommend any first hand. I've thus far not moved on to greener pastures, and am still playing with dx9 technology. However, I will highly recommend Jason Zink's book( whose title escapes me, atm....) I've not read it, but have good impressions on his hieroglyph project which is based on dx11, and which the book uses to explain dx11 features AFAIK. I can relate to your admission that you are an aural learner, and how it can be hard to move from your preferred modality, but persevere my friend, because 90 percent of what I've found valuable so far is articles, not video or audiobook. My only real piece of advice is to keep at it.
[/quote]

Thank you sir. I'm going to add this book to my e-book collection. If I ever finish reading it, I might update this thread with my status / satisfaction.

And BTW, what is the difference between DirectX 9, and 10? Is there really that much of a difference? I always just thought they added more functions, and such. What do you recommend for DirectX 9 / 10?
[/quote]

I think there's a huge difference. After 9 they got rid of the fixed function pipeline, and if your learning 9 you will be wasting your time IMO. 10 and 11 have a lot more in common.

Share this post


Link to post
Share on other sites
Avoid D3D9 books, the pipeline and many techniques has changed.. The are only two D11 books so far, the one you are reading (that honestly I found very boring and disorganized), and this which I'm finding very well written [url="http://www.amazon.co.uk/Practical-Rendering-Computation-Direct3D-11/dp/1568817207/"]http://www.amazon.co.../dp/1568817207/[/url] (note that it has a completely different organization).. And here you can find some tutorials [url="http://www.rastertek.com/tutindex.html"]http://www.rastertek.com/tutindex.html[/url] .. And of course about D3D 11.1 there aren't any books or good documentation, just a draft on msdn library..

Otherwise you have too read some good D3D10 books keeping in mind that there are some few changes from d3d 10.x to d3d11 [url="http://msdn.microsoft.com/en-us/library/ff476190(v=VS.85).aspx"]http://msdn.microsof...0(v=VS.85).aspx[/url] A good d3d10 book could be this one: [url="http://www.d3dcoder.net/d3d10.htm"]http://www.d3dcoder.net/d3d10.htm[/url]

Share this post


Link to post
Share on other sites
If you are going to learn DX9 or, to be specific, D3D9, then you absolutely [i]must [/i]learn it from [url="http://www.amazon.com/Introduction-Game-Programming-Direct-9-0c/dp/1598220160/ref=sr_1_1?ie=UTF8&qid=1317508636&sr=8-1"]the shader approach[/url]. Don't waste your time on the FFP; it's a dead technology that carries some interesting curioso for the interested historian.

Going from a shader based DX9 workflow to DX11 is [i]much [/i]less painful than going from a FFP DX9 to DX11. Also, that book is an awesome resource to have and I heartily recommend it - though whether it suits you or not is something you must decide for yourself.

Share this post


Link to post
Share on other sites
[quote name='DarkRadeon' timestamp='1317506955' post='4868094']
Avoid D3D9 books, the pipeline and many techniques has changed.. The are only two D11 books so far, the one you are reading (that honestly I found very boring and disorganized), and this which I'm finding very well written [url="http://www.amazon.co.uk/Practical-Rendering-Computation-Direct3D-11/dp/1568817207/"]http://www.amazon.co.../dp/1568817207/[/url] (note that it has a completely different organization).. And here you can find some tutorials [url="http://www.rastertek.com/tutindex.html"]http://www.rastertek.com/tutindex.html[/url] .. And of course about D3D 11.1 there aren't any books or good documentation, just a draft on msdn library..

Otherwise you have too read some good D3D10 books keeping in mind that there are some few changes from d3d 10.x to d3d11 [url="http://msdn.microsoft.com/en-us/library/ff476190%28v=VS.85%29.aspx"]http://msdn.microsof...0(v=VS.85).aspx[/url] A good d3d10 book could be this one: [url="http://www.d3dcoder.net/d3d10.htm"]http://www.d3dcoder.net/d3d10.htm[/url]
[/quote]

Thanks, for all of these resources. I have heard of that DX11 book, and I have done lesson one, and two, of that tutorial. The author of that book has a gamedev account, and I was the first one to comment on his profile. Once I get some money, I'll probably buy his book, and I'll start doing more lessons on that site. Thank you :)

Share this post


Link to post
Share on other sites
I am reading the same book ("Beginning DirectX 11 Game Programming" (Allen Sherrod / Wendy Jones)). I find that I read a page and then ask myself what the heck did I just read.

The author is assuming readers already know everything he does about graphics, c++ windows programming, system internals, etc

It helps me to go slowly. And stop and look up every single word I don't know. Once you read past one word you don't understand you become completely lost.

Share this post


Link to post
Share on other sites
The Problem is, that DirectX uses "windows.h" at the same time, and it already will confuse you with the basic informations of creating a window.

I guess you are familiar with at least C++. For learning how to create simple computer graphics I recommend to start with OpenGL (for drawing a line segment you only need 35 lines of coding), the book [b]Computer Graphics with OpenGL[/b] by [b]Donald Hearn, M. Pauline Baker, Warren R. Carithers[/b] is a very good beginning to get the basics (you needn't buy it if you don't want to).

If you know how to create polygons, set a camera, rotate/scale/translate coordinates, calculate splines etc. you can start learning DirectX. I always compare programming languages and libraries when I'm learning a new one. But at one point the authors are completly right: You can't create a good looking game if you know nothing how to make it good looking.

Good luck, you can do it

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this