Where can one learn DirectX 11

Started by
5 comments, last by Code_Grammer 9 years, 1 month ago

Where can one learn DirectX? I think I got plenty of knowledge in C++, and I think I am ready to start graphics. If anyone knows any good place to learn DirectX or OpenGL (If it's better idk...) then please help me. I've been learning C++ for 2 Months and I really want to start something that actually looks good.

Advertisement

It has a help file and examples.

Please notice : microsoft makes theyr examples real hard to understand, lets say : impossible.

S T O P C R I M E !

Visual Pro 2005 C++ DX9 Cubase VST 3.70 Working on : LevelContainer class & LevelEditor

Depends how you learn best, I learn best by diving right into code and then googling functions. These tutorials can get you on your feet with DX11

https://code.msdn.microsoft.com/Direct3D-Tutorial-Win32-829979ef

http://www.rastertek.com (OOP)

http://www.braynzarsoft.net (procedural)

Depends how you learn best, I learn best by diving right into code and then googling functions. These tutorials can get you on your feet with DX11

https://code.msdn.microsoft.com/Direct3D-Tutorial-Win32-829979ef

Thanks, this is how I learn best also :D

First, be mindful that the tutorials listed above are based on the DirectX SDK (June 2010), commonly referred to as the DX SDK, which Microsoft has deprecated (no longer supports). You can still download and install that SDK and it does, in fact, include some very useful examples which will give you a basis for the process of setting up a DirectX app and rendering. Not a bad place to start.

However, you may eventually want to migrate to basing your projects not on the DirectX SDK, but on the Windows SDK, which gets installed with various versions of Visual Studio. You will then have to code alternative methods for some tasks. That is, some functions and structures included in the DirectX SDK library (primarily distinguished with the prefix D3DX), do not have equivalents (or the equivalents are invoked and work in a different way) in the Windows SDK. There are some good support libraries to help you with the conversion, such as the DirectX Toolkit.


I've been learning C++ for 2 Months and I really want to start something that actually looks good.

Start slowly and approach it step-by-step. Your initial goal should be to get a simple window with a nice background color displayed. If you choose to start with the DX SDK mentioned above, there are a couple examples ( e.g., SimpleSample ) that will do just that. It's not too difficult, then, to get a colored triangle displayed onscreen (other examples from the DX SDK). When you're comfortable with the basics, continue with a simple approach - a Pong clone, perhaps.

As you progress, you may want to consider learning more about the Windows SDK approach.

Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly.

You don't forget how to play when you grow old; you grow old when you forget how to play.

I've been learning C++ for 2 Months

So, you've only been rock climbing for 60 days and want to climb K2? If you just want to learn graphics programming why not use DirectX 9? Directx11 does away with the fixed function pipeline, which adds another arduous layer to the mix. It's not that the DirectX SDK help or google isn't a place to get a foothold, it's that a majority of those tutorials are incomplete on the esoterics. That's before we start talking about 3d math. You can use UE4, or check out www.gameinstitute.com

This topic is closed to new replies.

Advertisement