45
Discrete Differential Geometry Surfaces 2D/3D Shape Manipulation, 3D Printing CS 6501 Slides from Olga Sorkine, Eitan Grinspun

2D/3D Shape Manipulation, 3D Printing

  • Upload
    tabib

  • View
    47

  • Download
    4

Embed Size (px)

DESCRIPTION

CS 6501. 2D/3D Shape Manipulation, 3D Printing. Discrete Differential Geometry Surfaces. Slides from Olga Sorkine , Eitan Grinspun. Surfaces, Parametric Form. Continuous surface Tangent plane at point p ( u,v ) is spanned by. n. p v. p u. p ( u,v ). v. u. Isoparametric Lines. - PowerPoint PPT Presentation

Citation preview

Page 1: 2D/3D Shape Manipulation, 3D Printing

Discrete Differential GeometrySurfaces

2D/3D Shape Manipulation,3D Printing

CS 6501

Slides from Olga Sorkine, Eitan Grinspun

Page 2: 2D/3D Shape Manipulation, 3D Printing

#

Surfaces, Parametric Form

● Continuous surface

● Tangent plane at point p(u,v) is spanned by

n

p(u,v)pu

u

v

pv

2

Page 3: 2D/3D Shape Manipulation, 3D Printing

#

Isoparametric Lines

● Lines on the surface when keeping one parameter fixed

u

v

3

Page 4: 2D/3D Shape Manipulation, 3D Printing

#

Surface Normals

● Surface normal:

Assuming regular parameterization, i.e.,

n

p(u,v)pu

u

v

pv

4

Page 5: 2D/3D Shape Manipulation, 3D Printing

#

Normal Curvature

Direction t in the tangent plane (if pu and pv are orthogonal):

t

n

p

pupv

t

Tangent plane

5

Page 6: 2D/3D Shape Manipulation, 3D Printing

#

Normal Curvature

n

p

pupv

t

The curve is the intersection of the surface with the plane through n and t.

Normal curvature: n() = ((p))

t

Tangent plane

6

Page 7: 2D/3D Shape Manipulation, 3D Printing

#

Surface Curvatures

● Principal curvatures Maximal curvature Minimal curvature

● Mean curvature

● Gaussian curvature

7

Page 8: 2D/3D Shape Manipulation, 3D Printing

#

Principal Directions

● Principal directions:tangent vectorscorresponding to max and min

min curvature max curvature

tangent plane

t1 max

t2

8

Page 9: 2D/3D Shape Manipulation, 3D Printing

#

Euler’s Theorem: Planes of principal curvature are orthogonaland independent of parameterization.

Principal Directions

9

Page 10: 2D/3D Shape Manipulation, 3D Printing

#

Principal Directions

10

Page 11: 2D/3D Shape Manipulation, 3D Printing

#

Mean Curvature

● Intuition for mean curvature

11

Page 12: 2D/3D Shape Manipulation, 3D Printing

#

Classification

● A point p on the surface is called Elliptic, if K > 0 Parabolic, if K = 0 Hyperbolic, if K < 0 Umbilical, if

● Developable surface iff K = 0

12

Page 13: 2D/3D Shape Manipulation, 3D Printing

#

Local Surface Shape By Curvatures

Isotropic:all directions are principal directions

spherical (umbilical) planar

K > 0, 1= 2

Anisotropic:2 distinct principal directions

elliptic parabolic hyperbolic

2 > 0, 1 > 02 = 0

1 > 0

2 < 0

1 > 0

K > 0 K = 0 K < 0

K = 0

13

Page 14: 2D/3D Shape Manipulation, 3D Printing

#

Gauss-Bonnet Theorem

● For a closed surface M:

14

Page 15: 2D/3D Shape Manipulation, 3D Printing

#

Gauss-Bonnet Theorem

● For a closed surface M:

● Compare with planar curves:

15

Page 16: 2D/3D Shape Manipulation, 3D Printing

#

Fundamental Forms

• First fundamental form

• Second fundamental form

• Together, they define a surface (given some compatibility conditions)

16

Page 17: 2D/3D Shape Manipulation, 3D Printing

#

Fundamental Forms

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

– area element

17

Page 18: 2D/3D Shape Manipulation, 3D Printing

#

Intrinsic Geometry

• Properties of the surface that only depend on the first fundamental form– length– angles– Gaussian curvature (Theorema

Egregium)

18

Page 19: 2D/3D Shape Manipulation, 3D Printing

#

Laplace Operator

Laplaceoperator

gradientoperator

2nd partialderivatives

Cartesiancoordinatesdivergence

operatorfunction inEuclidean space

19

Page 20: 2D/3D Shape Manipulation, 3D Printing

#

Laplace-Beltrami Operator

● Extension of Laplace to functions on manifolds

Laplace-Beltrami

