Head/Eye aiming with skeletal meshes
Check out this article at ziggyware about Head/Eye aiming with skeletal meshes. You can download the pdf and source code.
From the article:
A Method for Head and Eye Aiming using Steepest Descent by Scott M.Johnson
Abstract
A solution is presented to aim an animated character’s eyes at a target point. Optionally, the character can look directly at a target point by turning the character’s neck. This is a good solution because visual results are good, and there is an accompanying XNA project (based off the XNA Skinning Sample) that implements the solution so that you can try it and evaluate it before you decide to add it to your title. Of course since the solution is in XNA it is implemented in C#. This problem has also been called Eye and Head Tracking but “aiming” seemed more appropriate.

Sample controls:
Moving the targetPoint - I, J, K, L, M, N
Moving the camera - usual keys from the Skinning Sample - Arrow Keys, Z, X
Showing the reference frames of the bones - Q, A

No comments
Jump to comment form | comments rss [?] | trackback uri [?]