Chap 0/100: Setup a new project with Visual Studio 2010
​This is where our journey of 101 Chapters begins.
This tutorial is for persons with some programming experience.
What Its good to know before this tutorial:
​C++ - ​http://www.cplusplus.com/doc/tutorial​​
Windows 32 programming - http://www.functionx.com/win32​​
HLSL - This book is an excellent reference Programming Vertex Geometry and Pixel Shaders
How to edit 2D images (I persolnal use Photo Shop or GIMP 2, free)
How to edit sound files (I use Nero WaveEditor which is free)
​How to edit 3D files, (I use Autodesk 3ds Max 2010 and also Blender)
The Basic HW / SW Requirements:
A graphic card with shader version that supports at least DirectX 10 with Shader 4.0, desirable 5.0
A computer with OS Windows Vista, desirable Windows 7.
​​​
STEP 1: Install the Basic Developer Tutorial tools​
-Main C++ IDE: Microsoft Visual Studio 2010. (1)
-DirectX 11 SDK version from June2010. (2) (FREE)
-Cygwin to compile and run a simulated Linux Server environment for the game. (3) (FREE)
Note:
(1)
The free Microsoft Visual C++ 2010 Express, along with the rest of the Microsoft Visual Studio 2010 Express suite of programs,
is available free of charge directly from Microsoft
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express-iso
​
(2)
IDEs should be installed first and then install the DirectX SDK.
http://www.microsoft.com/en-us/download/details.aspx?id=6812
(3)
Cygwin can be Install from:
​http://cygwin.com/setup.exe
​
​
​STEP 2: Creating a new project DX 11 Tutorial
​Open the Visual Studio 2010 after the installation of the (1), (2) and (3) above.
Go to File menu, select New / Project / Win 32 Project
Name: WoMA_Chap1
Location: C:\Dx11Engine3D
Solution Name: WorldOfMiddleAge
and Press OK and NEXT
Then on select:
Application Type: Windows Application​
Additional Options: Empty Project
Finish
​
STEP 3: Adding a file to the project (sample)
​On Solution Explorer Select Source File, right click, and select "Add" / "New Item..."
Select: C++ File (.cpp)
Name: main.cpp
Location: C:\Dx11Engine3D\WorldOfMiddleAge\WoMA_Chap1\src
On Solution Explorer Select Source File, right click, and select "Add" / "New Item..."
Select: Header File (.h)
Name: main.h
Location: C:\Dx11Engine3D\WorldOfMiddleAge\WoMA_Chap1\src
(do the same for all other files)