topics in computer animation - computer science and...

21
Topics in Computer Animation

Upload: others

Post on 08-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Topics in Computer Animation

Page 2: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

• Artist‐Driven animation– The artist draws some frames (keyframing)

– Usually in 2D– The computer generates intermediate frames using interpolation

– The old way…– Better than flipbook. No need to draw every frame

– Still a lot of work…

Animation Techniques

Page 3: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

• Data‐Driven animation– Motion capture from the real world (data capture)– Mapping motion from the actor to the virtual character (retargeting)

– Typically requires markers– Markerless? Doable but not easy– Synthesize different animations from a data set?

Animation Techniques

Page 4: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

• Physically based animation– Solving physics equations over time– Needs more computational cost– Can interact with users (so useful in game)– We will study more about this…

Animation Techniques

Page 5: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Animation Content• Character animation

– Character motion planning, synthesis, control

– Represented in skeleton– Retargeting from one character to another, especially if they are very different

– Usually data‐driven– Can be physically based (by computing the body weights, joint forces, …)

Page 6: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Animation Content

• Passive animation– Everything else that cannot move itself– Simulated by physics 

Page 7: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Particle based simulation– Just a set of independent particles– Can run in parallel (suitable for graphics processors)– Has no geometric structure– Easy to create, easy to maintain– Widely used in games– Good for objects without fixed shapes– Difficult to obtain the object surface

(unfriendly to rendering)

Page 8: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Particle based simulation– Example 1: Flame in game engines

Page 9: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Particle based simulation– Example 1: Flame in game engines– Example 2: High‐quality water animation

based on Smoothed Particle Hydrodynamics (SPH)

Page 10: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Particle based simulation– Example 1: Flame in game engines– Example 2: High‐quality water animation

based on Smoothed Particle Hydrodynamics (SPH)– Example 3: Flocking and crowd

Page 11: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Particle based simulation– Example 1: Flame in game engines– Example 2: High‐quality water animation

based on Smoothed Particle Hydrodynamics (SPH)– Example 3: Flocking and crowd– Example 4: Snow

Page 12: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Mesh based simulation– Represents the object using meshes– Easy to create shape details– Easy to extract the surfaces (rendering friendly)– Rigid body, soft body (deformable body)– Needs to handle collisions… A difficult problem

(Many games do not consider detailed collisions.)

– Remeshing is also difficult (for example, in fracture animation)

– Numerical stability problem 

Page 13: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Mesh based simulation– Example 1: Cloth animation (can be done only in meshes)

Page 14: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Mesh based simulation– Example 1: Cloth animation (can be done only in meshes)

– Example 2: water animation (highly detailed, less computationally expensive)

Page 15: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Mesh based simulation– Example 1: Cloth animation (can be done only in meshes)

– Example 2: water animation (highly detailed, less computationally expensive)

– Example 3: Viscoelastic fluid

Page 16: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Mesh based simulation– Example 1: Cloth animation (can be done only in meshes)

– Example 2: water animation (highly detailed, less computationally expensive)

– Example 3: Viscoelastic fluid– Example 4: Fracture

Page 17: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Mesh based simulation– Example 1: Cloth animation (can be done only in meshes)

– Example 2: water animation (highly detailed, less computationally expensive)

– Example 3: Viscoelastic fluid– Example 4: Fracture– Example 5: Soft body

Page 18: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Volume‐based simulation– Defines the object in a volume– No need to handle collisions– Nor Remeshing– Surface extraction is a problem(not difficult, but takes time)

– Cannot work easily in real time, but can be in very high‐quality

Page 19: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Volume‐based simulation– Example 1: Oscar‐winning smoke animation– Example 2: Fluid animation(Needs an additional method to represent water surface: the Level set method)

Page 20: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Techniques

• Volume‐based simulation– Example 1: Oscar‐winning smoke animation– Example 2: Fluid animation(Needs an additional method to represent water surface: the Level set method)

Page 21: Topics in Computer Animation - Computer Science and Engineeringweb.cse.ohio-state.edu/~wang.3602/courses/cse3541-2017... · 2014-01-13 · • Artist‐Driven animation – The artist

Simulation Topics SummaryParticle (Lagrangian) Mesh (Lagrangian) Volume (Eulerian)

Flame and smoke (low‐quality)

Flame and smoke (high‐quality)

Cloth animation

Hair simulation (is 1D string a mesh?)

Water animation(low and high‐quality)

Water animation(specific, high‐quality)

Water animation(high‐quality)

Facial animation

Soft body animation

Rigid body animation

Fracture animation

Flocking and Crowd