The only thing that may appear unfamiliar is the MatrixPalette. This stores an array of transforms that represent the current transforms for the bones on the model. The bones have indexes in the palette, but be careful: the indices in the program will usually not match the indices in the effect. This is because many bones on most models are not used by the shader since they directly affect no vertices.

Last edited Mar 7, 2007 at 10:33 PM by dastle, version 1


No comments yet.