On the Parameterization of Catmull-Rom Curves Cem Yuksel Scott - - PowerPoint PPT Presentation

on the parameterization of catmull rom curves
SMART_READER_LITE
LIVE PREVIEW

On the Parameterization of Catmull-Rom Curves Cem Yuksel Scott - - PowerPoint PPT Presentation

On the Parameterization of Catmull-Rom Curves Cem Yuksel Scott Schaefer John Keyser Texas A&M University Catmull-Rom Curves P 3 P 1 P 0 P 2 Catmull-Rom Curves P 3 P 1 P 0 P 2 Catmull-Rom Curves Important Properties


slide-1
SLIDE 1

On the Parameterization of Catmull-Rom Curves

Cem Yuksel Scott Schaefer John Keyser Texas A&M University

slide-2
SLIDE 2

Catmull-Rom Curves

P0 P1 P2 P3

slide-3
SLIDE 3

Catmull-Rom Curves

P0 P1 P2 P3

slide-4
SLIDE 4

Catmull-Rom Curves

  • Important Properties

– Interpolate control points – Local support – Piecewise polynomial representation

slide-5
SLIDE 5

Catmull-Rom Curves

  • Important Properties

– Interpolate control points – Local support – Piecewise polynomial representation

slide-6
SLIDE 6

Catmull-Rom Curves

P0 P1 P2 P3

slide-7
SLIDE 7

Catmull-Rom Curves

P0 P1 P2 P3 t0 t1 t2 t3 C12 ( P0,1,2,3, t0,1,2,3 )

slide-8
SLIDE 8

Catmull-Rom Curves

t0 t1 t2 t3 Uniform ti+1 = ti + 1 P0 P1 P2 P3 t0 t1 t2 t3

slide-9
SLIDE 9

Catmull-Rom Curves

P0 P1 P2 P3 t0 t1 t2 t3 t0 t1 t2 t3 Chordal ti+1 = ti + | Pi+1 – Pi |

slide-10
SLIDE 10

Catmull-Rom Curves

  • Parameterization

– Uniform: ti+1 = ti + 1 – Chordal: ti+1 = ti + | Pi+1 – Pi |

slide-11
SLIDE 11

Catmull-Rom Curves

  • Parameterization

– Uniform: ti+1 = ti + | Pi+1 – Pi |0 – Chordal: ti+1 = ti + | Pi+1 – Pi |1

slide-12
SLIDE 12

Catmull-Rom Curves

  • Parameterization

ti+1 = ti + | Pi+1 – Pi |

a

slide-13
SLIDE 13

Catmull-Rom Curves

  • Parameterization

ti+1 = ti + | Pi+1 – Pi |

a a = 0 a = 1 Uniform Chordal

slide-14
SLIDE 14

Catmull-Rom Curves

  • Parameterization

ti+1 = ti + | Pi+1 – Pi |

a a = 0 a = 1 a = Uniform Chordal Centripetal

1 2

slide-15
SLIDE 15

DEMO

On the Parameterization of Catmull-Rom Curves

slide-16
SLIDE 16

CUSPS & SELF-INTERSECTIONS

On the Parameterization of Catmull-Rom Curves

slide-17
SLIDE 17

Cusps & Self-Intersections

P0 P1 P2 P3

slide-18
SLIDE 18

Cusps & Self-Intersections

P0 P1 P2 P3

slide-19
SLIDE 19

Cusps & Self-Intersections

P0 P1 P2 P3

slide-20
SLIDE 20

Cusps & Self-Intersections

P0 P1 P2 P3

slide-21
SLIDE 21

Cusps & Self-Intersections

P0 P1 P2 P3

slide-22
SLIDE 22

Cusps & Self-Intersections

P0 P1 P2 P3

a < 1

2

slide-23
SLIDE 23

Cusps & Self-Intersections

P0 P1 P2 P3

slide-24
SLIDE 24

Cusps & Self-Intersections

P0 P1 P2 P3

slide-25
SLIDE 25

Cusps & Self-Intersections

P0 P1 P2 P3

a = 1

2

slide-26
SLIDE 26

Cusps & Self-Intersections a = 1

2 P0 P1 P2 P3

slide-27
SLIDE 27

Cusps & Self-Intersections a = 1

2 P0 P1 P2 P3

slide-28
SLIDE 28

DISTANCE BOUND

On the Parameterization of Catmull-Rom Curves

slide-29
SLIDE 29

Distance Bound

slide-30
SLIDE 30
  • Distance to the infinite line
  • Distance to end points

Distance Bound

h l

slide-31
SLIDE 31

Distance Bound

  • Distance to the infinite line

h P0 P1 P2 P3 d2 d1

slide-32
SLIDE 32

Distance Bound

  • Distance to the infinite line

P0 P1 P2 P3 d2 d1 h ≤ d2 A

x

h

slide-33
SLIDE 33

Distance Bound

  • Distance to the infinite line

