The basics of directx9.0 3D game development Programming in VS2010

Source: Internet
Author: User

In the book, the author of the various configurations in vc6.0 and VS2005 has been written very clearly, vs2008 basic continuation of the VS2005 settings, but in vs2010, it seems that there is no such option, so I will my method, as well as some chapters in the book and the current changes to say, The first is to configure the development environment, VS2010 need to set up for each project, open a new project file, in the project properties select C/S directory, the original include file can choose to add to the Include directory, lib/x86 file can choose to join the cry

Library directory as shown in figure

In the author's source code often there will be quoted strings appear, this time need to change in the general, such as the figure

That's all you can do.

For the book in the chapter, it should be a routine is not possible, seemingly because of the new version of the DX SDK, as well as in writing HLSL, the source code in the book needs to be changed, such as in toon.txt need to change the extern to static, while the author wrote the shader Triangle patches cannot be displayed in vs2010 for unknown reasons

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.