gradientoperator

divergenceoperator

function onsurface M

20

Page 21: 2D/3D Shape Manipulation, 3D Printing

#

Laplace-Beltrami Operator

mean curvature

unitsurfacenormal

Laplace-Beltrami

gradientoperator

divergenceoperator

function onsurface M

● For coordinate functions:

21

Page 22: 2D/3D Shape Manipulation, 3D Printing

#

Differential Geometry on Meshes

● Assumption: meshes are piecewise linear approximations of smooth surfaces

● Can try fitting a smooth surface locally (say, a polynomial) and find differential quantities analytically

● But: it is often too slow for interactive setting and error prone

22

Page 23: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Differential Operators

● Approach: approximate differential properties at point v as spatial average over local mesh neighborhood N(v) where typically v = mesh vertex Nk(v) = k-ring neighborhood

23

Page 24: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Laplace-Beltrami

● Uniform discretization: L(v) or ∆v

● Depends only on connectivity= simple and efficient

● Bad approximation for irregular triangulations

vi

vj

24

Page 25: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Laplace-Beltrami

● Intuition for uniform discretization

25

Page 26: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Laplace-Beltrami

● Intuition for uniform discretizationvi vi+1

vi-1

26

Page 27: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Laplace-Beltrami

vi

vj1 vj2

vj3

vj4vj5

vj6

● Intuition for uniform discretization

27

Page 28: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Laplace-Beltrami

● Cotangent formula

Aivi

vi

vj vj

ij

ij

vi

vj

28

Page 29: 2D/3D Shape Manipulation, 3D Printing

#

Voronoi Vertex Area

● Unfold the triangle flap onto the plane (without distortion)

29

θvi

vj

Page 30: 2D/3D Shape Manipulation, 3D Printing

#

Voronoi Vertex Area

θvi

cjvj

cj+1

30

Flattened flapvi

Page 31: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Laplace-Beltrami

● Cotangent formula

Accounts for mesh geometry

Potentially negative/infinite weights

31

Page 32: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Laplace-Beltrami

● Cotangent formula

Can be derived using linear Finite Elements

Nice property: gives zero for planar 1-rings!

32

Page 33: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Laplace-Beltrami

● Uniform Laplacian Lu(vi)● Cotangent Laplacian Lc(vi)

● Mean curvature normal

vi

vj

33

Page 34: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Laplace-Beltrami

vi

vj

● Uniform Laplacian Lu(vi)● Cotangent Laplacian Lc(vi)

● Mean curvature normal

● For nearly equal edge lengthsUniform ≈ Cotangent

34

Page 35: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Laplace-Beltrami

vi

vj

● Uniform Laplacian Lu(vi)● Cotangent Laplacian Lc(vi)

● Mean curvature normal

● For nearly equal edge lengthsUniform ≈ Cotangent

Cotan Laplacian allows computing discrete normal

35

Page 36: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Curvatures

● Mean curvature (sign defined according to normal)

● Gaussian curvature

● Principal curvatures

Ai

j

36

Page 37: 2D/3D Shape Manipulation, 3D Printing

#

Discrete Gauss-Bonnet Theorem

● Total Gaussian curvature is fixed for a given topology

37

Page 38: 2D/3D Shape Manipulation, 3D Printing

#

Example: Discrete Mean Curvature

38

Page 39: 2D/3D Shape Manipulation, 3D Printing

#

Links and Literature

● M. Meyer, M. Desbrun, P. Schroeder, A. BarrDiscrete Differential-Geometry Operators for Triangulated 2-Manifolds, VisMath, 2002

39

Page 40: 2D/3D Shape Manipulation, 3D Printing

#

● P. Alliez, Estimating Curvature Tensors on Triangle Meshes, Source Code

● http://www-sop.inria.fr/geometrica/team/Pierre.Alliez/demos/curvature/

principal directions

Links and Literature

40

Page 41: 2D/3D Shape Manipulation, 3D Printing

#

Measuring Surface Smoothness

41

Page 42: 2D/3D Shape Manipulation, 3D Printing

#

Links and Literature

● Grinspun et al.:Computing discrete shape operators on general meshes, Eurographics 2006

42

Page 43: 2D/3D Shape Manipulation, 3D Printing

#

Reflection Lines as an Inspection Tool

● Shape optimization using reflection lines

E. Tosun, Y. I. Gingold, J. Reisman, D. ZorinSymposium on Geometry Processing 2007

43

Page 44: 2D/3D Shape Manipulation, 3D Printing

#

● Shape optimization using reflection lines

E. Tosun, Y. I. Gingold, J. Reisman, D. ZorinSymposium on Geometry Processing 2007

Reflection Lines as an Inspection Tool

44

Page 45: 2D/3D Shape Manipulation, 3D Printing

Thank You