O'Reilly logo

Visual Studio 2012 Cookbook by Richard Banks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating and displaying a 3D model

In the previous recipe, Creating a shader using DGSL, you created a shader for applying a texture to a model. This is great, but without having a model to apply the shader to it’s kind of useless. 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 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.

Getting ready

This recipe uses the shader from the previous Creating ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required