Animation. Itinerary. What is Animation? What is Animation? Animation Methods. Modeling vs. Animation Computer Graphics Lecture 22

Similar documents
Animation. Itinerary Computer Graphics Lecture 22

Quaternions and Rotations

12.1 Quaternions and Rotations

Quaternions and Rotations

Data-driven Approaches to Simulation (Motion Capture)

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

COMP371 COMPUTER GRAPHICS

Topics in Computer Animation

Karen Liu associate professor at School of Interactive Computing. Murali Varma graduate student at School of Interactive Computing

Announcements. Ray tracer is due in five days you should have started by now or you re going to have a bad week. Missing file posted on the web page

Motion Capture & Simulation

animation projects in digital art animation 2009 fabio pellacini 1

The jello cube. Undeformed cube. Deformed cube

Announcements. New version of assignment 1 on the web page: Tuesday s class in the motion capture lab:

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

Computer Graphics II

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

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

The Jello Cube Assignment 1, CSCI 520. Jernej Barbic, USC

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

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

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

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

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

To Do. Advanced Computer Graphics. The Story So Far. Course Outline. Rendering (Creating, shading images from geometry, lighting, materials)

Course Outline. Advanced Computer Graphics. Animation. The Story So Far. Animation. To Do

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

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

animation computer graphics animation 2009 fabio pellacini 1

CS 231. Deformation simulation (and faces)

Animation. Computer Graphics COMP 770 (236) Spring Instructor: Brandon Lloyd 4/23/07 1

CS 231. Deformation simulation (and faces)

Dynamics in Maya. Gary Monheit Alias Wavefront PHYSICALLY BASED MODELING SH1 SIGGRAPH 97 COURSE NOTES

Animation. Chapter Introduction. c Stefan Gustavson Do not distribute.

Announcements. Midterms back at end of class ½ lecture and ½ demo in mocap lab. Have you started on the ray tracer? If not, please do due April 10th

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

Physically Based Simulation

Overview. Animation is a big topic We will concentrate on character animation as is used in many games today. humans, animals, monsters, robots, etc.

Computer Animation INF2050

CMSC 425: Lecture 10 Skeletal Animation and Skinning

ROSE-HULMAN INSTITUTE OF TECHNOLOGY

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

Animation. Representation of objects as they vary over time. Traditionally, based on individual drawing or photographing the frames in a sequence

CS-184: Computer Graphics. Today

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

Consider a partially transparent object that is illuminated with two lights, one visible from each side of the object. Start with a ray from the eye

Synthesis by Example. Connecting Motion Planning and Example based Movement. Michael Gleicher

Chapter 19- Object Physics

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

Computer Animation and Visualisation. Lecture 3. Motion capture and physically-based animation of characters

Applications. Systems. Motion capture pipeline. Biomechanical analysis. Graphics research

Physically Based Simulation

Welcome to CS 231. Topics in Computer Animation. Victor Zordan EBU II 337

Animation. CS 465 Lecture 22

2.7 Cloth Animation. Jacobs University Visualization and Computer Graphics Lab : Advanced Graphics - Chapter 2 123

Agenda. Introduction Curve implementation. Particle System. - Requirements -What are all those vectors? -Where should I put things?

PHYSICALLY BASED ANIMATION

The 3D rendering pipeline (our version for this class)

CS-184: Computer Graphics

Animation by Adaptation Tutorial 1: Animation Basics

CS /15-667: Simulation Methods for Animation and Digital Fabrication

Character animation Christian Miller CS Fall 2011

Physically based modelling Computer Graphics I February 27, 2003

2D & 3D Animation NBAY Donald P. Greenberg March 21, 2016 Lecture 7

Simulation. x i. x i+1. degrees of freedom equations of motion. Newtonian laws gravity. ground contact forces

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

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

CS230 : Computer Graphics Lecture 12: Introduction to Animation. Tamar Shinar Computer Science & Engineering UC Riverside

CS770/870 Spring 2017 Animation Basics

CS770/870 Spring 2017 Animation Basics

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

Computer Graphics I Lecture 11

Mass-Spring Systems. Last Time?

Kinematics & Motion Capture

CS 231. Inverse Kinematics Intro to Motion Capture

Interactive Computer Graphics

Cloth Animation. CENG 732 Computer Animation. Simple Draping. Simple Draping. Simple Draping. Simple Draping

Motion Synthesis and Editing. Yisheng Chen

BONE CONTROLLER ASSET VERSION 0.1 REV 1

Articulated Characters

A bouncing ball squashes on its vertical axis and stretches on the horizontal axis as it strikes the ground.

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

How to create a network diagram?

Mocap in a 3D Pipeline

Computer Animation Fundamentals. Animation Methods Keyframing Interpolation Kinematics Inverse Kinematics

MODELING AND HIERARCHY

Some Quick Terms Before we move ahead, we need to touch on a few key terms used throughout the book.

Lecture VI: Constraints and Controllers. Parts Based on Erin Catto s Box2D Tutorial

Simulation in Computer Graphics. Introduction. Matthias Teschner. Computer Science Department University of Freiburg

Channels & Keyframes. CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2017

CNM 190 Advanced Digital Animation Lec 12 : Walk Cycles & Autonomous Motion

Traffic/Flocking/Crowd AI. Gregory Miranda

Thiruvarangan Ramaraj CS525 Graphics & Scientific Visualization Spring 2007, Presentation I, February 28 th 2007, 14:10 15:00. Topic (Research Paper):

Modeling Cloth Using Mass Spring Systems

Character Animation 1

CS248. Game Mechanics

Cloth Simulation. COMP 768 Presentation Zhen Wei

Cloth Simulation. Tanja Munz. Master of Science Computer Animation and Visual Effects. CGI Techniques Report

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

KINEMATICS FOR ANIMATION. Rémi Ronfard, Animation, M2R MOSIG

Transcription:

15-462 Computer Graphics Lecture 22 Animation April 22, 2003 M. Ian Graham Carnegie Mellon University What is Animation? Making things move What is Animation? Consider a model with n parameters Polygon positions, control points, joint angles n parameters define an n-dimensional state space An animation is a path through the state space Animation is the task of specifying a state space trajectory Modeling vs. Animation Modeling: What are the parameters? Animation: How do the parameters change? Two inter-dependent processes, one cannot be done without the other in mind Sometimes hard to distinguish one from the other Animation Methods Frame-by-frame Traditional cel animation, ignored here Keyframing, or keyed animation Specify only important values, interpolate Performance-based Motion capture, real-world data recorded 1

Procedural Animation Methods Physically-based Dynamics Gravity, rigid bodies, spring-mass systems Behavioral Decision-based Includes grouping/flocking Keyframing Given two hand-drawn keyframes, how should we interpolate between them? Keyframing Computer animation defines keyframes on several different parameters A sequence of keyframes is a sequence of points in multi-dimensional state space These may be interpolated between relatively easily Keys vs. Keyframes In computer animation, there s no need for keys to fall on certain frames or occur at the same time for all values (all we care about is obtaining a path through state space for each parameter) Each parameter may have values specified at places known to be important for that parameter, and paths for all parameters are determined independently Which parameters are keyed? For a rigid object: Position, orientation For a deformable object: Position, orientation, squish/stretch For a character: 2

