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

No credit card required

### Complex Objects and Textures

Going to the trouble of vertex buffers, effects, views, and projections is a lot of work for a single triangle. And because this triangle is completely flat, it hardly seems like a decent example of three-dimensional drawing. But now that you understand the basic concepts of Silverlight 3D, you're ready to create more complex shapes.

Once you've mastered the lowly triangle, the next step up is to create a solid, faceted shape by assembling a small group of flat, 2D triangles. In the following example, you'll create a cube.

A cube consists of six square sides. Each square side needs two triangles. Each square side can then be joined to the adjacent side at an angle. Figure 13-9 shows how a cube breaks down into triangles ...

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

No credit card required