我在哪里可以学习DirectX编程?

时间:2022-03-19 15:08:33

I want to learn DirectX in C++ programming. I decided to learn DirectX, so I found some tutorials online, but they all were very complicated and hard to understand. I have spent 3 days on a tutorial, and I have read everything, but I still can't even make an program that initializes DirectX. I think its very hard to learn that way.

我想在C ++编程中学习DirectX。我决定学习DirectX,所以我在网上找到了一些教程,但它们都很复杂,很难理解。我在教程上花了3天时间,我已经阅读了所有内容,但我仍然无法制作初始化DirectX的程序。我认为这很难学习。

Can anyone recommend a good tutorial/book?

任何人都可以推荐一本好的教程/书吗?

3 个解决方案

#1


17  

The best resource I know of for learning DirectX is Frank Luna's book. It does assume you know C++. If you can get up to the chapter on the rendering pipeline and understand it, you're probably ready for DirectX. As for being hard to remember and complicated, this book does a great job of making sense out of the madness, and besides I don't memorize most of the structs used for initialization.

我所知道的学习DirectX的最佳资源是Frank Luna的书。它假设您了解C ++。如果您可以了解渲染管道的章节并理解它,那么您可能已准备好使用DirectX。至于难以记忆和复杂,这本书很好地理解了疯狂,除此之外我没有记住大多数用于初始化的结构。

#2


5  

Try XNA Game Studio, which is somewhat based on DirectX but a lot easier. (You need C# though.)

试试XNA Game Studio,它有点基于DirectX,但更容易。 (你需要C#。)

#3


2  

just so you know you should understand what your reading when it comes to programming tutorials don't memorize. DirectX is basically a middle man between you and the hardware it lets you communicate with the hardware devices you're using like the graphics and video cards without having to know too much about them, but you should still have a good understanding of how they work before you try to create complex 3D Animations and such so if you're just starting off learn how to use the programming language and then start off with a simpler API or library like SDL, or Allegro for example DirectX is long and complicated and you should learn to walk before you run, :D good luck and happy programming

只是让你知道你应该理解你的阅读在编程教程时不记得。 DirectX基本上是你和硬件之间的中间人,它可以让你与你正在使用的硬件设备(如图形和视频卡)进行通信而不必过多地了解它们,但你仍然应该很好地理解它们是如何工作的在你尝试创建复杂的3D动画之前,如果你刚刚开始学习如何使用编程语言然后从更简单的API或库开始,比如SDL,或Allegro,例如DirectX是漫长而复杂的,你应该在跑步前学会走路,祝你好运,祝你好运

#1


17  

The best resource I know of for learning DirectX is Frank Luna's book. It does assume you know C++. If you can get up to the chapter on the rendering pipeline and understand it, you're probably ready for DirectX. As for being hard to remember and complicated, this book does a great job of making sense out of the madness, and besides I don't memorize most of the structs used for initialization.

我所知道的学习DirectX的最佳资源是Frank Luna的书。它假设您了解C ++。如果您可以了解渲染管道的章节并理解它,那么您可能已准备好使用DirectX。至于难以记忆和复杂,这本书很好地理解了疯狂,除此之外我没有记住大多数用于初始化的结构。

#2


5  

Try XNA Game Studio, which is somewhat based on DirectX but a lot easier. (You need C# though.)

试试XNA Game Studio,它有点基于DirectX,但更容易。 (你需要C#。)

#3


2  

just so you know you should understand what your reading when it comes to programming tutorials don't memorize. DirectX is basically a middle man between you and the hardware it lets you communicate with the hardware devices you're using like the graphics and video cards without having to know too much about them, but you should still have a good understanding of how they work before you try to create complex 3D Animations and such so if you're just starting off learn how to use the programming language and then start off with a simpler API or library like SDL, or Allegro for example DirectX is long and complicated and you should learn to walk before you run, :D good luck and happy programming

只是让你知道你应该理解你的阅读在编程教程时不记得。 DirectX基本上是你和硬件之间的中间人,它可以让你与你正在使用的硬件设备(如图形和视频卡)进行通信而不必过多地了解它们,但你仍然应该很好地理解它们是如何工作的在你尝试创建复杂的3D动画之前,如果你刚刚开始学习如何使用编程语言然后从更简单的API或库开始,比如SDL,或Allegro,例如DirectX是漫长而复杂的,你应该在跑步前学会走路,祝你好运,祝你好运