Character Animation COS 426

Similar documents
Computer Animation. Courtesy of Adam Finkelstein

Keyframe Animation. Computer Animation. Outline. Computer Animation. Keyframe Animation. Keyframe Animation

Computer Animation. Michael Kazhdan ( /657) HB 16.5, 16.6 FvDFH 21.1, 21.3, 21.4

To Do. History of Computer Animation. These Lectures. 2D and 3D Animation. Computer Animation. Foundations of Computer Graphics (Spring 2010)

Scene Graphs & Modeling Transformations COS 426

Modeling Transformations

Subdivision Surfaces. Course Syllabus. Course Syllabus. Modeling. Equivalence of Representations. 3D Object Representations

Modeling Transformations

Computer Animation Fundamentals. Animation Methods Keyframing Interpolation Kinematics Inverse Kinematics

Homework 2 Questions? Animation, Motion Capture, & Inverse Kinematics. Velocity Interpolation. Handing Free Surface with MAC

Modeling Transformations

Last Time? Animation, Motion Capture, & Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

Last Time? Animation, Motion Capture, & Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

Animation, Motion Capture, & Inverse Kinematics. Announcements: Quiz

A 12-DOF Analytic Inverse Kinematics Solver for Human Motion Control

Animation Lecture 10 Slide Fall 2003

Last Time? Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

Animation. CS 4620 Lecture 33. Cornell CS4620 Fall Kavita Bala

MODELING AND HIERARCHY

Announcements: Quiz. Animation, Motion Capture, & Inverse Kinematics. Last Time? Today: How do we Animate? Keyframing. Procedural Animation

animation projects in digital art animation 2009 fabio pellacini 1

Kinematics & Motion Capture

CS770/870 Spring 2017 Animation Basics

CS770/870 Spring 2017 Animation Basics

Animation ליאור שפירא גרפיקה ממוחשבת סמסטר א' תש"ע

Animation. CS 465 Lecture 22

Rigging / Skinning. based on Taku Komura, Jehee Lee and Charles B.Own's slides

Animation II: Soft Object Animation. Watt and Watt Ch.17

Character animation Christian Miller CS Fall 2011

CS 231. Basics of Computer Animation

Overview of 3D Object Representations

Interactive Computer Graphics

Animation, Motion Capture, & Inverse Kinematics

Game Programming. Bing-Yu Chen National Taiwan University

Animations. Hakan Bilen University of Edinburgh. Computer Graphics Fall Some slides are courtesy of Steve Marschner and Kavita Bala

Beginners Guide Maya. To be used next to Learning Maya 5 Foundation. 15 juni 2005 Clara Coepijn Raoul Franker

Animations. 1. Ogre Animation 2. Frames and Keyframes 3. Bind Pose and skinning 4. Clip Continuity and Additive Blending

Advanced Graphics and Animation

3D Modeling I. CG08b Lior Shapira Lecture 8. Based on: Thomas Funkhouser,Princeton University. Thomas Funkhouser 2000

animation computer graphics animation 2009 fabio pellacini 1 animation shape specification as a function of time

animation computer graphics animation 2009 fabio pellacini 1

Computer Graphics. Overview CS 217. Introduction. Applications. Systems & software. What is computer graphics? What is it good for?

Directable Motion Texture Synthesis

计算机图形学. Computer Graphics 刘利刚.

Chapter 9 Animation System

Motion Capture & Simulation

Lecture 18 of 41. Scene Graphs: Rendering Lab 3b: Shader

CS354 Computer Graphics Character Animation and Skinning

Motion for Computer Animation. Michael Gleicher Department of Computer Sciences University of Wisconsin, Madison

Motion Control Methods for Skeleton Daniel Thalmann

Motion Synthesis and Editing. Yisheng Chen

Articulated Characters

CS 775: Advanced Computer Graphics. Lecture 3 : Kinematics

Computer Graphics. Si Lu. Fall uter_graphics.htm 11/27/2017

Keyframe Animation. Animation. Computer Animation. Computer Animation. Animation vs Modeling. Animation vs Modeling

