Book Image

Visual Studio 2015 Cookbook - Second Edition

By : Jeff Martin
Book Image

Visual Studio 2015 Cookbook - Second Edition

By: Jeff Martin

Overview of this book

Visual Studio 2015 is the premier tool for developers targeting the Microsoft platform. Learning how to effectively use this technology can enhance your productivity while simplifying your most common tasks, allowing you more time to focus on your project. Visual Studio 2015 is packed with improvements that increase productivity, and this book walks you through each one in succession to help you smooth your workflow and get more accomplished. From customization and the interface to code snippets and debugging, the Visual Studio upgrade expands your options — and this book is your fast-track guide to getting on board quickly. Visual Studio 2015 Cookbook will introduce you to all the new areas of Visual Studio and how they can quickly be put to use to improve your everyday development tasks. With this book, you will learn not only what VS2015 offers, but what it takes to put it to work for your projects.
Table of Contents (17 chapters)
Visual Studio 2015 Cookbook Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

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.

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 so now. If you have already completed it, then open up the solution you created, as you're ready to get started.

How to do it...

Create a 3D model using the following steps:

  1. Right-click on the project, and...