Rendering 3D graphics
Apart from drawing various shapes on a two-dimensional canvas using XAML, it is also possible to prepare complex and attractive 3D graphics in applications using the popular and powerful DirectX technology. What is really interesting is that your applications can even combine DirectX-rendered graphics with XAML content.
In this recipe, you will learn how to create a new project that combines DirectX and XAML. Various parts of the automatically generated solution will be described to give you a quick introduction on the topic of developing applications with 3D graphics.
Getting ready
To step through this recipe, you need only the opened IDE.
How to do it...
To create a project that presents 3D graphics, perform the following steps:
Create a new project by navigating to File | New | Project... from the main menu.
Navigate to Installed | Templates | Other Languages | Visual C++ | Windows and then choose the Universal group from the list on the left. Also, select DirectX 11 and...