Top Banner
ACTIVE STROKES: COHERENT LINE STYLIZATION FOR ANIMATED 3D MODELS Pierre Bénard 1,2 Jingwan Lu 3 Forrester Cole 4 Adam Finkelstein 3 Joëlle Thollot 1,2 1 Grenoble University, LJK 2 INRIA 3 Princeton University 4 MIT CSAIL
46

Active Strokes: Coherent Line Stylization for Animated 3D Models

Jun 11, 2015

Download

Technology

Pierre Bénard

These slides presents a method for creating coherently animated line drawings that include strong abstraction and stylization effects. These effects are achieved with active strokes: 2D contours that approximate and track the lines of an animated 3D scene. Active strokes perform two functions: they connect and smooth unorganized line samples, and they carry coherent parameterization to support stylized rendering. Line samples are approximated and tracked using active contours ("snakes") that automatically update their arrangment and topology to match the animation. Parameterization is maintained by brush paths that follow the snakes but are independent, permitting substantial shape abstraction without compromising fidelity in tracking. This approach renders complex models in a wide range of styles at interactive rates, making it suitable for applications like games and interactive illustrations.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Active Strokes: Coherent Line Stylization for Animated 3D Models

ACTIVE STROKES:COHERENT LINE STYLIZATION FOR ANIMATED 3D MODELS

Pierre Bénard1,2 Jingwan Lu3 Forrester Cole4 Adam Finkelstein3 Joëlle Thollot1,2

1Grenoble University, LJK 2INRIA 3Princeton University 4MIT CSAIL

Page 2: Active Strokes: Coherent Line Stylization for Animated 3D Models

2

Line Stylization

Page 3: Active Strokes: Coherent Line Stylization for Animated 3D Models

3

Line Stylization in CG

Page 4: Active Strokes: Coherent Line Stylization for Animated 3D Models

4

Line Stylization in CG• Image space buffers

processing

Comprehensible rendering of 3-D shapes,Saito and Takahashi, SIGGRAPH 1990

• Object space line extraction

Real-Time Nonphotorealistic Rendering,Markosian et al., SIGGRAPH 1997

Page 5: Active Strokes: Coherent Line Stylization for Animated 3D Models

5

Line Stylization: Image Space

Implicit Brushes for stylized line-based rendering, Vergne et al., CGF 2011

Simple and fastNatural coherence and LoD

Restricted stylization effects

Page 6: Active Strokes: Coherent Line Stylization for Animated 3D Models

6

Line Stylization: Object SpaceWide range of styles Computationally expensive

Complex LoD

No natural coherence

A Procedural Approach to Style for NPR Line Drawing from 3D models,

Grabli et al., TOG 2010

Page 7: Active Strokes: Coherent Line Stylization for Animated 3D Models

7

Brush Path Parameterization

0

l

Brush path

Line texture

Page 8: Active Strokes: Coherent Line Stylization for Animated 3D Models

Feature lines

8

Creases Ridges and valleys

Silhouettes Suggestive contours Apparent ridges

Fixed Line View-Dependent Lines

Parameterization = arc-length Parameterization = ?

Page 9: Active Strokes: Coherent Line Stylization for Animated 3D Models

9

Coherent Parameterization Goals

• Flatness Remain linear in image space

• Motion coherence Evolve according to the motion of the object

• Temporal continuity Adapt to the topological events

Page 10: Active Strokes: Coherent Line Stylization for Animated 3D Models

10

Previous Work

Coherent Stylized Silhouettes, Kalnins et al., SIGGRAPH 2003

Optimization between 2D and 3D

Multiple brush strokes per line

Dependent on the input connectivity

Page 11: Active Strokes: Coherent Line Stylization for Animated 3D Models

11

Previous Work

Page 12: Active Strokes: Coherent Line Stylization for Animated 3D Models

12

Previous Work

Kalnins et al., Coherent Stylized Silhouettes, SIGGRAPH 2003

Page 13: Active Strokes: Coherent Line Stylization for Animated 3D Models

13

Previous Work

Self-Similar Texture for Coherent Line Stylization, Bénard et al. NPAR 2010

2D Infinite zoom:Self-Similar Line Artmap (SLAM)

Dependent on the input connectivity

One brush stroke per line

Page 14: Active Strokes: Coherent Line Stylization for Animated 3D Models

14

Previous WorkEase propagation

of parameterizationwith CSS

Input connectivity

Snaxels on a Plane,Kevin Karsch and John C. Hart,

NPAR 2011

Spatio-Temporal Analysis for Parameterizing Animated Lines,

Buchholz et al., NPAR 2011

Optimization over the entire animation

Offline computation

Page 15: Active Strokes: Coherent Line Stylization for Animated 3D Models

15

Our Approach: Active Strokes• Image space active contours [Kass et al. 1988]

Shape Topology Density

• Brush paths Coherent parameterization Shape abstraction

• Interactive frame rates

Page 16: Active Strokes: Coherent Line Stylization for Animated 3D Models

16

SnakesTracking

Pipeline

Advection

3D scene

Image space lines extraction

Feature samples

Relaxation

Vectorization

Coverage Connectivity

Line drawing

Brush PathsGeometry

Parameterization

Stylization

Page 17: Active Strokes: Coherent Line Stylization for Animated 3D Models

17

Input• Feature samples extracted in image space

2D position Local tangent 2D velocity

Page 18: Active Strokes: Coherent Line Stylization for Animated 3D Models

18

SnakesTracking