P0 P1 P2 P3 d2 d1 r = d1 d2 h ≤ r1-a 4 (1 + ra) d2 h

slide-34
SLIDE 34

Distance Bound

  • Distance to the infinite line

P0 P1 P2 P3 d2 d1 r = d1 d2 h ≤ r1-a 4 (1 + ra) d2

a < 1/2 8 a = 1/2 h ≤ h ≤ d2 /4 a = 2/3 h ≤ d2 /8 a = 1 h ≤ d2 /4

h

slide-35
SLIDE 35

Distance Bound

  • Distance to the infinite line

P0 P1 P2 P3 d2 d1 r = d1 d2 h ≤ r1-a 4 (1 + ra) d2

a < 1/2 8 a = 1/2 h ≤ h ≤ d2 /4 a = 2/3 h ≤ d2 /8 a = 1 h ≤ d2 /4

h

slide-36
SLIDE 36

Distance Bound

  • Distance to the infinite line

P0 P1 P2 P3 d2 d1 r = d1 d2 h ≤ r1-a 4 (1 + ra) d2

a < 1/2 8 a = 1/2 h ≤ h ≤ d2 /4 a = 2/3 h ≤ d2 /8 a = 1 h ≤ d2 /4

h

slide-37
SLIDE 37

Distance Bound

  • Distance to the infinite line

P0 P1 P2 P3 d2 d1 r = d1 d2 h ≤ r1-a 4 (1 + ra) d2

a < 1/2 8 a = 1/2 h ≤ h ≤ d2 /4 a = 2/3 h ≤ d2 /8 a = 1 h ≤ d2 /4

h

slide-38
SLIDE 38

Distance Bound

  • Distance to the end points

l ≤ r 2 – r 4a 3 ra (1 + ra) d2 l

slide-39
SLIDE 39

a only

Distance Bound

a = 1/2 a = 2/3 a = 1

slide-40
SLIDE 40

a and r

Distance Bound

a = 1/2 a = 2/3 a = 1

slide-41
SLIDE 41

INTERSECTION-FREE CURVES

On the Parameterization of Catmull-Rom Curves

slide-42
SLIDE 42

Intersection-Free Curves

slide-43
SLIDE 43

Intersection-Free Curves

slide-44
SLIDE 44

Intersection-Free Curves γ > π / 3 γ

slide-45
SLIDE 45

Intersection-Free Curves γ > π / 3 γ

slide-46
SLIDE 46

Intersection-Free Curves

  • Avoid self-intersections

– Centripetal parameterization

  • Avoid adjacent segment intersections

– Control polygon angle > π / 3

  • Avoid non-adjacent segment intersections

– Bounding box

slide-47
SLIDE 47

DISCUSSION

On the Parameterization of Catmull-Rom Curves

slide-48
SLIDE 48

Discussion

  • Distance to Control Polygon

– Uniform is closer for longer segments – Chordal is closer for shorter segments

slide-49
SLIDE 49
slide-50
SLIDE 50

Discussion

  • Edge Direction

– Chordal has extreme sensitivity to short edge directions

slide-51
SLIDE 51

Discussion

  • Edge Direction

– Chordal has extreme sensitivity to short edge directions

slide-52
SLIDE 52

Discussion

  • Edge Direction

– Chordal has extreme sensitivity to short edge directions

slide-53
SLIDE 53

Discussion

  • Edge Direction

– Chordal has extreme sensitivity to short edge directions

slide-54
SLIDE 54

Discussion

  • Curvature

– Centripetal tends to have higher curvature at control points.

slide-55
SLIDE 55

Discussion

  • Curvature

– Centripetal tends to have higher curvature at control points.

slide-56
SLIDE 56

Discussion

  • Curvature

– Centripetal tends to have higher curvature at control points.

slide-57
SLIDE 57

Discussion

  • Curvature

– Centripetal tends to have higher curvature at control points.

slide-58
SLIDE 58

Catmull-Rom Curves

Cem Yuksel, Scott Schaefer, John Keyser, “Hair Meshes,” Siggraph Asia 2009

Lee Perry-Smith Alexander Tomchuk Lee Perry-Smith

slide-59
SLIDE 59

Catmull-Rom Curves

Cem Yuksel, Scott Schaefer, John Keyser, “Hair Meshes,” Siggraph Asia 2009

slide-60
SLIDE 60

Catmull-Rom Curves

Cem Yuksel, Scott Schaefer, John Keyser, “Hair Meshes,” Siggraph Asia 2009

Centripetal Uniform Chordal

slide-61
SLIDE 61

Summary

  • Parameterization of Catmull-Rom curves
  • Cusps and self-intersections
  • Distance bound
  • Intersection-free curves
  • C1 Catmull-Rom curves only!

0 ≤ a ≤ 1

slide-62
SLIDE 62

QUESTIONS?

On the Parameterization of Catmull-Rom Curves