Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Windows 8 Game Development

You're reading from   Learning Windows 8 Game Development Windows 8 brings touchscreens to the tablet and PC. This book will show you how to develop games for both by following clear, hands-on examples. Takes your C++ skills into exciting areas of 3D development.

Arrow left icon
Product type Paperback
Published in Oct 2013
Publisher Packt
ISBN-13 9781849697446
Length 244 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Michael Quandt Michael Quandt
Author Profile Icon Michael Quandt
Michael Quandt
Arrow right icon
View More author details
Toc

Appendix A. Adding the Third Dimension

In the previous chapters you have been working on a 2D game, and DirectXTK hides away a lot of the complexity of making a 2D game in a 3D world. Most big-budget modern games make use of 3D instead of 2D for most of the action, to create immersive experiences that in many cases try to look as realistic as possible.

3D itself is not much more complicated than working in 2D; however, because we're working with Direct3D directly now, there is some extra complexity and concepts that you need to learn to understand how everything fits together.

In this appendix we're going to take a crash course in 3D rendering by looking at the different concepts involved, from vertices to shaders, and how they all fit together to put a 3D object on the screen.

We will cover the following topics:

  • Vertices and triangles
  • Indices
  • 3D cameras
  • DirectXMath
  • Buffers
  • Shaders (vertex and pixel)
  • Input layouts
  • Drawing the model

If you've skipped back to this section and...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime