Animation cs 551 651
1 / 72

tion - PowerPoint PPT Presentation

  • Updated On :

Animation CS 551 / 651 David Brogan [email protected] Introduction We are going to study how things move and the creation of computer graphics representations that look “good enough” Rendering is : mapping light sources and surfaces to a vector of pixel colors

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about 'tion' - JasminFlorian

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Animation cs 551 651 l.jpg

AnimationCS 551 / 651

David Brogan

[email protected]

Introduction l.jpg

  • We are going to study how things move and the creation of computer graphics representations that look “good enough”

  • Renderingis: mapping light sources and surfaces to a vector of pixel colors

  • Animationis: mapping objects, intentions, and external forces to a vector of new object positions / orientations

We will not l.jpg
We will not

  • Develop drawing skills

    • but we may study how others draw so we can automate the process

  • Learn how to use Maya

    • but we may use Maya as a rendering tool

  • Hone our video game or moviemaking skills

    • but we will study how modern animation technology contributes to video games and what elements of moviemaking artistry (timing, camera angles, etc.) must reside in animation tools

Study how things move l.jpg

  • Biomechanists

    • Physics and sensors

  • Artists

    • Intuition and mind’s eye

Study how things move

  • Who else does this?

Study how things move5 l.jpg
Study how things move

  • We’ll investigate

    • Human walking, running, dancing

    • Bicycle riding

    • Group behaviors

    • Rigid body dynamics

Generate graphics that is good enough l.jpg
Generate graphics that is “good enough”

MonetLa Cathédrale de Rouen (1894)

PicassoThe Bull (1946)

  • Who else studies this?

  • Perceptual psychologists

  • Artists

University of Utah

Generate graphics that is good enough7 l.jpg
Generate graphics that is “good enough”

  • We’ll investigate

    • Recent perceptual literature (change blindness)

    • Recent computer animation experiments (faking physics)

Completing the mapping l.jpg
Completing the mapping

  • Bridge gap between knowledge of how things move to how they need to be rendered

    • Artists use their minds and hands

    • Computer scientists use math and programs

Traditional techniques l.jpg
Traditional techniques

  • Keyframing (Shoemake)

    • Orientation reps (quaternion, euler)

    • Curve reps (linear, quadratic, wavelets)

    • Interpolation (computing arclength, Gaussian Quadrature, SLERP)

  • Disney artists (Johnson)

  • Timing / storyboarding

Numerical methods l.jpg
Numerical Methods

  • Curve fitting (least squares)

  • Optimization

    • Simulated annealing (Numerical Recipes)

    • Simplex

    • Spacetime Constraints (Witkin & Kass)

    • Genetic Algorithms (Sims)

    • Neural Networks (Grzeszczuk)

Human motion l.jpg
Human Motion

  • Motion Capture

    • Retargeting (Gleicher, J. Lee, Z. Popovic, Arikan)

    • Blending (Rose)

    • Abstraction (Unuma)

  • Walking

    • Biomechanics (McMahon, Ruina)

    • Gait Generation (Metaxas, van de Panne, Hodgins)

Physical simulation l.jpg
Physical Simulation

  • Rigid Body

    • Physics for games (Hecker)

    • Featherstone’s Method

    • Constraint satisfaction

  • Integration

    • Runge-Kutta

    • Euler

  • Simplification (Chenney, Lin, Popovic)

  • Perception (O’Sullivan, Proffitt)

Autonomous agents l.jpg
Autonomous Agents

  • Behaviors (Thalmann, Badler, Blumberg)

  • Group actions (Reynolds, Brogan, Helbing)

Administrivia l.jpg

  • Syllabus

    • Instructor/TA coordinates

    • Prereqs

    • Reading Material

    • Assignments

    • Grading & Honor Code

    • Topic list

Instructor ta coordinates l.jpg
Instructor / TA Coordinates

  • Professor Brogan

  • TA TBD

