O'Reilly logo

Microsoft XNA 4.0 Game Development Cookbook by Luke Drumm

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

Chapter 3. Procedural Modeling

In this chapter we will cover:

  • Modeling triangles
  • Modeling discs
  • Modeling spheres
  • Modeling tori
  • Modeling trees

Introduction

It's probably an indicator of how deep the roots of software development run in me, that every time I create a 3D model in a modeling package, my brain almost immediately starts wandering off into the possibilities of wondering what recreating it programmatically would have offered me instead.

Instead of needing to implement some weird rigging or slicing regime to facilitate customization in my models with a 3D modeling package, I can do the customizations "on the fly" within my code, as needed. Need those wheels a little larger on later levels? How about a longer blade on that sword? With code, all ...

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