lecture 17 of 41 animation 1 of 3: basics, keyframing...

52
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 17 of 41 William H. Hsu Department of Computing and Information Sciences, KSU KSOL course pages: http://bit.ly/hGvXlH / http://bit.ly/eVizrE Public mirror web site: http://www.kddresearch.org/Courses/CIS636 Instructor home page: http://www.cis.ksu.edu/~bhsu Readings: Today: §5.1 – 5.2, Eberly 2 e – see http://bit.ly/ieUq45 Next class: no new reading – review Chapters 1 – 4, 20 Optional review session during next class period; evening exam time TBD Lecture 18 reading (two class days from today): §4.4 – 4.7, Eberly 2 e Animation 1 of 3: Basics, Keyframing Sample Exam Review Lecture 17 of 41

Upload: others

Post on 18-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

William H. Hsu

Department of Computing and Information Sciences, KSU

KSOL course pages: http://bit.ly/hGvXlH / http://bit.ly/eVizrE

Public mirror web site: http://www.kddresearch.org/Courses/CIS636

Instructor home page: http://www.cis.ksu.edu/~bhsu

Readings:

Today: §5.1 – 5.2, Eberly 2e – see http://bit.ly/ieUq45

Next class: no new reading – review Chapters 1 – 4, 20

Optional review session during next class period; evening exam time TBD

Lecture 18 reading (two class days from today): §4.4 – 4.7, Eberly 2e

Animation 1 of 3: Basics, KeyframingSample Exam Review

Lecture 17 of 41

Page 2: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

2

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Reading for Last Class: §2.6, 20.1, Eberly 2e; OpenGL primer material

Reading for Today: §5.1 – 5.2, Eberly 2e

Reading for Next Lecture (Two Classes from Now): §4.4 – 4.7, Eberly 2e

Last Time: Shading and Transparency in OpenGL

Transparency revisited

OpenGL how-to: http://bit.ly/hRaQgk

Alpha blending (15.020, 15.040)

Screen-door transparency (15.030)

Painter’s algorithm & depth buffering (z-buffering)

Today: Introduction to Animation

What is it and how does it work?

Brief history

Principles of traditional animation

Keyframe animation

Articulated figures: inbetweening

Lecture Outline

Page 3: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

3

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Where We Are

Page 4: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

4

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Review:Painter’s Algorithm vs. z-Buffering

© 2004 – 2009 Wikipedia, Painter’s Algorithmhttp://bit.ly/eeebCN

© 2009 Wikipedia, Z-bufferinghttp://bit.ly/gGRFMA

Page 5: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

5

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Transparency in OpenGL:Final Note

© 1997 – 2011 Khronos Grouphttp://bit.ly/hRaQgk

Page 6: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

6

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Acknowledgements:Computer Animation Intro

Acknowledgment: slides by Misha Kazhdan, Allison Klein, Tom Funkhouser, Adam Finkelstein and David Dobkinhttp://bit.ly/eB1Oj4

Jason LawrenceAssistant Professor

Department of Computer Science

University of Virginia

http://www.cs.virginia.edu/~jdl/

Thomas A. FunkhouserProfessor

Department of Computer Science

Computer Graphics Group

Princeton University

http://www.cs.princeton.edu/~funk/

Page 7: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

7

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Overview

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 8: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

8

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Thaumatrope

Adapted from slides © 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Thaumatrope of flowers & vase (1825)© 2008 Wikipedia, Thaumatrope

http://bit.ly/fFl6xH

Page 9: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

9

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Phenakistoscope

Adapted from slides © 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Phenakistoscope of couple (1893)© 2007 Wikipedia, Phenakistoscope

http://bit.ly/eAnURG

Page 10: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

10

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Zoetrope (1834)

Adapted from slides © 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Tarzan © 2000 Disneyhttp://youtu.be/zc3MnoSS5Hw

Page 11: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

11

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Animation History

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 12: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

12

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Key Developments [1]:Storytelling & Cel Animation

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 13: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

13

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Key Developments [2]:Rotoscoping (1921)

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 14: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

14

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Key Developments [4]Fleischer’s Rotoscope

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 15: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

15

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Key Developments [5]:Using Rotoscoping

Adapted from slides © 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 16: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

16

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Key Developments [6]:Color

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 17: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

17

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Overview

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 18: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

18

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Animation, Simulation, &Visualization

Adapted from slides © 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

•Wilhelmson et al. (2004)•http://youtu.be/EgumU0Ns1YI•http://avl.ncsa.illinois.edu •http://bit.ly/eA8PXN

Page 19: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

19

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

2-D & 3-D Animation

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Homer 2-D Homer 3-Dhttp://youtu.be/TKQ8Ilr6PgU (Making Of)

© 1989 – 2011 Fox Broadcasting Company, Inc.

Page 20: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

20

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Outline

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 21: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

21

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Traditional Animation [1]:Lasseter’s List of Principles (1987)

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