Which parameters are keyed? For a character: Position/orientation Joint angles Squish/stretch (think cartoons) Facial expressions Breathing? Hair? Clothes? How are keys specified? Manually by the animator By a script Motion capture How are keys interpolated? Splines! (surprise) Typical approach: C1 continuity by default Animators given ability to manipulate tangents at arbitrary points, breaking C1 continuity if desired Why is the above necessary? Consider the motion of the foot of a running character Issues with keyed motion Which parameters should be keyed? When should keys occur? How should keys be specified? Bad things that can happen: Invalid motion ( clipping ) Unnatural motion Impossible bends or twists of joints The long way around (think The Exorcist) Keys are not good for everything! For motion which is governed by simple physics, simulate the physics! Anything which can be effectively generated by an algorithm probably should be (though the results of a non-realtime algorithm might be stored to keys) Keys are static animation with any interactivity requires clever use of them Keys and Interactivity? Though keys themselves are static, they may still be used in interactive applications Examples: Often keys don t need to change animating a character s walk cycle while changing its heading slightly looks acceptable If a character changes from one action to another, interpolate from the current parameters to the first keys of the new trajectory 3

What is? Motion capture is the process of tracking real-life motion in 3D and recording it for use in any number of applications. In the context of computer animation, motion capture is a method of recording real-world data and mapping it onto a character we wish to move. Why? Keys are generated by instruments measuring a performer they do not need to be set manually The details of human motion such as style, mood, and shifts of weight are reproduced with little effort Optical passive Multiple high-res, high-speed cameras Light bounced from camera off of reflective markers High quality data Markers placeable anywhere Lots of work to extract joint angles Occlusion Which marker is which? (correspondence problem) 120-240 Hz @ 1Megapixel Optical active Markers themselves emit signals Easy to determine which is which, no correspondence problem Electromagnetic Sensors give both position and orientation No occlusion or correspondence problem Little post-processing Limited accuracy 4

Exoskeleton Really Fast (~500Hz) No occlusion or correspondence problem Little error Movement restricted Fixed sensors Why not? Data captured is static key values, sometimes difficult to map to different situations Equipment can be expensive Why not? Difficult for non-human characters Can you move like a gerbil? Can you capture a gerbil s motion? Actors needed Which is more economical: Paying an animator to place keys Hiring a Martial Arts Expert When to use? Complicated character motion Where uncomplicated ends and complicated begins is up to question A walk cycle is often more easily done by hand A Flying Rabid Monkey Kick might be worth the overhead of mocap Can an actor can better express character personality than the animator? Physically-based Animation HUGE field Rigid body dynamics Deformable objects Mass-spring systems Collision detection (and response) Hair Cloth Fluids This section is a brief review see Chris lecture! 5

Simulate the physics of the desired situation Common approach: Start with small, simple phenomena and use these as building blocks for more complex situations Typically involves many interacting forces, producing differential equations which must be solved or approximated Example: Mass-spring system A single spring obey s Hooke s Law (remember?) F = k (x - x 0 ) Add a damping force: F = -kv Example: Mass-spring system A two-dimensional grid might be used to simulate cloth Adding constraints ( tacks ) and a force of gravity produces a physical situation with which we re familiar Example: Mass-spring system A three-dimensional mass-spring structure can be used to simulate jello Unfortunately this is about the only type of motion that can be produced with this structure, and the urgent need to simulate gelatin doesn t often arise Issues with Physically-Based Animation Stability Approximations of large systems of equations can easily cause a collapse or explosion due to compounded numerical error Efficiency Accuracy can be very costly, and building a system that is both stable and efficient is a nontrivial task. 6

Includes grouping/flocking behavior Each character determines its own actions by making decisions given its surroundings A simple set of rules can lead to seemingly complex behavior Example: Boids, originally made in 1986 http://www.red3d.com/cwr/boids/ Each boid has three basic rules: Separation Avoid crowding neighbors too closely Alignment Steer to same heading as neighbors Cohesion Navigate towards average position of neighbors Most familiar use is probably crowd generation for movies Most-hyped case of this is the MASSIVE system used in the Lord of the Rings movies First, generic animation for each behavior is created (walk cycles, falling over, standing up, jumping up and down, etc) After this relatively small number of clips is created, the animator may then specify motion on a very high level Sequence of character decisions: Walk. Jump. Run. Animation: Plays walk cycle Transitions (interpolates) to jump sequence Plays jump sequence Transitions to run cycle Plays run cycle (while moving character appropriately) Summary 7