Prerequisites l.jpg

  • Intro to Graphics

    • OpenGL skills

    • User interface toolkits

    • Appreciation for rendering equations

  • Mathematics (familiarity with…)

    • Multivariate / Differential Calculus

    • Probability / Statistics

    • Linear Algebra

  • AI (familiarity with…)

Reading material l.jpg
Reading Material

  • No textbook

    • Good ones to consult:

  • Lots of research papers

    • I’ll provide background lectures

    • Research papers provide demonstrations

Assignments l.jpg

  • Approximately five programming assignments

    • Spacetime Constraints

    • Inverse Kinematics

    • Motion Capture Reuse / Retarget

    • Rigid-body Dynamical Simulator

    • High-level Control Systems

Assignments19 l.jpg

  • Approximately four homework assignments

    • Emphasize the fundamentals

      • Physical simulation

      • Least squares

      • Simulated annealing

Assignments20 l.jpg

  • Course project?

    • We can talk about it

Assignments21 l.jpg

  • Class Participation

    • Due to the seminar aspect of course, participation is required

      • Presentation of a paper

      • Contribution to discussions

        - You’ll have to be at most classes

Grading l.jpg

  • Final scale will be set upon determination of grad / undergrad ratio and class size

    • Emphasis is on programming assignments

    • There will be a final (probably no midterm)

Honor code l.jpg
Honor Code

  • Initial Assumption (assume this as default)

    • All code is 100% you – no web, no other people

  • Relaxed Assumption

    • You can use the web

  • Relaxed Assumption

    • You can work with others

  • The operating assumption will be specified for each assignment

Perception l.jpg

  • The only reason we’re able to have this class today is because our perceptual system is easily tricked (but it’s finicky)

  • Modeling perception really matters for computer animation

Perception25 l.jpg

  • Positive afterimage (persistence of vision)

    • the visual stimulus that remains after illumination has changed or been removed

  • Motion blur

    • Persistence of vision causes an object to appear to be multiple places at once

Motion blur l.jpg
Motion Blur

  • Virtual camera in computer graphics usually shoots with infinitely small shutter speed

    • No motion blur results

  • Without motion blur, 30 fps results in fast moving objects that look like they are strobing, or hopping

What s the rate l.jpg
What’s the rate?

  • Playback rate

    • The number of samples displayed per second

  • Sample rate

    • The number of different images per second

Perception28 l.jpg

  • Computer graphics rendering can rely on four-hundred years of perception research by artists

    • The best animators have is eighty years of Disney

  • In 1550, after 100 years of refining the art of perspective drawing, artists were shocked to think that the geometric purity of their modeled world didn’t map to recent discoveries of the human eye. They couldn’t even imagine how cognition affected what one “saw.” 200 more years would pass.

Animation timeline l.jpg
Animation timeline

  • Persistence of vision

    • Thaumotrope (1800s)

    • Flipbook

    • Zoetrope (1834)

    • Shadow puppets


Animation timeline30 l.jpg
Animation timeline

  • Photography

    • Muybridge (1885)

    • Film projector (Edison, 1891)

Animation timeline31 l.jpg
Animation Timeline

  • First Animation

    • 1896, Georges Melies, moving tables

    • 1900, J. Stuart Blackton, added smoke

  • First celebrated cartoonist

    • Winsor McCay

    • Little Nemo (1911)

    • Gertie the Dinosaur (1914)

Animation timeline32 l.jpg
Animation Timeline

  • 1910, Bray and Hurd

    • Patented translucent cels (formerly celluloid was used, but acetate is used now) used in layers for compositing

    • Patented gray-scale drawings (cool!)

    • Patented using pegs for registration (alignment) of overlays

    • Patented the use of large background drawings and panning camera

Bray s studio produced l.jpg
Bray’s Studio Produced

  • Max Fleischer – Betty Boop

  • Paul Terry – Terrytoons

  • George Stallings – Tom and Jerry

  • Walter Lantz – Woody Woodpecker

  • 1915, Fleischer patented rotoscoping

    • Drawing images on cells by tracing over previously recorded live action (MoCap)

  • 1920, color cartoons

