polydepth: real-time penetration depth computation · pdf filedepth computation using...

90
PolyDepth: Real-Time Penetration Depth Computation Using Iterative Contact-Space Projection Changsoo Je Ewha Womans University and Sogang University Min Tang, Youngeun Lee, Minkyoung Lee, and Young J. Kim, Ewha Womans University ACM Transactions on Graphics (ToG), Vol. 31, No. 1, Article 5, 2012

Upload: ngotram

Post on 09-Mar-2018

222 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

PolyDepth: Real-Time Penetration

Depth Computation Using Iterative

Contact-Space Projection

Changsoo Je

Ewha Womans University and Sogang University

Min Tang, Youngeun Lee, Minkyoung Lee, and Young

J. Kim, Ewha Womans University

ACM Transactions on Graphics (ToG), Vol. 31, No. 1, Article 5, 2012

Page 2: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

2

Non-penetration Penetration

Interpenetration Problem

• Modeling problem

• Numerical problem

• Random sampling

Page 3: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

3

How to separate them?

Penetration Non-penetration

Page 4: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

4

Penetration Depth

Penetration Depth (PD)

Minimum translational distance to separate intersecting rigid objects

Page 5: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

5

Applications

– Rigid Body Dynamics

Point of impulse application [Tang et al. 2009]

Page 6: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

6

Applications

– Retraction-based Motion Planning

Retract in-collision samples to free space

[Zhang et al. 2008]

C-Free C-Obstacle

Page 7: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

7

Applications

– Penalty-Based 6DOF Haptics

Penalty Forces

[Kim et al. 03]

Page 8: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

8

Computational Complexity of PD

• Exact PD: 𝑂 𝑛6 for 𝑛 faces

𝔄

𝔅

𝔄 ⊕ 𝔅 Minkowski

Sums

(Translational

Contact Space)

Page 9: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

9

Main Contribution

The first realtime

PD algorithm for

general polygonal

models

Source codes available: google “polydepth”

Page 10: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

10

Main Contribution

• Tight upper bound

• Single global or multiple local solutions

• Iterative optimization using in/out

projections

• Efficient initialization strategies

Page 11: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

11

Contents

• Previous work

• Preliminaries

• Out-projection

• In-projection

• Initialization

• Results

• Conclusion

Page 12: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

12

Contents

• Previous work

• Preliminaries

• Out-projection

• In-projection

• Initialization

• Results

• Conclusion

Page 13: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

13

Previous Work

• Convex Polytopes [Cameron and Culley 1986], [Dobkin et al. 1993], [Agarwal et al. 2000], [Cameron 1997], [Bergen 2001],

[Kim et al. 2004]

• Nonconvex Polyhedra [Kim et al. 2002], [Redon and Lin 2006], [Lien 2008, 2009], [Hachenberger 2009], [Fisher and Lin 2001],

[Hoff et al. 2002], [Sud et al. 2006], [Tang et al. 2009], [Allard et al. 2010]

• Generalized Penetration Depth [Zhang et al. 2007], [Nawratil et al. 2009], [Ong and Gilbert 1996], [Ong 1993], [Weller and

Zachmann 2009]

Page 14: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

14

Previous Work - Limitations

• Too slow for interactive applications

• Non-Euclidean

• Lower bound solution

- Does not guarantee full separation

Page 15: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

15

Contents

• Previous work

• Preliminaries

• Out-projection

• In-projection

• Initialization

• Results

• Conclusion

Page 16: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

16

Minkowski Sum

• Minkowski sums for two sets

𝔄 ⊕ 𝔅 = 𝐚 + 𝐛 𝐚 ∈ 𝔄, 𝐛 ∈ 𝔅

𝔄 and 𝔅

𝔄 ⊕ −𝔅 = 𝐚 − 𝐛 𝐚 ∈ 𝔄, 𝐛 ∈ 𝔅

Page 17: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

17

Minkowski Sum

𝔄 𝔅

𝔄 ⊕ −𝔅

Page 18: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

18

𝐨𝔅

PD and Minkowski Sum

𝔄 ⊕ −𝔅

𝐨𝔄

Page 19: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

19

𝐨𝔅

PD and Minkowski Sum

𝔄 ⊕ −𝔅

𝐨𝔄 PD PD

Page 20: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

20

PD Estimation

𝐨

𝜕 𝔄 ⊕ −𝔅

Page 21: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

21

PD Estimation

𝐨

𝜕 𝔄 ⊕ −𝔅

Penetration depth

Page 22: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

22

PolyDepth Algorithm

• Local optimization

- Contact space localization

• Iterative optimization

- Repeated in- and out-projections

Page 23: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

23

Iterative Optimization

𝐨

𝜕 𝔄 ⊕ −𝔅

contact space

Page 24: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

24

Iterative Optimization 𝐪𝑓

𝐨

𝜕 𝔄 ⊕ −𝔅

contact space

Page 25: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

25

Iterative Optimization 𝐪𝑓