Rendering. Generate an image from geometric primitives II. Rendering III. Modeling IV. Animation. (Michael Bostock, CS426, Fall99)

Keyframing an IK Skeleton Maya 2012

Kinematics and Orientations

COMP 175 COMPUTER GRAPHICS. Lecture 10: Animation. COMP 175: Computer Graphics March 12, Erik Anderson 08 Animation

Animation by Adaptation

Animation by Adaptation Tutorial 1: Animation Basics

Kinematics. CS 448D: Character Animation Prof. Vladlen Koltun Stanford University

Basics of Design p. 2 Approaching Design as an Artist p. 4 Knowing Your Character p. 4 Making Decisions p. 4 Categories of Design p.

COMP371 COMPUTER GRAPHICS

Evaluation of motion retargeting using spacetime constraints. Master s Thesis of Bas Lommers. December 6, Supervisor: Dr. J.

COMPUTER ANIMATION 3 KEYFRAME ANIMATION, RIGGING, SKINNING AND CHARACTER ANIMATION. Rémi Ronfard, Animation, M2R MOSIG

Chapter 5.2 Character Animation

Inverse Kinematics Programming Assignment

Animation COM3404. Richard Everson. School of Engineering, Computer Science and Mathematics University of Exeter

SM2231 :: 3D Animation I :: Basic. Rigging

MOTION CAPTURE DATA PROCESSING - MOTION EDITING / RETARGETING - MOTION CONTROL / GRAPH - INVERSE KINEMATIC. Alexandre Meyer Master Informatique

CMSC 425: Lecture 10 Skeletal Animation and Skinning

Human body animation. Computer Animation. Human Body Animation. Skeletal Animation

Optimal motion trajectories. Physically based motion transformation. Realistic character animation with control. Highly dynamic motion

CS-184: Computer Graphics. Today. Forward kinematics Inverse kinematics. Wednesday, November 12, Pin joints Ball joints Prismatic joints

Animation. Traditional Animation Keyframe Animation. Interpolating Rotation Forward/Inverse Kinematics

Animating Non-Human Characters using Human Motion Capture Data

An Introduction to animation and motion blending

CS 352: Computer Graphics. Hierarchical Graphics, Modeling, And Animation

C O M P U T E R G R A P H I C S. Computer Animation. Guoying Zhao 1 / 66

Introduction to Computer Graphics. Animation (1) May 19, 2016 Kenshi Takayama

This week. CENG 732 Computer Animation. Warping an Object. Warping an Object. 2D Grid Deformation. Warping an Object.

Learning Autodesk Maya The Modeling & Animation Handbook. Free Models From Turbo Squid Value US $ Official Autodesk Training Guide

Animation. CS 4620 Lecture 19. Cornell CS4620 Fall 2013 Lecture Steve Marschner (with previous instructors James/Bala)

Reading. Animation principles. Required:

3D Rendering. Course Syllabus. Where Are We Now? Rendering. 3D Rendering Example. Overview. Rendering. I. Image processing II. Rendering III.

Breathing life into your applications: Animation with Qt 3D. Dr Sean Harmer Managing Director, KDAB (UK)

Basic Animation Techniques

CSE452 Computer Graphics

Computer Graphics II

Constraint-Based Motion Adaptation

Adding Hand Motion to the Motion Capture Based Character Animation

Computer Animation. Algorithms and Techniques. z< MORGAN KAUFMANN PUBLISHERS. Rick Parent Ohio State University AN IMPRINT OF ELSEVIER SCIENCE

Maya Muscle Advanced Techniques

AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO F ^ k.^

Kinematics: Intro. Kinematics is study of motion

CS 231. Inverse Kinematics Intro to Motion Capture. 3D characters. Representation. 1) Skeleton Origin (root) Joint centers/ bones lengths

Robots are built to accomplish complex and difficult tasks that require highly non-linear motions.

Realistic Rendering and Animation of a Multi-Layered Human Body Model

Using an Intermediate Skeleton and Inverse Kinematics for Motion Retargeting

Transcription:

Character Animation COS 426