Disney l.jpg

  • Advanced animation more than anyone else

    • First to have sound in 1928, Steamboat Willie

    • First to use storyboards

    • First to attempt realism

    • Invented multiplane camera

Multiplane camera l.jpg
Multiplane Camera

  • Camera is mounted above multiple planes

  • Each plane holds an animation cel

  • Each plane can translate freely on 3 axes

  • What is this good for?

Zooming, moving foreground characters off camera, parallax, prolonged shutter allows blurring some layers (motion blur)

Stop motion animation l.jpg
Stop-motion Animation

  • Willis O’Brien – King Kong

  • Ray Harryhausen – Mighty Joe Young

  • Nick Park – Wallace and Grommit

  • Tim Burton – Nightmare Before Christmas

Animation heritage l.jpg
Animation Heritage

  • 1963 – Ivan Sutherland’s (MIT) Sketchpad

  • 1970 – Evans and Sutherland (Utah) start computer graphics program (and Co.)

  • 1972 – Ed Catmull’s (Utah) animated hand and face (later co-founded Pixar)

  • 1970’s – Norm Badler (Penn) Center for Modeling and Simulation and Jack

Animation heritage38 l.jpg
Animation Heritage

  • 1970’s – New York Institute of Technology (NYIT) produced Alvy Ray Smith (Cofounded Pixar and Lucasfilm) and Catmull

  • 1980’s – Daniel and Nadia Magnenant-Thalmann (Swiss Universities) become European powerhouses

Animation heritage39 l.jpg
Animation Heritage

  • 1980’s – z-buffer invented, SGI founded, and Alias/Wavefront founded

  • 1977 – Starwars

  • 1982 – Tron (first extensive use of gfx)

  • 1982 – Early use of particle systems (Star Trek II: The Wrath of Khan)

  • 1984 – The Last Starfighter (look for the Cray X-MP in credits)

Animation heritage40 l.jpg
Animation Heritage

  • 1986 – Young Sherlock Homes (first use of synthetic character in film)

  • 1986 – First digital wire removal (Howard the Duck)

  • 1988 – First digital blue screen extraction (Willow)

  • The Abyss (1989) Terminator II (1991) Casper (1995), Men in Black (1997)

Animation heritage41 l.jpg
Animation Heritage

  • ILM: Jurassic Park (1993), Jumangi (1995), Mars Attacks (1996), Flubber (1997), Titanic (1999)

  • Angel Studios: Lawnmower Man (1992)

  • PDI: Batman Returns (1995)

  • Tippett Studio: Dragonheart (1996), Starship Troopers (1997)

  • Disney: Beauty and the Beast (1991), Lion King (1994), Tarzan (1999)

  • Dreamworks: Antz, Prince of Egypt

  • Pixar: Toy Story, A Bug’s Life, Monster’s Inc.

Americans are hardest working recent history l.jpg
Americans are hardest working Recent history

  • United Nations report from Sept 1, 2003

    • $/worker-year

      • US = $60,728, Belgium (top EU) = $54,333

    • hours/worker-year

      • US = Japan = 1825, EU = 1300 – 1800

    • $/worker-hour

      • Norway, France, Belgium, US $38 $35 $34 $32

    • Why is US on top of $/worker-year?

      • Best economies encourage widespread use of communications and information technology

      • Even though we’re fat, dumb, and happy – we don’t take month-long vacations and one-year maternity breaks

Let s talk about computer animation l.jpg
Let’s talk about computer animation

  • Must generate 30 frames per second of animation (24 fps for film)

  • Issues to consider:

    • Is the goal to replace or augment the artist?

      • What does the artist bring to the project?

    • Is the scene/plot fixed or responsive to user?

      • What can we automate?

Animation a broad brush l.jpg
Animation – A broad Brush

  • Traditional Methods

    • Cartoons, stop motion

  • Keyframing

    • Digital inbetweens

  • Motion Capture

    • What you record is what you get

  • Simulation

    • Animate what you can model (with equations)

Keyframing l.jpg

  • Traditional animation technique

  • Dependent on artist to generate ‘key’ frames

  • Additional, ‘inbetween’ frames are drawn automatically by computer

