60 likes | 186 Views
By John Crocker. Mesh Handling in Joint Animation. UC Santa Cruz, 2012 CMPS 162 Advanced Computer Graphics and Animation. Joint Animaitons. One (my) Solution:. Smooth Skin Pseudo:. //Create temporary composite array of skinning matrices. Derived from
E N D
By John Crocker Mesh Handling in Joint Animation UC Santa Cruz, 2012 CMPS 162 Advanced Computer Graphics and Animation
Smooth Skin Pseudo: //Create temporary composite array of skinning matrices. Derived from // the constant binding matrices and the world matrices produced from //the skeleton // forward kinematics For each Joint (j) Compute Mj = Bj^-1 * Wj For each Vertex { Create temp position v’ = [0 0 0 0] Create temp normal n’ = [0 0 0 0] //Loop through all of the attached joints and sum all weights to find // contribution For each joint attached (i) to current vertex { v’ = v’ + wi * v*Mi n’ = n’ + wi * v*Mi } v = v’ //Store Position n = n’ / |n’| //Store normalized normal }
Project Forecast: • Three Windows: • User directions for application • Joint animation, vertices can only have one associated joint: Here, the user can explore at least one pre- scripted animation. Visually, it will be obvious that optimization is needed in order for more realistic, life-like movement to occur. • Smooth Skin Algorithm: This window will contain my approach to optimizing the first window. Here user’s can explore at least one pre- scripted animation and derive a conclusion themselves on whether my approach is valid to achieve more realistic joint movement.
Thank you, Resources: Project: http://graphics.ucsd.edu/courses/cse169_w05/3-Skin.htm Starting Implementation: http://content.gpwiki.org/index.php/OpenGL:Tutorials:Basic_Bones_System