Syllabus I. Image processing II. Modeling III. Rendering IV. Animation Image Processing (Rusty Coleman, CS426, Fall99) Rendering (Michael Bostock, CS426, Fall99) Modeling (Dennis Zorin, CalTech) Animation (Angel, Plate 1)

Computer Animation Describing how 3D objects (& cameras) move over time Pixar

Computer Animation Animation Make objects change over time according to scripted actions Simulation / dynamics Predict how objects change over time according to physical laws Pixar University of Illinois

Computer Animation Challenge is balancing between Animator control Physical realism

Character Animation Methods Keyframing / Forward Kinematics Inverse Kinematics Dynamics Motion capture Angel Plate 1

Keyframe Animation Define character poses at specific time steps called keyframes Lasseter `87

Keyframe Animation Interpolate variables describing keyframes to determine poses for character in between Lasseter `87

Keyframe Animation Inbetweening: Linear interpolation - usually not enough continuity Linear interpolation H&B Figure 16.16

Keyframe Animation Inbetweening: Spline interpolation - maybe good enough H&B Figure 16.11

Articulated Figures Character poses described by set of rigid bodies connected by joints Base Arm Hand Scene Graph Angel Figures 8.8 & 8.9

Articulated Figures Well-suited for humanoid characters Root Chest LHip RHip Neck LCollar LCollar LKnee RKnee Head LShld LShld LAnkle RAnkle LElbow LElbow LWrist LWrist Rose et al. `96

Articulated Figures Animation focuses on joint angles Watt & Watt

Forward Kinematics Describe motion of articulated character Θ 2 l 2 End-Effector l 1 X = (x,y) Θ 1 (0,0)

Forward Kinematics Animator specifies joint angles: Θ 1 and Θ 2 Computer finds positions of end-effector: X Θ 2 l 2 l 1 X = (x,y) (0,0) Θ 1

Forward Kinematics Joint motions specified e.g. by spline curves Θ 2 l 2 l 1 X = (x,y) (0,0) Θ 1 Θ 1 Θ 2 t

Example: Walk Cycle Articulated figure: Watt & Watt

Example: Walk Cycle Hip joint orientation: Keyframes Watt & Watt

Example: Walk Cycle Knee joint orientation: Watt & Watt

Example: Walk Cycle Ankle joint orientation: Watt & Watt

Example: Robot Mihai Parparita, COS 426, Princeton University, 2003

Example: Ice Skating (Mao Chen, Zaijin Guan, Zhiyan Liu, Xiaohu Qie, CS426, Fall98, Princeton University)

Character Animation Methods Keyframing / Forward Kinematics Inverse Kinematics Dynamics Motion capture Angel Plate 1

Inverse Kinematics What if animator knows position of end-effector? Θ 2 l 1 l 2 X = (x,y) End-Effector Θ 1 (0,0)

Inverse Kinematics Animator specifies end-effector positions: X Computer finds joint angles: Θ 1 and Θ 2 : Θ 2 l 1 l 2 X = (x,y) (0,0) Θ 1

Inverse Kinematics End-effector postions can be specified by spline curves Θ 2 l 2 l 1 X = (x,y) (0,0) Θ 1 x y t

Inverse Kinematics Problem for more complex structures System of equations is usually under-constrained Multiple solutions Θ 2 l 2 l 3 X = (x,y) l 1 Θ 3 Θ 1 (0,0) Three unknowns: Θ 1, Θ 2, Θ 3 Two equations: x, y

Inverse Kinematics Solution for more complex structures: Find best solution (e.g., minimize energy in motion) Non-linear optimization Θ 2 l 2 l 3 X = (x,y) l 1 Θ 3 Θ 1 (0,0)

Example: Ball Boy Ballboy Fujito, Milliron, Ngan, & Sanocki Princeton University

Kinematics Advantages Simple to implement Complete animator control Disadvantages Motions may not follow physical laws Tedious for animator Lasseter `87

Kinematics Advantages Simple to implement Complete animator control Disadvantages Motions may not follow physical laws Tedious for animator Lasseter `87

Character Animation Methods Keyframing / Forward Kinematics Inverse Kinematics Dynamics Motion capture Angel Plate 1

Dynamics Simulation of physics insures realism of motion Lasseter `87