Keyframing47 l.jpg

How are we going to interpolate?

From “The computer in the visual arts”, Spalter, 1999

Linear interpolation l.jpg
Linear Interpolation

Simple, but discontinuous velocity

Nonlinear interpolation l.jpg
Nonlinear Interpolation

Smooth ball trajectory and continuous velocity, but loss of timing

Easing l.jpg

Adjust the timing of the inbetween frames. Can be automated by adjusting the stepsize of parameter, t.

Style or accuracy l.jpg
Style or Accuracy?

  • Interpolating timecaptures accuracyof velocity

  • Squash and stretchreplaces motionblur stimuli andadds life-likeintent

Traditional motivation l.jpg
Traditional Motivation

  • Ease-in andease-out is likesquash andstretch

  • Can weautomate theinbetweens forthese?

“The Illusion of Life, Disney Animation”

Thomas and Johnson

Anticipation and staging l.jpg
Anticipation and Staging

  • Don’t surprise theaudience

  • Direct their attention to what’simportant

Follow through l.jpg
Follow Through

  • Audience likes to see resolution of action

  • Discontinuities are unsettling

Secondary motion l.jpg
Secondary Motion

  • Characters should exist in a real environment

  • Extra movements should not detract

Interpolation l.jpg

  • Many parameters can be interpolated to generate animation

  • Simple interpolation techniques can only generate simple inbetweens

  • More complicated inbetweening will require a more complicated model of animated object and simulation

Interpolation59 l.jpg

  • Strengths

    • Animator has exacting control (Woody’s face)

  • Weaknesses

    • Interpolation hooks must be simple and direct

      • Remember the problems with Euler angle interp?

    • Time consuming and skill intensive

    • Difficult to reuse and adjust

Examples l.jpg

  • Sports video games

    • Madden Football

  • Many movie characters

    • Phantom Menace

  • Cartoons

Motion capture strengths l.jpg
Motion Capture Strengths

  • Exactly captures the motions of the actor

    • Michael Jordan’s video game character will capture his style

  • Easy to capture data

Motion capture weaknesses l.jpg
Motion Capture Weaknesses

  • Noise, noise, noise!

  • Magnetic system inteference

  • Visual system occlusions

  • Mechanical system mass

  • Tethered (wireless is available now)

Motion capture weaknesses64 l.jpg
Motion Capture Weaknesses

  • Aligning motion data with CG character

    • Limb lengths

    • Idealized perfect joints

    • Foot sliding

  • Reusing motion data

    • Difficult to scale in size (must also scale in time)

    • Changing one part of motion

Motion capture weaknesses65 l.jpg
Motion Capture Weaknesses

  • Blending segments

    • Motion clips are short (due to range and tethers)

    • Dynamic motion generation requires blending at run time

    • Difficult to manage smooth transition

Procedural l.jpg

Examples68 l.jpg

  • Inanimate video game objects

    • GT Racer cars

    • Soapbox about why this is so cool

  • Special effects

    • Explosions, water, secondary motion

    • Phantom Menace CG droids after they were cut in half

Procedural animation l.jpg
Procedural Animation

  • Very general term for a technique that puts more complex algorithms behind the scenes

  • Technique attempts to consolidate artistic efforts in algorithms and heuristics

  • Allows for optimization and physical simulation

Procedural animation strengths l.jpg
Procedural Animation Strengths

  • Animation can be generated ‘on the fly’

  • Dynamic response to user

  • Write-once, use-often

  • Algorithms provide accuracy and exhaustive search that animators cannot

Procedural animation weaknesses l.jpg
Procedural Animation Weaknesses

  • We’re not great at boiling human skill down to algorithms

    • How do we move when juggling?

  • Difficult to generate

  • Expensive to compute

  • Difficult to force system to generate a particular solution

    • Bicycles will fall down

Homework l.jpg

  • For next week:

    • Read Chris Hecker articles (all four in series) on physical simulation Game Developer Magazine October/November 1996