2D/3D Shape Manipulation, 3D Printing

Preview:

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

Discrete Differential GeometrySurfaces

2D/3D Shape Manipulation,3D Printing

CS 6501

Slides from Olga Sorkine, Eitan Grinspun

#

Surfaces, Parametric Form

● Continuous surface

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

n

p(u,v)pu

u

v

pv

2

#

Isoparametric Lines

● Lines on the surface when keeping one parameter fixed

u

v

3

#

Surface Normals

● Surface normal:

Assuming regular parameterization, i.e.,

n

p(u,v)pu

u

v

pv

4

#

Normal Curvature

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

t

n

p

pupv

t

Tangent plane

5

#

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

#

Surface Curvatures

● Principal curvatures Maximal curvature Minimal curvature

● Mean curvature

● Gaussian curvature

7

#

Principal Directions

● Principal directions:tangent vectorscorresponding to max and min

min curvature max curvature

tangent plane

t1 max

t2

8

#

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

Principal Directions

9

#

Principal Directions

10

#

Mean Curvature

● Intuition for mean curvature

11

#

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

#

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

#

Gauss-Bonnet Theorem

● For a closed surface M:

14

#

Gauss-Bonnet Theorem

● For a closed surface M:

● Compare with planar curves:

15

#

Fundamental Forms

• First fundamental form

• Second fundamental form

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

16

#

Fundamental Forms

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

– area element

17

#

Intrinsic Geometry

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

Egregium)

18

#

Laplace Operator

Laplaceoperator

gradientoperator

2nd partialderivatives

Cartesiancoordinatesdivergence

operatorfunction inEuclidean space

19

#

Laplace-Beltrami Operator

● Extension of Laplace to functions on manifolds

Laplace-Beltrami

gradientoperator

divergenceoperator

function onsurface M

20

#

Laplace-Beltrami Operator

mean curvature

unitsurfacenormal

Laplace-Beltrami

gradientoperator

divergenceoperator

function onsurface M

● For coordinate functions:

21

#

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

#

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

#

Discrete Laplace-Beltrami

● Uniform discretization: L(v) or ∆v

● Depends only on connectivity= simple and efficient

● Bad approximation for irregular triangulations

vi

vj

24

#

Discrete Laplace-Beltrami

● Intuition for uniform discretization

25

#

Discrete Laplace-Beltrami

● Intuition for uniform discretizationvi vi+1

vi-1

26

#

Discrete Laplace-Beltrami

vi

vj1 vj2

vj3

vj4vj5

vj6

● Intuition for uniform discretization

27

#

Discrete Laplace-Beltrami

● Cotangent formula

Aivi

vi

vj vj

ij

ij

vi

vj

28

#

Voronoi Vertex Area

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

29

θvi

vj

#

Voronoi Vertex Area

θvi

cjvj

cj+1

30

Flattened flapvi

#

Discrete Laplace-Beltrami

● Cotangent formula

Accounts for mesh geometry

Potentially negative/infinite weights

31

#

Discrete Laplace-Beltrami

● Cotangent formula

Can be derived using linear Finite Elements

Nice property: gives zero for planar 1-rings!

32

#

Discrete Laplace-Beltrami

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

● Mean curvature normal

vi

vj

33

#

Discrete Laplace-Beltrami

vi

vj

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

● Mean curvature normal

● For nearly equal edge lengthsUniform ≈ Cotangent

34

#

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

#

Discrete Curvatures

● Mean curvature (sign defined according to normal)

● Gaussian curvature

● Principal curvatures

Ai

j

36

#

Discrete Gauss-Bonnet Theorem

● Total Gaussian curvature is fixed for a given topology

37

#

Example: Discrete Mean Curvature

38

#

Links and Literature

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

39

#

● 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

#

Measuring Surface Smoothness

41

#

Links and Literature

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

42

#

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

#

● 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

Thank You

Recommended