Project Description
This projects demonstrates hierarchical modeling by posing the fingers of a hand on a guitar to form the 7 major chords. It also uses texture mapping on the guitar object and Phong shading on the fingers.
The controlls are as follows:
Camera Movement: Arrow Keys
Look Around: Mouse Movement
Change Chords: "A", "B", "C",...,"G"
Toggle Fingers: "1", "2", "3", "4"
How it Works
How is a hand specified?
I choose to model my hand with as a series of rotations. Each finger is comprised of four rotations. Consequently, the rotations for all four fingers fit perfectly inside a mat4 and can be easily passed throughout the rendering functions.
Movement
The hand will animate from one chord to chord by using a linear combination of the two chord rotation matrices. This allows for fluid movement over multiple render calls.