I need an advice - learning and D3D.

Started by
7 comments, last by JustABegineer 11 years, 6 months ago
I have been learning OpenGL from NeHe tutorials for half a week. I have stoped because changed my opinion. Of course, OGL is cross-platform and very useful but to be honest - Who use OpenGL as main render device? Nobody... AAA games as well as professional game engines (Source Engine, Unreal Engine, Cry Engine, Quake?, Doom? and many others...) use DirectX.DX also allows you to write games for Xbox, Play Station etc.

I would like to learn DirectX 11. 11 is new and fresh. Say nothing of new features like tessellation and multi-thread rendering, microsoft developers did a big step - everything has been changed since DX9. I think learning will take me a long time. It is not unprofitable(?) to learn DX9, DX9 will be old soon. We will see a new technologies - next Xbox, Play Staton etc... On the other hand DX9 has a lot of tutorials and useful samples from Directx SDK. I also tested WinApi, Allegro and Irrlicht (but i didnt like it).

I have spended last 2 days on looking tutorials and some interesting things for DX11. What have i found?
http://www.rastertek.com/tutdx11.html - This site has a lot of tutorials. I didnt like, a author writes code making a pseudo game engine. To draw a triangle, author wrote many code (like in small pseudo game engine).
DirectX 11 samples from SDK - there are many tutorials for beginners with DX9, intermediate with DX10 and advanced with DX11 (as i said - tessellation, multi-thread rendering etc. and a few tutorials about drawing a triangle)

So, to sum up, my question is: how should I learn DirectX 11? and how have you learned Directx? (9,10,11 - it dosent matter).
[size=2]That would be very useful instead of broking my head on question - what to do. Sorry for a language mistakes in my text - i am just learning.

Advertisement

I have been learning OpenGL from NeHe tutorials for half a week. I have stoped because changed my opinion. Of course, OGL is cross-platform and very useful but to be honest - Who use OpenGL as main render device? Nobody... AAA games as well as professional game engines (Source Engine, Unreal Engine, Cry Engine, Quake?, Doom? and many others...) use DirectX.DX also allows you to write games for Xbox, Play Station etc.

I would like to learn DirectX 11. 11 is new and fresh. Say nothing of new features like tessellation and multi-thread rendering, microsoft developers did a big step - everything has been changed since DX9. I think learning will take me a long time. It is not unprofitable(?) to learn DX9, DX9 will be old soon. We will see a new technologies - next Xbox, Play Staton etc... On the other hand DX9 has a lot of tutorials and useful samples from Directx SDK. I also tested WinApi, Allegro and Irrlicht (but i didnt like it).

I have spended last 2 days on looking tutorials and some interesting things for DX11. What have i found?
http://www.rastertek.com/tutdx11.html - This site has a lot of tutorials. I didnt like, a author writes code making a pseudo game engine. To draw a triangle, author wrote many code (like in small pseudo game engine).
DirectX 11 samples from SDK - there are many tutorials for beginners with DX9, intermediate with DX10 and advanced with DX11 (as i said - tessellation, multi-thread rendering etc. and a few tutorials about drawing a triangle)

So, to sum up, my question is: how should I learn DirectX 11? and how have you learned Directx? (9,10,11 - it dosent matter).
[size=2]That would be very useful instead of broking my head on question - what to do. Sorry for a language mistakes in my text - i am just learning.



A lot of games use OpenGL:

http://en.wikipedia....OpenGL_programs including Starcraft 2 (OSX version), also the Source Engine and Unreal Engine use OpenGL as well as D3D.

You should have a lot of examples provided with the SDK for D3D 11.

This site: http://www.rastertek.com/tutdx11.html has plenty of examples and I still recommend it. Your goal shouldn't be to copy how someone structures there code, but what they have done in order to get that given result.

You can also go to: http://www.directxtu.../tutorials.aspx

You could just as well buy a book: (Introduction to 3D Game Programming with DirectX 11) http://www.amazon.co...ds=direct 3d 11

I wouldn't worry about what "people" use for AAA games unless you're making AAA games. To say nobody uses OpenGL for AAA title's is false statement. You can get a group of programmers and artists together that lack skill and ability with the best tools out there, and they still would not be able to make any AAA titles. There is no magic button to producing high quality games.

To answer your question on how you should learn DirectX, is to simply just use it! Make a ton of example programs using samples and other tutorials you read up on. I learn API's by understanding the basic structure, and just exploring by spending hours coding with that API. This may not work for everyone because we all learn differently, but much like programming itself, the hours spent coding and exploring is one way to become more familiar with the language.

How much programming experience do you have?
GameDev Journal: http://www.gamedev.n...-rooks-journal/

OpenChess - 1.0 done!

Classic RPG #1 - Task 9 -> January 1st 2013

[quote name='JustABegineer' timestamp='1349222050' post='4986237']
I have been learning OpenGL from NeHe tutorials for half a week. I have stoped because changed my opinion. Of course, OGL is cross-platform and very useful but to be honest - Who use OpenGL as main render device? Nobody... AAA games as well as professional game engines (Source Engine, Unreal Engine, Cry Engine, Quake?, Doom? and many others...) use DirectX.DX also allows you to write games for Xbox, Play Station etc.

