1 / 9

Animation

Animation. CS418 Computer Graphics John C. Hart. Keyframe Animation. Set target positions for vertices at “key” frames in animations Linearly interpolate vertex positions between targets at intervening frames Lots can go wrong (like the feet) Can be fixed by adding key frames

heaton
Download Presentation

Animation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Animation CS418 Computer Graphics John C. Hart

  2. Keyframe Animation • Set target positions for vertices at “key” frames in animations • Linearly interpolate vertex positions between targets at intervening frames • Lots can go wrong (like the feet) • Can be fixed by adding key frames • Piecewise linear approach to animation • Need same number and configuration of vertices at key frames for intervening frames to make sense • Often need to find correspondences between two collections of vertices A motivating example from: Sederberg & Greenwood, A Physically-BasedApproach to 2-D Shape Blending, Proc. SIGGRAPH 92

  3. Keyframe Animation • Set target positions for vertices at “key” frames in animations • Linearly interpolate vertex positions between targets at intervening frames • Lots can go wrong (like the feet) • Can be fixed by adding key frames • Piecewise linear approach to animation • Need same number and configuration of vertices at key frames for intervening frames to make sense • Often need to find correspondences between two collections of vertices A motivating example from: Sederberg & Greenwood, A Physically-BasedApproach to 2-D Shape Blending, Proc. SIGGRAPH 92

  4. Polar Decomposition • Linear affine interpolation of transformation matrices does not accommodate rotation • Let M be the upper-left 3x3 submatrix ofa 4x4 homogeneous transformation matrix • Decompose: M = QS • Q: non-linearly varying part (rotation) • S: linearly varying part (scale, shear) • Initialize Q = M • Replace Q = ½ (Q + Q-T) until it convergence to a 3x3 rotation matrix (QT = Q-1) • Then Q contains the rotation part of M • And S = QTM contains the scaling part • Interpolate S linearly per-element • Interpolate Q using quaternions

More Related