[英]directx 9 with visual studio 2012 express
I decided to learn directx on my old laptop that has an ATI Radeon X1200 card. 我决定在装有ATI Radeon X1200卡的旧笔记本电脑上学习Directx。 Using the program GPU-Z.0.7.2 I found that my card support directx 9 /SM2.0 and has shadrers of 4 Pixel / 2 Vertex. 使用GPU-Z.0.7.2程序,我发现我的卡支持DirectX 9 /SM2.0,并且着色器为4 Pixel / 2 Vertex。 Using dxdiag on my windows 7 I found that directx version is directx 11. Then I downloaded visual studio 2012 express but I did not install it yet. 在Windows 7上使用dxdiag,我发现DirectX版本是DirectX11。然后我下载了Visual Studio 2012 Express,但尚未安装。 Since my card supports only directx 9 im going to read the book Introduction to 3D Game Programming with DirectX 9. Now what version of the direct SDK do I have to download ? 由于我的卡仅支持DirectX 9,因此要阅读《使用DirectX 9进行3D游戏编程简介》一书。现在我必须下载什么版本的Direct SDK? and after downloading the SDK what should I install first the SDK or visual studio 2012 express ? 在下载SDK之后,我应该先安装SDK还是Visual Studio 2012 Express? Is the book ok ? 这本书还好吗? I mean there are other editions of the book but they supprt directx 9c , directx 10 and directx 11. 我的意思是这本书还有其他版本,但它们支持DirectX 9C,DirectX 10和DirectX 11。
Thank u so much. 非常感谢你。
您应该能够使用Direct3D 11,同时仍可以通过D3D_FEATURE_LEVEL
枚举来定向Direct3D 9设备,该枚举可以在D3D11CreateDeviceAndSwapChain
指定。
The Microsoft DirectX SDK (June 2010) contains both DirectX 11 and DirectX 9 headers and documentation. Microsoft DirectX SDK(2010年6月)包含DirectX 11和DirectX 9标头和文档。 The install order doesn't really matter (I've used the SDK in Code::Blocks before installing Visual Studio and it worked fine) since it's really just a collection of header files and debug dlls, plus a bunch of stuff to get you started. 安装顺序并不重要(在安装Visual Studio之前,我已经在Code :: Blocks中使用过SDK,并且效果很好),因为它实际上只是头文件和调试dll的集合,还有很多东西可以帮助您开始。
Personally I don't use books when learning a library - I look at the documentation, which is a firsthand explanation of the material, or search up a tutorial (though you should take anything you read in a tutorial with a grain of salt). 就个人而言,在学习图书馆时,我不会使用书籍-我会看文档(这是对材料的第一手说明)或搜索教程(尽管您应该从教程中读到的东西含糊不清)。 There are also several websites and videos that explain the graphics pipeline really well. 还有一些网站和视频可以很好地解释图形管道。 I can't really comment on the book otherwise. 否则我真的不能评论这本书。
Using dxdiag on my windows 7 I found that directx version is directx 11. 在Windows 7上使用dxdiag,我发现DirectX版本是DirectX 11。
This is the DirectX runtime version, not SDK version. 这是DirectX运行时版本,而不是SDK版本。 so it does not matter which version of SDK you use to develop your program. 因此,使用哪个版本的SDK来开发程序都没有关系。
As others said, the installation order does not matter. 正如其他人所说,安装顺序无关紧要。
The book you mentioned is good for new starters. 您提到的书对新手来说是好的。 but I recommend you to start from the shader version, since fixed pipeline functionalities such as transforming and lighting was abandoned start from DirectX 10, they all moved to shaders, there is a shader version of that book. 但我建议您从着色器版本开始,因为从DirectX 10开始放弃了固定的管道功能(例如,变换和照明),所以它们都移至了着色器,因此该书有一个着色器版本 。
there are lots of materials and resources to learn DirectX, I paste some pages for your reference. 学习DirectX的材料和资源很多,我粘贴了一些页面供您参考。
http://www.directxtutorial.com/LessonList.aspx?listid=9 http://www.directxtutorial.com/LessonList.aspx?listid=9
http://www.braynzarsoft.net/index.php?p=DX11Lessons http://www.braynzarsoft.net/index.php?p=DX11课程
http://www.rastertek.com/tutindex.html http://www.rastertek.com/tutindex.html
DirectX SDK examples are also very good choice. DirectX SDK示例也是很好的选择。
Happy coding! 编码愉快!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.