differential geometry - polygon mesh processing book website

36
Differential Geometry Mark Pauly

Upload: others

Post on 12-Sep-2021

19 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Differential Geometry - Polygon Mesh Processing Book Website

Differential GeometryMark Pauly

Page 2: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Outline

• Differential Geometry– curvature– fundamental forms– Laplace-Beltrami operator

• Discretization

• Visual Inspection of Mesh Quality

2

Page 3: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Differential Geometry

• Continuous surface

• Normal vector

– assuming regular parameterization, i.e.

3

x(u, v) =

x(u, v)y(u, v)z(u, v)

, (u, v) ∈ IR2

n = (xu × xv)/‖xu × xv‖

xu × xv "= 0

Page 4: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

• Normal Curvature

Differential Geometry

4

n

p

n =

xu × xv

‖xu × xv‖

t

xu xv

t = cos φxu

‖xu‖+ sinφ

xv

‖xv‖

Page 5: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

• Normal Curvature

Differential Geometry

5

t

n

pc

n =

xu × xv

‖xu × xv‖

t = cos φxu

‖xu‖+ sinφ

xv

‖xv‖

Page 6: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Differential Geometry

• Principal Curvatures– maximum curvature

– minimum curvature

• Euler Theorem:

• Mean Curvature

• Gaussian Curvature

6

K = κ1 · κ2

κn(t̄) = κn(φ) = κ1 cos2 φ + κ2 sin2 φ

H =κ1 + κ2

2=

1

∫ 2π

0

κn(φ)dφ

κ1 = maxφ

κn(φ)

κ2 = minφ

κn(φ)

Page 7: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Differential Geometry

• Normal curvature is defined as curvature of the normal curve at a point

• Can be expressed in terms of fundamental forms as

7

t

n

pc

p ∈ cc ∈ x(u, v)

κn(t̄) =t̄T II t̄

t̄T I t̄=

ea2 + 2fab + gb2

Ea2 + 2Fab + Gb2

t = axu + bxv

Page 8: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Differential Geometry

• First fundamental form

• Second fundamental form

8

I =

[

E F

F G

]

:=

[

xTu xu xT

u xv

xTu xv xT

v xv

]

II =

[

e ff g

]

:=

[

xTuun xT

uvn

xTuvn xT

vvn

]

Page 9: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Differential Geometry

• I and II allow to measure– length, angles, area, curvature– arc element

– area element

9

ds2

= Edu2

+ 2Fdudv + Gdv2

dA =

EG − F 2dudv

Page 10: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Differential Geometry

• Intrinsic geometry: Properties of the surface that only depend on the first fundamental form– length– angles– Gaussian curvature (Theorema Egregium)

10

K = limr→0

6πr − 3C(r)

πr3

Page 11: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

• A point x on the surface is called– elliptic, if K > 0– parabolic, if K = 0– hyperbolic, if K < 0– umbilical, if

• Developable surface ⇔ K = 0

Differential Geometry

11

κ1 = κ2

Page 12: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Laplace Operator

12

∆f = div∇f =∑

i

∂2f

∂x2i

Cartesiancoordinates

divergenceoperator

gradientoperator

Laplaceoperator

function in Euclidean space

2nd partialderivatives

Page 13: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Laplace-Beltrami Operator

• Extension of Laplace to functions on manifolds

13

divergenceoperator

gradientoperator

Laplace-Beltrami

function onmanifold

∆Sf = divS ∇Sf

S

Page 14: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Laplace-Beltrami Operator

• Extension of Laplace to functions on manifolds

14

surfacenormal

meancurvature

divergenceoperator

gradientoperator

Laplace-Beltrami

coordinatefunction

∆Sx = divS ∇Sx = −2Hn

Page 15: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Outline

• Differential Geometry– curvature– fundamental forms– Laplace-Beltrami operator

• Discretization

• Visual Inspection of Mesh Quality

15

Page 16: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Discrete Differential Operators

• Assumption: Meshes are piecewise linear approximations of smooth surfaces

• Approach: Approximate differential properties at point x as spatial average over local mesh neighborhood N(x), where typically– x = mesh vertex– N(x) = n-ring neighborhood or local geodesic ball