Pipeline

Advection

3D scene

Image space lines extraction

Feature samples

Relaxation

Vectorization

Coverage Connectivity

Line drawing

Brush PathsGeometry

Parameterization

Stylization

Page 19: Active Strokes: Coherent Line Stylization for Animated 3D Models

19

Snakes: Properties

Coherence continuous evolution across frames

Accuracy faithfully representation of shape

Coverage level of detail Simplicity simple topology Length stylization freedom

Trac

king

Vect

oriz

ation

Page 20: Active Strokes: Coherent Line Stylization for Animated 3D Models

20

Active Contours in NPR• Color regions tracking

in videos Off-line computation User corrections

SnakeToonz, AgrawalaNPAR 2002

Keyframe-Based Tracking for Rotoscoping and Animation,

Agrawala et al. SIGGRAPH 2004

Page 21: Active Strokes: Coherent Line Stylization for Animated 3D Models

21

Snakes: Tracking• Advection + Relaxation

Frame f Frame f+1

Page 22: Active Strokes: Coherent Line Stylization for Animated 3D Models

22

Snakes: Advection• Reprojection

similar to Bousseau et al. 2007 and Lu et al. 2010

Image fImage f+1

Page 23: Active Strokes: Coherent Line Stylization for Animated 3D Models

23

Snakes: Relaxation [Kass et al. 1988]

• Minimize the energy:

• Semi-explicit Euler scheme

ExternalAttraction by the features samples

Internal– Continuity– Smoothness

Page 24: Active Strokes: Coherent Line Stylization for Animated 3D Models

24

Snakes: Relaxation• Grow / shrink

re-sampling (similar to Delingette et al. 2000)

• Contour shrinking mass-spring forces between the vertices almost constant length if no tangential external force is applied

Page 25: Active Strokes: Coherent Line Stylization for Animated 3D Models

25

Snakes: Tracking• Advection + Relaxation

Page 26: Active Strokes: Coherent Line Stylization for Animated 3D Models

26

Snakes: Cleaning• Local vectorization operators

• Applied sequentially in a greedy fashion

Page 27: Active Strokes: Coherent Line Stylization for Animated 3D Models

27

Snakes: Tracking + Cleaning

Page 28: Active Strokes: Coherent Line Stylization for Animated 3D Models

28

Snakes: Level of Detail

Page 29: Active Strokes: Coherent Line Stylization for Animated 3D Models

29

SnakesTracking

Pipeline

Advection

Feature samples

Relaxation

Vectorization

Coverage Connectivity

Brush PathsGeometry

Parameterization

Stylization

3D scene

Image space lines extraction

Line drawing

Page 30: Active Strokes: Coherent Line Stylization for Animated 3D Models

30

Brush Paths: Parameterization• Linear image space parameterization:

with = slope= phase= arc-length

• Evolve according to the motion and topology of the snakes parameterization at each vertex

Page 31: Active Strokes: Coherent Line Stylization for Animated 3D Models

31

Brush Paths: Parameterization• Propagation at each vertex

Parameterization stored between two frames

Page 32: Active Strokes: Coherent Line Stylization for Animated 3D Models

32

Brush Paths: Parameterization• Propagation at each vertex• Linearization (in the least-square sense)

para

met

eriza

tion

arc-length

Page 33: Active Strokes: Coherent Line Stylization for Animated 3D Models

33

Brush Paths: Parameterization• Propagation at each vertex• Vectorization events

Split Extend Trim Merge: mechanism to avoid parameterization

discontinuities

propagated directly

• Linearization

Page 34: Active Strokes: Coherent Line Stylization for Animated 3D Models

34

Brush Paths: Merging

• Only if the slope and phase match• Leveling mechanism

pushes the 2 parameterizations to their mid-value:

with

para

met

eriza

tion

arc-length

Page 35: Active Strokes: Coherent Line Stylization for Animated 3D Models

35

Stylization: SLAM texture

Page 36: Active Strokes: Coherent Line Stylization for Animated 3D Models

36

Stylization: SLAM offsets

Page 37: Active Strokes: Coherent Line Stylization for Animated 3D Models

37

Stylization: Shape abstraction• Segments fitting

Page 38: Active Strokes: Coherent Line Stylization for Animated 3D Models

38

Stylization: Shape abstraction• Arcs fitting

Page 39: Active Strokes: Coherent Line Stylization for Animated 3D Models

39

Stylization: Shape abstraction

Page 40: Active Strokes: Coherent Line Stylization for Animated 3D Models

40

Stylization: Implicit Brushes

Page 41: Active Strokes: Coherent Line Stylization for Animated 3D Models

41

Stylization: Steerable filters

Page 42: Active Strokes: Coherent Line Stylization for Animated 3D Models

42

Stylization: Deformable models

Page 43: Active Strokes: Coherent Line Stylization for Animated 3D Models

43

Stylization: Deformable models

Page 44: Active Strokes: Coherent Line Stylization for Animated 3D Models

44

Limitations & Future Work

Robustness toward noise / outliers Temporal smoothing

Input samples Active strokes

Page 45: Active Strokes: Coherent Line Stylization for Animated 3D Models

45

Conclusions• New propagation primitive

for image space lines fully automatic running at interactive frame rates

• Temporally coherent basis for complex effects Arc-length variations (texture, offsets, tapering)

Shape abstraction

Page 46: Active Strokes: Coherent Line Stylization for Animated 3D Models

QUESTIONS?Thank you for your attention

46