Presentation is loading. Please wait.

Presentation is loading. Please wait.

By John Crocker UC Santa Cruz, 2012 CMPS 162 Advanced Computer Graphics and Animation.

Similar presentations


Presentation on theme: "By John Crocker UC Santa Cruz, 2012 CMPS 162 Advanced Computer Graphics and Animation."— Presentation transcript:

1 By John Crocker UC Santa Cruz, 2012 CMPS 162 Advanced Computer Graphics and Animation

2

3

4 //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 }

5  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.

6 Project: http://graphics.ucsd.edu/courses/cse169_w05/3 -Skin.htm Starting Implementation: http://content.gpwiki.org/index.php/OpenGL:T utorials:Basic_Bones_System


Download ppt "By John Crocker UC Santa Cruz, 2012 CMPS 162 Advanced Computer Graphics and Animation."

Similar presentations


Ads by Google