• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1:Title:
2ChameleonMan
3
4:ShortDescription:
5This demo shows a matrix skinned character in combination with bump mapping.
6
7:FullDescription:
8The ChameleonMan demo shows a Matrix Skinned Character in combination with bump mapping.
9
10Matrix Skinning is the act of animating a vertex over time given a set (palette) of matrices and a known set of blend weights assigned to those matrices. The ChameleonMan model has 19 bones and an animation cycle of 16 frames.
11
12For each frame the Matrix Palette is recomputed based on time. For example to render the model at time point 5.25 the application would linearly blend between the matrices stored for frame 5 and 6 using weights of 0.75 and 0.25 respectively.
13
14Per vertex, up to 3 matrices, from the palette, along with 3 weights are used by the vertex shader to update the vertex position to obtain the current animation frame position.
15
16Two lighting modes are available:
17	-	per vertex lighting
18	-	bump mapped lighting
19
20Controls:
21	-	1	-	Toggle lighting modes
22	-	Esc	-	Close the application
23