Out-Projection

𝐪0

𝐨

𝜕 𝔄 ⊕ −𝔅

Page 26: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

26

Iterative Optimization

𝐪0

𝐨

𝜕 𝔄 ⊕ −𝔅

Page 27: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

27

Iterative Optimization

In-Projection

𝐪1

𝐨

𝜕 𝔄 ⊕ −𝔅

Page 28: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

28

Iterative Optimization

𝐪1 Out-Projection

𝐪2

𝐨

𝜕 𝔄 ⊕ −𝔅

Page 29: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

29

Iterative Optimization

𝐪2

𝐨

𝜕 𝔄 ⊕ −𝔅

Page 30: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

30

Iterative Optimization

𝐨 In-Projection

𝐪3 𝜕 𝔄 ⊕ −𝔅 PD

Page 31: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

31

Contents

• Previous work

• Preliminaries

• Out-projection

• In-projection

• Initialization

• Results

• Conclusion

Page 32: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

32

Out-Projection

𝐪𝑓

𝐨

𝜕 𝔄 ⊕ −𝔅

Page 33: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

33

Out-Projection

𝐪0

𝐪𝑓

𝐨

Out-Projection

𝜕 𝔄 ⊕ −𝔅

Page 34: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

34

Continuous Collision Detection

(CCD)

Find the first time of contact (ToC) 𝜏

Page 35: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

35

Translational CCD

Find the first time of contact (ToC) 𝜏

Page 36: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

36

𝔄 𝜏

Translational CCD

𝔄 𝐯

𝔅

𝑑𝐯

𝑑𝐯 : Minimal directional distance along 𝐯

𝜏 =𝑑𝐯 𝔄, 𝔅

𝐯

Page 37: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

37

Contents

• Previous work

• Preliminaries

• Out-projection

• In-projection

• Initialization

• Results

• Conclusion

Page 38: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

38

Contact-Space Localization

𝐪0

𝐪𝑓

𝐨

𝜕 𝔄 ⊕ −𝔅

Page 39: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

39

Contact-Space Localization

𝐪0

𝐨

𝜕 𝔄 ⊕ −𝔅

Page 40: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

40

Contact-Space Localization

𝐪0

𝐉𝐪 = 𝐜

𝜕 𝔄 ⊕ −𝔅

Page 41: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

41

In-Projection

In-Projection

𝐪1

𝐨

𝜕 𝔄 ⊕ −𝔅

Page 42: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

42

In-Projection

𝐨

𝐪

Minimize 𝐪 2

subject to 𝐉𝐪 ≥ 𝐜

𝜕 𝔄 ⊕ −𝔅

Page 43: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

43

In-Projection

𝐨

Linear Complementarity Problem

𝐪 −

1

4𝐉𝐉T𝜆 + 𝐜 ≥ 𝟎

𝜆 ≥ 𝟎

−1

4𝐉𝐉T𝜆 + 𝐜

T

𝜆 = 0

Page 44: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

44

In-Projection

𝐨

𝐪

𝐉𝐉T𝜆 = 4𝐜

Page 45: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

45

In-Projection

𝐨

𝐪

where 𝐃 + 𝐋 + 𝐔 = 𝐉𝐉T

Projected Gauss-Seidel method

𝜆𝑘+1 = 𝐃 + 𝐋 −1 4𝐜 − 𝐔𝜆𝑘

Page 46: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

46

Contents

• Previous work

• Preliminaries

• Out-projection

• In-projection

• Initialization

• Results

• Conclusion

Page 47: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

47

Collision-Free Configuration for

Out-Projection

𝐪𝑓

𝐨

𝜕 𝔄 ⊕ −𝔅

Page 48: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

48

Initialization

• Find a collision-free configuration as close as possible to the relative origin

• Strategies: - Centroid difference - Maximally clear configuration - Motion coherence - Random configuration - Sampling-based search

Page 49: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

49

Centroid Difference

𝐪𝑠

𝐪𝔄

𝐨𝔄

𝐨𝔅

𝐪𝔅

Page 50: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

50

Centroid Difference Initial

collision-free

In- & out-projections

Input in-collision

Page 51: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

51

Maximally Clear Configuration Equidistant

• Approximate the

maximally clear

configurations

• Voronoi boundary

Page 52: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

52

Maximally Clear Configuration

1. AABB

Page 53: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

53

Maximally Clear Configuration

2. Grid positions

Page 54: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

54

Maximally Clear Configuration

3. Remove the

points with

small distances

xy

Page 55: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

55

Maximally Clear Configuration

4. Remove

the closer

points along

xy-directions

xy

Page 56: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

56

Maximally Clear Configuration

5. Remove

the grids on

the boundary

of AABB

z

Page 57: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

57

Maximally Clear Configuration

6. Remove

the closer

points along

z-direction

z

Page 58: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

58

Maximally Clear Configuration

Page 59: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

59

Maximally Clear Configuration Initial

collision-free

