motion capture
play

Motion Capture CS418 Interactive Computer Graphics John C. Hart - PowerPoint PPT Presentation

Motion Capture CS418 Interactive Computer Graphics John C. Hart Flexible Body Animation Need same number and configuration of vertices at key frames for intervening frames to make sense Need to have correspondences between two


  1. Motion Capture CS418 Interactive Computer Graphics John C. Hart

  2. Flexible Body Animation • Need same number and configuration of vertices at key frames for intervening frames to make sense • Need to have correspondences between two collections of vertices Motion Capture • Place fiducial markers (e.g. ping pong balls) on a real-world object • Capture 3-D pose of markers at key frames • Use motion of markers to deform model A motivating example from: Sederberg & Greenwood, A Physically- Based Approach to 2-D Shape Blending, Proc. SIGGRAPH 92

  3. Place Fiducial Markers

  4. Create Bone Model Endpoint positions based on geometric combinations of fiducial marker positions

  5. Create Bone Model

  6. Measure Joint Angles θ 1 θ 2 θ 3 θ 4

  7. Fit New Pose θ 1 θ 2 θ 2 θ 4 θ 3 θ 4 θ 3 θ 1

  8. Joint Angles = Pose θ 1 θ 2 θ 2 θ 4 θ 3 θ 4 θ 3 θ 1

  9. Model Shape from Bones θ 1 θ 2 θ 2 θ 4 θ 3 θ 4 θ 3 θ 1

  10. Model Shape from Bones θ 1 θ 2 θ 2 θ 4 θ 3 θ 4 θ 3 θ 1

  11. Motion Retargeting θ 2 θ 1 θ 2 θ 4 θ 3 θ 1 θ 3 θ 4

  12. Simple Inverse Kinematics Given target point ( x , y ) in position space, what are the parameters ( θ , φ ) in configuration space that place the hand on the target point? (0,0) ( x , y ) φ θ b a

  13. Simple Inverse Kinematics Use Law of Cosines to find θ d 2 = a 2 + b 2 – 2 ab cos θ cos θ = ( a 2 + b 2 – d 2 )/2 ab cos θ = ( a 2 + b 2 – x 2 – y 2 )/2 ab d (0,0) ( x , y ) α θ b a

  14. Simple Inverse Kinematics Use Law of Cosines to find α cos α = ( a 2 + d 2 – b 2 )/2 ad cos α = ( a 2 + x 2 + y 2 – b 2 )/2 ad d (0,0) ( x , y ) α θ b a

  15. Simple Inverse Kinematics Use arctangent to find β then φ β = atan2( y , x ) φ = α – β β (0,0) ( x , y ) φ θ b a

  16. Simple Inverse Kinematics • Only works for single joint • Always planar because only three points • Works great for elbows, knees, etc. (0,0) ( x , y ) φ θ b a

Recommend


More recommend