I would like to learn DirectX 11. 11 is new and fresh. Say nothing of new features like tessellation and multi-thread rendering, microsoft developers did a big step - everything has been changed since DX9. I think learning will take me a long time. It is not unprofitable(?) to learn DX9, DX9 will be old soon. We will see a new technologies - next Xbox, Play Staton etc... On the other hand DX9 has a lot of tutorials and useful samples from Directx SDK. I also tested WinApi, Allegro and Irrlicht (but i didnt like it).

I have spended last 2 days on looking tutorials and some interesting things for DX11. What have i found?
http://www.rastertek.com/tutdx11.html - This site has a lot of tutorials. I didnt like, a author writes code making a pseudo game engine. To draw a triangle, author wrote many code (like in small pseudo game engine).
DirectX 11 samples from SDK - there are many tutorials for beginners with DX9, intermediate with DX10 and advanced with DX11 (as i said - tessellation, multi-thread rendering etc. and a few tutorials about drawing a triangle)

So, to sum up, my question is: how should I learn DirectX 11? and how have you learned Directx? (9,10,11 - it dosent matter).
[size=2]That would be very useful instead of broking my head on question - what to do. Sorry for a language mistakes in my text - i am just learning.



A lot of games use OpenGL:

http://en.wikipedia....OpenGL_programs including Starcraft 2 (OSX version), also the Source Engine and Unreal Engine use OpenGL as well as D3D.

You should have a lot of examples provided with the SDK for D3D 11.

This site: http://www.rastertek.com/tutdx11.html has plenty of examples and I still recommend it. Your goal shouldn't be to copy how someone structures there code, but what they have done in order to get that given result.

You can also go to: http://www.directxtu.../tutorials.aspx

You could just as well buy a book: (Introduction to 3D Game Programming with DirectX 11) http://www.amazon.co...ds=direct 3d 11

I wouldn't worry about what "people" use for AAA games unless you're making AAA games. To say nobody uses OpenGL for AAA title's is false statement. You can get a group of programmers and artists together that lack skill and ability with the best tools out there, and they still would not be able to make any AAA titles. There is no magic button to producing high quality games.

To answer your question on how you should learn DirectX, is to simply just use it! Make a ton of example programs using samples and other tutorials you read up on. I learn API's by understanding the basic structure, and just exploring by spending hours coding with that API. This may not work for everyone because we all learn differently, but much like programming itself, the hours spent coding and exploring is one way to become more familiar with the language.

How much programming experience do you have?
[/quote]
I think, I know C++ enough to learn DX. I had been learning C++ for 3-4 weeks a one year ago. I had a one year break so have been recalling C++ for a 2 weeks. I made some small things like: 2 console games, WinApi game launcher, very small 2D game in Allegro, loader/parser cfg files from Quake etc.
When I started learning DX9 last year this website was incredibly useful.
If you've got the money spare I totally recommend buying the premium.

http://www.directxtutorial.com

EDIT: Just saw you've already been linked to this site, My bad! But that just reiterates how good it is!
When you were using OpenGL, what turned you away from using it?
GameDev Journal: http://www.gamedev.n...-rooks-journal/

OpenChess - 1.0 done!

Classic RPG #1 - Task 9 -> January 1st 2013
I am wondering about a book about DX11. I noticed Introduction to 3D Game Programming with Direct3D 11.0 but I would like to download PDF of this book. I have founded out nothing. I don't live in English or USA so I can't just go to a shop books and check this book out. I don't want to spend my money to deliver It to my country when this book is not enough good. Of course I will buy it if i liked.

I also saw Beginning DirectX 11 Game-Programming and i did not like it.


When you were using OpenGL, what turned you away from using it?

OGL is good but many game producers use DirectX - it is much popular. Also on GameDev.net:
DirectX forums: 7,315,993 posts
OpenGL forums: 1,461,866 posts


At the moment I will start with http://www.rastertek.com/tutdx11.html tutorials. This is not the best choice but this only what can i do.
Well I wish you the best in your journey with DirectX 11. I'm not sure where you can buy the PDF version sadly.
GameDev Journal: http://www.gamedev.n...-rooks-journal/

OpenChess - 1.0 done!

Classic RPG #1 - Task 9 -> January 1st 2013
<br />Who use OpenGL as main render device? Nobody... AAA games as well as professional game engines (Source Engine, Unreal Engine, Cry Engine, Quake?, Doom? and many others...) use DirectX.DX also allows you to write games for Xbox, Play Station etc.<br />
Sorry to not answer your question -- Just clearing up a misconception: DX doesn't allow you to make games for consoles.
Only professionally licenced ($$$) MS/Sony developers can use the raw APIs on 360/PS3 (regular people can use XNA on 360), and the 360's raw API is very similar to PC's DX, but not the same. The PS3's is nothing like DX or GL.
GL is used by the above engines on Mac/Linux/Mobile, even though they use DX on Windows. Also Quake/Doom/Rage/etc do use GL on Windows, not D3D.
Once you've learned one graphics API, then learning another will be very easy.

What else tutorials Do you prefer guys?

This topic is closed to new replies.

Advertisement