16

Page 17: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Discrete Laplace-Beltrami

• Uniform discretization

– depends only on connectivity → simple and efficient

– bad approximation for irregular triangulations

17

∆unif (v) :=1

|N1 (v)|

vi∈N1(v)

(f (vi) − f (v))

Page 18: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Discrete Laplace-Beltrami

• Cotangent formula

18

∆Sf(v) :=2

A(v)

vi∈N1(v)

(cot αi + cot βi) (f(vi) − f(v))

v

vi vi

vA(v) v

vi

αi

βi

Page 19: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Discrete Laplace-Beltrami

• Cotangent formula

• Problems– negative weights– depends on triangulation

19

∆Sf(v) :=2

A(v)

vi∈N1(v)

(cot αi + cot βi) (f(vi) − f(v))

Page 20: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Discrete Curvatures

• Mean curvature

• Gaussian curvature

• Principal curvatures

20

G = (2π −

j

θj)/A

A

θj

κ1 = H +

H2− G κ2 = H −

H2− G

H = ‖∆Sx‖

Page 21: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Links & Literature• P. Alliez: Estimating Curvature Tensors

on Triangle Meshes (source code)– http://www-sop.inria.fr/geometrica/team/

Pierre.Alliez/demos/curvature/

• Wardetzky, Mathur, Kaelberer, Grinspun: Discrete Laplace Operators: No free lunch, SGP 2007

principal directions

21

Page 22: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Outline

• Differential Geometry– curvature– fundamental forms– Laplace-Beltrami operator

• Discretization

• Visual Inspection of Mesh Quality

22

Page 23: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Mesh Quality

• Smoothness– continuous differentiability of a surface (Ck)

• Fairness– aesthetic measure of “well-shapedness”– principle of simplest shape– fairness measures from physical models

23

∫S

κ2

1 + κ2

2 dA

S

(

∂κ1

∂t1

)2

+

(

∂κ2

∂t2

)2

dA

strain energy variation of curvature

Page 24: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Mesh Quality

24

∫S

κ2

1 + κ2

2 dA

S

(

∂κ1

∂t1

)2

+

(

∂κ2

∂t2

)2

dA

strain energy variation of curvature

Page 25: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Mesh Quality

• Visual inspection of “sensitive” attributes– Specular shading

25

Page 26: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Mesh Quality

• Visual inspection of “sensitive” attributes– Specular shading– Reflection lines

26

Page 27: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Mesh Quality

• Visual inspection of “sensitive” attributes– Specular shading– Reflection lines

• differentiability one order lower than surface• can be efficiently computed using graphics hardware

27

C0

C1

C2

Page 28: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Mesh Quality

• Visual inspection of “sensitive” attributes– Specular shading– Reflection lines– Curvature

• Mean curvature

28

Page 29: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Mesh Quality

• Visual inspection of “sensitive” attributes– Specular shading– Reflection lines– Curvature

• Mean curvature• Gauss curvature

29

Page 30: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

• Smoothness– Low geometric noise

Mesh Quality Criteria

30

Page 31: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Mesh Quality Criteria

• Smoothness– Low geometric noise

• Adaptive tessellation– Low complexity

31

Page 32: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Mesh Quality Criteria

• Smoothness– Low geometric noise

• Adaptive tessellation– Low complexity

• Triangle shape– Numerical robustness

32

Page 33: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

• Circum radius / shortest edge

• Needles and caps

Triangle Shape Analysis

33

Needle Cap

r1

e1r2

e2r1

e1

<r2

e2

Page 34: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Mesh Quality Criteria

• Smoothness– Low geometric noise

• Adaptive tessellation– Low complexity

• Triangle shape– Numerical robustness

• Feature preservation– Low normal noise

34

Page 35: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Normal Noise Analysis

35

Page 36: Differential Geometry - Polygon Mesh Processing Book Website

Mark Pauly

Mesh Optimization

• Smoothness➡ Mesh smoothing

• Adaptive tessellation➡ Mesh decimation

• Triangle shape➡ Repair, remeshing

36