CHAPTER 4 ■ WORKING WITH MODELS
309
4-8. Visualize the Bone Structure of a Model
The Problem
As discussed in the last part of recipe 4-1, a Model usually contains a lot of members, called
ModelMeshes. The positional relations between these ModelMeshes are contained within the
Bone structure of a Model object. This Bone structure defines how and where all ModelMeshes are
attached to each other and how much each ModelMesh is rotated and/or scaled relative to its
parent ModelMesh.
Before you can move on to making a Model come alive, you need to know which
ModelMeshes are attached to which Bone, and you need to visualize the Bone structure.
The Solution
Models are composed from ModelMeshes. These ModelMeshes contain all the data needed to ren-
der ...