Primitives Tutorials

This category of tutorials is designed to teach you the basics of drawing primitives in XNA. Primitives, like triangles and lines, are the building blocks of 3D drawing. In the 3D tutorials, we learned how to draw 3D models, which gets us a very long way. However, sometimes, we want to be able to draw stuff without having to use a Model. For instance, we may have terrain that we generated in our game. It wasn’t loaded into as a model, and so we will need to know how to draw our terrain ourselves. These tutorials will teach you how to draw primitives including triangles and lines, and we will also discuss index buffers, which allow us to draw things a lot faster.