•Lasseter, J. (1987). Principles of traditional animation applied to•3D computer animation. Computer Graphics, 21(4), pp. 35-44.

•SIGGRAPH: http://bit.ly/1DsO44•ACM Portal: http://bit.ly/eyx2PN

Page 22: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

22

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Traditional Animation [2]:Squash & Stretch

Page 23: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

23

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Traditional Animation [3]:Timing

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 24: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

24

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Traditional Animation [4]:Anticipation

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Luxo Jr. © 1986 Pixarhttp://www.pixar.com/shorts/ljr/

http://youtu.be/qGxoui3IFS0

Page 25: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

25

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Traditional Animation [5]:Staging

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Luxo Jr. © 1986 Pixarhttp://www.pixar.com/shorts/ljr/

http://youtu.be/qGxoui3IFS0

Page 26: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

26

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Traditional Animation [6]:Follow Through & Overlapping Action

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 27: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

27

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Traditional Animation [7]:Straight-Ahead vs. Pose-to-Pose Action

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 28: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

28

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Traditional Animation [8]:Slow In-And-Out

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 29: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

29

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Traditional Animation [9]:Arcs

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 30: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

30

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Traditional Animation [10]:Exaggeration

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 31: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

31

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Traditional Animation [11]:Secondary Action

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Luxo Jr. © 1986 Pixarhttp://www.pixar.com/shorts/ljr/

http://youtu.be/qGxoui3IFS0

Page 32: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

32

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Traditional Animation [12]:Appeal

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 33: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

33

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Outline

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 34: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

34

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Keyframe Animation [1]:Keyframes

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 35: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

35

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Keyframe Animation [2]:Interpolation (aka Inbetweening)

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 36: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

36

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Keyframe Animation [3]:Linear Interpolation aka Lerping

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 37: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

37

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Keyframe Animation [4]:Cubic Curve (Spline) Interpolation

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 38: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

38

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Keyframe Animation [5]:Dynamics & Kinematics

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 39: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

39

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Outline

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 40: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

40

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Articulated Figures [1]:Definition

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 41: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

41

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Articulated Figures [2]:Character Modeling

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 42: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

42

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Articulated Figures [3]:Angular Interpolation

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 43: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

43

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Articulated Figures [4]:Bones & Joints

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 44: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

44

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Articulated Figures [5]:Example – Walk Cycle 1

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 45: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

45

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Articulated Figures [6]:Example – Walk Cycle 2

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 46: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

46

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Articulated Figures [7]:Example – Walk Cycle 3

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

Page 47: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

47

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Articulated Figures [7]:Example – Walk Cycle 4

© 2010 J. Lawrence, University of VirginiaCS 4810: Introduction to Computer Graphics – http://bit.ly/hPIXdi

© 2002 D. M. Murillohttp://bit.ly/eZ9MA8

Page 48: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

48

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Looking Ahead:Scene Graph Traversal

© 2002 – 2005 Virtoolshttp://bit.ly/eM1gz8

Page 49: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

49

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Looking Ahead:Scene Graph Rendering

Performer © 1997 D. Papehttp://www.evl.uic.edu/pape/talks/VSI97/pf/

Page 50: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

50

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Problem Set 3:Hour Exam 1Review

Page 51: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

51

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Summary

Reading for Last Class: §2.6, 20.1, Eberly 2e; OpenGL primer material

Reading for Today: §5.1 – 5.2, Eberly 2e

Reading for Next Lecture (Two Classes from Now): §4.4 – 4.7, Eberly 2e

Last Time: Shading and Transparency in OpenGL

Alpha blending

Painter’s algorithm – less efficient, can handle non-opaque objects

Depth buffering (z-buffering) – in hardware, fast, opaque only

Today: Introduction to Animation

What is it and how does it work?

Brief history

Principles of traditional animation

Keyframe animation

Articulated figures: inbetweening

Page 52: Lecture 17 of 41 Animation 1 of 3: Basics, Keyframing ...kdd.cs.ksu.edu/Courses/CIS736/Lectures/Slides/Lecture-17-Main_full.… · Principles of traditional animation Keyframe animation

Computing & Information SciencesKansas State University

52

CIS 536/636

Introduction to Computer GraphicsLecture 17 of 41

Terminology

Shading and Transparency in OpenGL: Alpha, Painter ’s, z-buffering

Animation – Bringing Still Objects “to Life” (Change Over Time)

Early Animation

Thaumatrope (c. 1824) – early Victorian toy prefiguring flipbooks

Flipbook – simple paper-based animation technique

Action in Traditional Animation

Before: squash & stretch, timing, anticipation, staging

During: exaggeration, secondary

After: follow-through & overlapping action

Design: straight-ahead vs. pose-to-pose

Keyframe Animation

Inbetweening – interpolation technique

Lerping – linear interpolation

Splines & other cubic curves

Articulated figures: angular interpolation