Creating and displaying a 3D model

In the previous Creating a shader using DGSL recipe, you created a shader for applying a texture to a model. It would be great if there was an easy way to create your own 3D models, and Visual Studio provides a mechanism for doing just that. 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. 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.

Getting ready

This recipe uses the shader from the previous Creating a shader using DGSL recipe. So, if you haven't already completed that, go ahead and do ...

Get Visual Studio 2013 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.