Creating and displaying a 3D model
In the previous Creating a shader using DGSL recipe, you created a shader that applies a texture to a predefined model. However, most applications will need more variety than the default models offered. Fortunately, Visual Studio provides a mechanism for creating your own 3D models.
Visual Studio offers a fairly basic 3D modeling tool, and while it's nowhere near as fully featured as Maya or other specialist modeling tools, it does come in the box, and it meets the needs of the homebrew developer, or those simply wanting to rough in some models or tweak some properties of a model supplied by a designer.
This recipe uses the shader from the previous Creating a shader using DGSL recipe. So, if you haven't ...