Spacetime Constraints Animator specifies constraints: What the character s physical structure is» e.g., articulated figure What the character has to do (keyframes)» e.g., jump from here to there within time t What other physical structures are present» e.g., floor to push off and land How the motion should be performed» e.g., minimize energy

Computer Animation Pixar

Spacetime Constraints Computer finds the best physical motion satisfying constraints Example: particle with jet propulsion x(t) is position of particle at time t f(t) is force of jet propulsion at time t Particle s equation of motion is: Suppose we want to move from a to b within t 0 to t 1 with minimum jet fuel: Minimize subject to x(t 0 )=a and x(t 1 )=b Witkin & Kass `88

Spacetime Constraints Solve with iterative optimization methods Witkin & Kass `88

Spacetime Constraints Advantages: Free animator from having to specify details of physically realistic motion with spline curves Easy to vary motions due to new parameters and/or new constraints Challenges: Specifying constraints and objective functions Avoiding local minima during optimization

Spacetime Constraints Adapting motion: Original Jump Heavier Base Witkin & Kass `88

Spacetime Constraints Adapting motion: Hurdle Witkin & Kass `88

Spacetime Constraints Adapting motion: Ski Jump Witkin & Kass `88

Spacetime Constraints Advantages: Free animator from having to specify details of physically realistic motion with spline curves Easy to vary motions due to new parameters and/or new constraints Challenges: Specifying constraints and objective functions Avoiding local minima during optimization

Character Animation Methods Keyframing / Forward Kinematics Inverse Kinematics Dynamics Motion capture Angel Plate 1

Motion Capture Measure motion of real characters and then simply play it back with kinematics Gleicher

Motion Capture Measure motion of real characters and then simply play it back with kinematics Captured Motion Gleicher

Motion Capture Advantage: Physical realism Challenge: Animator control Gleicher

Motion Capture Editing motion: Gleicher

Motion Capture Motion graphs: Motion 1 Motion 1 Motion 2 Motion 2 Kovacs & Gleicher

Motion Capture Motion graphs: Kovacs & Gleicher

Motion Capture Retargeting motion: Original motion data + constraints: New character: New motion data: Gleicher

Motion Capture Retargeting motion: Gleicher

Motion Capture Morphing motion: Gleicher

Beyond Skeletons Skinning Motion blur

Kinematic Skeletons Hierarchy of transformations ( bones ) Changes to parent affect all descendent bones So far: bones affect objects in scene or parts of a mesh Equivalently, each point on a mesh acted upon by one bone Leads to discontinuities when parts of mesh animated Extension: each point on a mesh acted upon by more than one bone

Linear Blend Skinning Each vertex of skin potentially influenced by all bones Normalized weight vector w (v) gives influence of each bone transform When bones move, influenced vertices also move Computing a transformation T v for a skinned vertex For each bone» Compute global bone transformation T b from transformation hierarchy For each vertex» Take a linear combination of bone transforms» Apply transformation to vertex in original pose T v Equivalently, transformed vertex position is weighted combination of positions transformed by bones ( v) v = w T v = transformed b B w b B ( v) b T b b ( ) b

Assigning Weights Painted by hand Automatic: function of relative distances to nearest bones Smoothness of skinned surface depends on smoothness of weights!

Beyond Skeletons Skinning Motion blur

Temporal Aliasing Artifacts due to limited temporal resolution Strobing Flickering

Temporal Aliasing Artifacts due to limited temporal resolution Strobing Flickering

Temporal Aliasing Artifacts due to limited temporal resolution Strobing Flickering

Temporal Aliasing Artifacts due to limited temporal resolution Strobing Flickering

Motion Blur Composite weighted images of adjacent frames Remove parts of signal under-sampled in time

Summary Kinematics Animator specifies poses (joint angles or positions) at keyframes and computer determines motion by kinematics and interpolation Dynamics Animator specifies physical attributes, constraints, and starting conditions and computer determines motion by physical simulation Motion capture Compute captures motion of real character and provides tools for animator to edit it