Input in-collision

PD

Page 60: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

60

Sampling-Based Search

Collision

Collision-free

𝐪0𝑓

𝐪1𝑓

𝐨

Collision 𝜕 𝔄 ⊕ −𝔅

Page 61: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

61

Initial

collision-

free

Input

in-collision PD

Maximally Clear Configurations

and Sampling-Based Search

Page 62: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

62

Maximally Clear Configurations

and Sampling-Based Search

Initial

collision-free

Input in-collision

PD

Page 63: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

63

Motion Coherence in Dynamics

Many collision-free

configurations are

found

Page 64: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

64

Motion Coherence

Initial

collision-free

Input in-collision

PD Out-projections

Page 65: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

65

Contents

• Previous work

• Preliminaries

• Out-projection

• In-projection

• Initialization

• Results

• Conclusion

Page 66: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

66

Benchmarking Models

10K 1K 40K 1K 1.33K 174K 105K

0.54K 0.94K 152K 1.34K 2K 3K

Page 67: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

67

Performance with Random

Configurations

Page 68: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

68

Performance

with Random

Configurations

top : no. of contacts

mid : no. of iterations

bot : timing

Page 69: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

69

Performance with Random

Configurations

Model Time

(msec)

No. of

Contacts

No. of

Iterations

Torusknot 5.53 4.84 2.81

Buddha 6.23 5.04 1.92

Bunny2 7.55 8.25 2.16

Dragon 12.76 11.92 2.29

Page 70: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

70

Comparison to

Lien’s Method

[Lien 2009]

top : PD for

mid : timing for

bot : PD for

2,000 Times Faster

Page 71: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

71

Average PD Errors

Model Mean error

(%)

Median error

(%)

Bunny1 0.500 0.165

Distorted-

Torus 1.165 0.066

Page 72: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

72

Predefined Path Scenario

Page 73: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

73

Dragons with

Predefined

Path

top : no. of contacts

mid : no. of iterations

bot : timing

Page 74: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

74

Performance on Predefined Paths

Models Time

(msec)

No. of

Contacts

No. of

Iterations

Spoon and Cup 0.96 4.49 1.02

Buddha 3.50 5.07 1.29

Dragon 5.84 10.32 1.45

Page 75: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

75

Realtime PD Results

Spoon: 1.3K triangles

Cup: 8.4K triangles

Buddha 1: 10K triangles

Buddha 2: 20K triangles

Page 76: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

76

Applications

– Rigid Body Dynamics

• Multiple

contacts

• To stabilize

dynamics

Page 77: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

77

Local PD Computation

• Computed for each contact region

• Derived from the global PD

• Corresponding to contact feature pairs that

are resolved as a result of the global PD

Page 78: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

78

Local PD Computation

Two objects are

interpenetrated.

Page 79: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

79

Local PD Computation

d

d: global PD

Page 80: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

80

Local PD Computation

d

n1

n2

: contact normals ni

Page 81: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

81

Local PD Computation

d

d1

d2

di=(d·ni)ni

i-th local PD:

Page 82: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

82

Dynamics Simulations

Page 83: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

83

Performance in the Dynamics

Scenario

Models Global PD

(msec)

Local PD

(msec)

Total

(msec)

Torus 3.13 1.04 4.17

Bunny2 5.43 1.78 7.21

Golf-club 4.87 1.67 6.54

Santa 9.14 2.90 12.04

Page 84: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

84

Penalty-Based Haptic Rendering

Spoon and Cup Box and Box

Page 85: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

85

Realtime Rigid Body Dynamics

1 Plane: 12 triangles

7 Bunnies: 40K each

3 Dragons: 174K each

Total: 802K

Performance:

10~50 msec

Page 86: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

86

Conclusion

• Interactive PD algorithm for complicated

polygon-soup models

• Several schemes for selecting an initial

collision-free configuration

• Method of computing a local PD for

realistic dynamics simulation

Page 87: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

87

Limitations

• Highly complex models may require a

large number of iterations

• Approximates an upper bound of PD

• Depends on initial collision-free

configurations

Page 88: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

88

Future Work

• Extension to n-body PD problems

• Extension to generalized PD problem

• Applying to haptic rendering and robot

motion planning

Page 89: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

89

Acknowledgements

• Graphics group, Ewha

• Stephane Redon, INRIA

• Jyh-Ming Lien, GMU

• Anonymous reviewers

• National research foundation of Korea

• IT R&D Program of MKE/MCST in Korea

Page 90: PolyDepth: Real-Time Penetration Depth Computation · PDF fileDepth Computation Using Iterative Contact-Space ... ACM Transactions on Graphics ... •Extension to generalized PD problem

90

Thank You!

C. Je et al.

PolyDepth: Real-time Penetration Depth Computation.

ACM Transactions on Graphics (ToG), Vol. 31, No. 1, Article 5.

Presented in SIGGRAPH 2012.

http://home.sogang.ac.kr/sites/je