RasterTek
About
The source code of RasterTek's DirectX 11 tutorials (made ready to use in Visual Studio 2017). Documentation and further explanation can be found at RasterTek.
I am not backing all the (software) design decisions nor the used conventions, but the tutorials get the things done, obtain very pleasing results and are inspiring for people wanting to grasp the rendering pipeline (which is for most special effects less intuitive as opposed to ray tracing).
These tutorials require the obsolete DirectX 11 SDK which is very similar to the DirectX 11 component contained in the Windows SDK. With the exception of the use of D3DXMath
(for which DirectXMath
is a superior and widely used alternative), nearly all code would remain the same and is still relevant. For more info, I refer to Chuck Walbourn's Living without D3DX.
Use
- Install the DirectX 11 SDK. (It is possible that the installer ends with an error code. Nothing to worry about, since I think this is Microsoft's way of notifying the user of installing obsolete Microsoft Software. Roughly stated: if
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)
is present and contains data the installation succeeded.) - Make sure the
DXSDK_DIR
environment variable is set. (If you also use the obsolete DirectX 9 SDK, you need to decide whetherDXSDK_DIR
points to the DirectX 9 SDK or DirectX 11 SDK.) - You can now open all
.sln
files and compile the projects. - Have fun!