PDE-based Geometric Modeling and Interactive Sculpting for - - PowerPoint PPT Presentation

pde based geometric modeling and interactive sculpting
SMART_READER_LITE
LIVE PREVIEW

PDE-based Geometric Modeling and Interactive Sculpting for - - PowerPoint PPT Presentation

PDE-based Geometric Modeling and Interactive Sculpting for Graphics Hong Qin Center for Visual Computing Department of Computer Science SUNY at Stony Brook Geometric Modeling Shape representations Geometric modeling techniques Geometric


slide-1
SLIDE 1

PDE-based Geometric Modeling and Interactive Sculpting for Graphics

Hong Qin

Center for Visual Computing Department of Computer Science SUNY at Stony Brook

slide-2
SLIDE 2

Geometric Modeling

Geometric modeling techniques Shape representations Geometric applications

slide-3
SLIDE 3

Background Review

  • Introduction to PDEs
  • PDE techniques and applications

Geometric modeling, visualization, simulation, animation, image processing, ……

  • Other modeling techniques

Free-form splines, implicit functions, physics- based techniques, medial axis extraction

slide-4
SLIDE 4

PDE Techniques and Applications

  • Elliptic PDEs for geometric modeling
  • Level set method
  • Diffusion equations
  • Other applications

– Simulation and animation – Image processing ……

slide-5
SLIDE 5

PDEs for Geometric Modeling

  • Geometric objects are defined by a set of

PDEs

  • PDE objects are controlled by a few

parameters

  • Powerful numerical techniques to solve

PDEs are available

  • PDE is related to energy optimization
  • PDE models can potentially unify geometric

and physical aspects

slide-6
SLIDE 6

Geometric Modeling

  • Shape representations

–Explicit model

  • Defines objects by positions
  • free-form splines, parametric PDE model, Subdivision

model, ……

–Implicit model

  • Defines objects by level set of scalar functions
  • CSG model, level-set model, splines,……
slide-7
SLIDE 7

Geometric Applications

  • Shape design
slide-8
SLIDE 8

Geometric Applications

  • Shape design
  • Object deformation
slide-9
SLIDE 9

Level Set Illustration

slide-10
SLIDE 10

Geometric Applications

  • Shape design
  • Object deformation
  • Model reconstruction
slide-11
SLIDE 11

Geometric Applications

  • Shape design
  • Object deformation
  • Model reconstruction
  • Shape blending ……
slide-12
SLIDE 12

A PDE Example

  • PDE (Partial Differential Equation)

– Order r – , g(u,v) : control functions – : unknown function of u,v

( ) ( )

) , ( , ,

, ,

v u g v u f v u v u

r n n m l m l m l n m l

= ∑ ∑ ∂ ∂ ∂

= = + ≥

α ( )

v u

m l

,

,

α

( )

v u f ,

slide-13
SLIDE 13

Related Work of Physics-based Modeling

[Terzopoulos et al. 87] [Terzopoulos and Fleisher 88] [Celniker and Gossard 91] [Qin and Terzopoulos 94, 96] [Koch et al. 96] [Mandal et al. 98, 99] [Dachille et al. 99] ……

slide-14
SLIDE 14

Background Summary

  • Geometric PDE techniques
  • Level set method
  • Diffusion equations with applications
  • PDE-based simulation and image

processing

  • Implicit models
  • Physics-based techniques
  • Medial axis extraction
slide-15
SLIDE 15

PDE Techniques for Graphics

  • Using differential properties
  • Various applications

– Image processing

[Bertalmio et al. 00]

slide-16
SLIDE 16

Image Inpainting

  • Inpainting:

– Modify images in an undetectable way – Damage recovery, selected area removal

  • Use gradient information, especially around

the boundary of selected regions

  • Propagate information from the surrounding

areas using certain PDEs of gradient vectors

slide-17
SLIDE 17

[Bertalmio et al.00]

slide-18
SLIDE 18

Modeling Fracture

  • [O’Brien and Hodgins99]
slide-19
SLIDE 19

Fluid Dynamics

  • Navier-Stokes equations

– u: velocity field – p: pressure field – ρ: density – v: kinematic viscosity of the fluid – f: external force –

( )

⎪ ⎩ ⎪ ⎨ ⎧ + ∇ + ∇ − ∇ ⋅ − = ∂ ∂ = ⋅ ∇ (b) 1 (a)

2

f u p u u u u v t ρ

( ) ( )

z y x y x ∂ ∂ ∂ ∂ ∂ ∂ = ∇ ∂ ∂ ∂ ∂ = ∇ , , , ,

slide-20
SLIDE 20

Applications of Fluid Dynamics

  • Gas simulation
  • Water simulation
  • Explosions
  • Nature texturing

……

slide-21
SLIDE 21

Simulating Gaseous Phenomena

[Foster and Metaxas97b]

slide-22
SLIDE 22

Animating Explosions

[Yngve et al.00]

slide-23
SLIDE 23

PDE Techniques for Graphics

  • Using differential properties
  • Various applications

– Image processing – Simulation – Visualization – Geometric modeling

[Schneider and Kobbelt 00]

slide-24
SLIDE 24

αj

pi

Surface Fairing

  • Curvature flow

− + Α =

j j i j j

) )( cot (cot 4 1 p p n β α κ

pj

βj

n x κ − = &

slide-25
SLIDE 25

PDE Approach for Surface Fairing

  • PDE approach can solve the fairing problem

directly

  • Fairing based on geometric invariants
  • Construct surfaces based on discrete data

with subdivision connectivity of regular patches

= Δ H

B

( ) ( )

2 2 2 2 2 2 2

, 1 , 1 Δ = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ = Δ v u v u v u

B

λ λ

slide-26
SLIDE 26

Surface Fairing

  • Taubin
  • Membrane or thin-plate energy
slide-27
SLIDE 27

Outline

  • Motivation and contributions
  • Related work
  • PDE-based geometric modeling system

– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation

  • Conclusion
slide-28
SLIDE 28

Outline

  • Motivation and contributions
  • Related work
  • PDE-based geometric modeling system

– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation

  • Conclusion
slide-29
SLIDE 29

Motivation: Why PDE Techniques?

  • Formulate natural physical process
  • Satisfy continuity requirements
  • Minimize energy functionals
  • Define objects using boundary information
  • Provide intuitive and natural control
  • Unify geometric and physical attributes
  • Employ powerful numerical techniques
slide-30
SLIDE 30

Motivation: Limitations of Prior Work

  • Indirect manipulation for PDE objects
  • Limit constraints for geometric PDE objects
  • Lack of local control for regional shape sculpting
  • No intuitive manipulation with physical properties
  • Limitations of acceptable shape representations

for PDE models

  • Lack of integration framework of different types of

PDEs

  • Limit applications of geometric PDE modeling

system

slide-31
SLIDE 31

Motivation: A General PDE Framework

  • General modeling framework for geometric
  • bjects of different data formats
  • Direct manipulation and interactive sculpting

with global/local control

  • Integration of physical properties for realistic

modeling

  • Comprehensive toolkits for various modeling

functionalities

Design, reconstruction, abstraction, manipulation ……

slide-32
SLIDE 32

Applications:

Contributions: Overview

…… Morphing Model Abstraction Shape Sculpting Object Reconstruction Shape Design

PDE-based Geometric Modeling System

Modeling Representations and Techniques: Free-form Solids Dynamic Model Implicit Functions Arbitrary Meshes Parametric Surfaces

slide-33
SLIDE 33

Contributions: System Functions

  • PDE-based geometric modeling system

– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit PDE shape design and manipulation – PDE-based free-form modeling and deformation

slide-34
SLIDE 34

Contributions: System Components

PDE-based Geometric Modeling System

Physics- based PDE Surfaces Free-Form PDE Modeling with Intensity Implicit PDE Model Arbitrary PDE Meshes Iso-Surface Extraction Scattered Datasets Intensity Distribution Boundary Surface Sculpting Embedded Datasets

slide-35
SLIDE 35

Outline

  • Motivation and contributions
  • Related work
  • PDE-based geometric modeling system

– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation

  • Conclusion
slide-36
SLIDE 36

Another Classification of PDEs

  • Initial value problem

– Given information at , the solution will propagate forward in time

  • Boundary value problem

– Given boundary information of the region

  • f interest of variables

– Solution will be a static function within the region

t

slide-37
SLIDE 37

PDE types Hyperbolic PDE Parabolic PDE Elliptic PDE Initial value problem Wave equation Diffusion equation Boundary value problem Poisson equation

Summary of PDE Classifications

  • Poisson equation:

Geometric modeling, image processing……

  • Diffusion equation:

Texture synthesis, image processing, ……

  • Wave equation:

Fluid simulation, nature texturing, ……

slide-38
SLIDE 38

PDE-based Geometric Modeling

  • PDE surfaces and solids:

– Blending problem [Bloor and Wilson 89] – Free-form surfaces [Bloor and Wilson 90b] – B-spline approximation [Bloor and Wilson 90a] – Functionality design [Lowe et al. 90] – PDE solids [Bloor and Wilson 93] – Interactive design [Ugail et al. 99]

  • Variational models:

Surface fairing [Schneider and Kobbelt 00]

……

slide-39
SLIDE 39

PDE Surfaces and Solids

( )

,

2 2 2 2 2 2

X = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ v u v a u

( )

, ,

2 2 2 2 2 2

X = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + ∂ ∂ w v u w v u

  • PDE surface formulation
  • PDE solid formulation

Biharmonic equation if a=1

slide-40
SLIDE 40

Level Set Method

  • Originally defined for front propagation
  • Prior work of level set method

– Front propagation

[Osher and Sethian88], [Adalsteinsson and Sethian95]

– Shape reconstruction

[Zhao et al.00], [Zhao et al.01]

– Shape transformation

[Breen and Whitaker01]

– Shape modeling and editing

[Barentzen and Christensen02], [Museth et al.02] [SIGGRAPH’02 Course Notes 10]

……

}. ) , ( | { : set level

  • zero

the is front Moving ; to from distance the is ) ( ), ( ) , ( function; speed the is , = = Γ Γ ± = = = ∇ − t x x x x d x d t x F F

t t

φ φ φ φ

slide-41
SLIDE 41

Classification of PDEs

  • 3 types of PDEs based on characteristics

– B²-AC>0: hyperbolic

  • Wave equation

– B²-AC=0: parabolic

  • Diffusion equation

– B²-AC<0: elliptic

  • Poisson equation

2 2 2 2 2

x u v t u ∂ ∂ = ∂ ∂ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ∂ ∂ ∂ ∂ = ∂ ∂ x u D x t u

( )

y x y u x u ,

2 2 2 2

ρ = ∂ ∂ + ∂ ∂

G Fu y u E x u D y u C y x u B x u A = + ∂ ∂ + ∂ ∂ + ∂ ∂ + ∂ ∂ ∂ + ∂ ∂

2 2 2 2 2

2

slide-42
SLIDE 42

Shape Reconstruction Using Level Set Method

[Zhao et al.00]

slide-43
SLIDE 43

Shape Morphing Using Level Set Method

[Breen and Whitaker 01]

slide-44
SLIDE 44

Diffusion Equations

  • Reaction-diffusion textures

[Witkin and Kass91], [Turk91]

  • Tensor field visualization

[Kindlmann et al.00]

  • Vector field visualization

[Diewald et al.00]

  • Image processing

Image enhancement, filtering,……

slide-45
SLIDE 45

Reaction-Diffusion Texture

  • Synthesizing natural textures
  • Reaction-diffusion system

– Diffusion of morphogens – Nonlinear PDEs – Biological patterns

slide-46
SLIDE 46

Reaction-Diffusion Equation

  • Diffusion, dissipation, reaction
  • Reaction-diffusion equation:

function. reaction the is n, dissipatio for constant rate the is diffusion, for constant rate the is , ,

  • f

derivative time the is ,

2 2 2 2 2 2 2

R b a y C x C C C C R bC C a C ∂ ∂ + ∂ ∂ = ∇ + − ∇ = & &

slide-47
SLIDE 47

By type: Isotropic, multi-orientation, and diffusion mapped 1.reptile, giraffe, coral, scalloped. 2.spiral, triweave, twisty maze, repli- cation, purple thing 3.sand, maze, zebra haunch, radial 4.space giraffe, zebra, stucco, beats us, weave

Reaction-diffusion texture buttons

[Witkin and Kass 91]

slide-48
SLIDE 48

Vector Field Visualization

Different time steps

  • f the anisotropic

diffusion for both principal curvature directions

[Diewald et al. 00]

slide-49
SLIDE 49

Other Applications of PDEs

  • Modeling fracture

[O’Brien and Hodgins99], [O’Brien00]

  • Simulating gas

[Foster and Metaxas97b]

  • Water simulation

[Kass and Miller90], [Foster and Metaxas96,97a], [Stam99]

  • Modeling explosion

[Yngve et al.00]

  • Image processing

[Bertalmio et al.00], [Pérez et al.03]

…….

slide-50
SLIDE 50

Implicit Model

  • Implicit surfaces and solids:

{(x,y,z)| f(x,y,z)=c}, {(x,y,z)| f(x,y,z)≤ c}

  • Techniques to model implicit objects

– Particle based implicit surface sculpting

[Witkin and Heckbert 94]

– Trivariate B-splines for implicit models

[Raviv and Elber 99], [Hua and Qin01,02]

– Level set method

[Zhao et al.00,01]

– Variational implicit functions

[Turk and O’Brien 99,02], [Morse et al.01]

…….

slide-51
SLIDE 51

Example of Implicit Models

[Turk and O’Brien02]

slide-52
SLIDE 52

Physics-based Modeling

  • Combines physical properties with geometric

models

  • Leads to deformable models
  • Allows direct manipulation of objects via

forces

  • Creates natural-looking motions through

simulation

  • Can be integrated with general PDE

framework

slide-53
SLIDE 53

Deformable Models

  • Controlled by Lagrangian equations of

motion

– r (a,t): position of particle a at time t – μ (a): mass density of the body at a – γ (a): damping density – f (r, t): external force – ε (r): measures the potential energy of the elastic deformation of the body

( )

t t t , ) ( t r f r r r r = ∂ + ∂ ∂ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ∂ ∂ ∂ ∂ δε γ μ

slide-54
SLIDE 54

Discretized Mass-Spring Model

  • M: mass matrix
  • D: damping matrix
  • K: stiffness matrix
  • f: external force
  • p: discrete sample points

f Kp p D p M = + + & & &

slide-55
SLIDE 55

Applications of Physics-based Modeling

  • Dynamics NURBS (DNURBS)

[Qin and Terzopoulos 94, 95, 96]

  • Physics-based subdivision

[Mandal et al. 98, 99], [McDonnell et al. 00, 01]

  • Cloth simulation and animation

[Carignan et al. 92], [Baraff and Witkin 98]

  • Facial simulation

[Lee et al. 95], [Koch et al. 96]

  • Physics-based implicit functions

[Jing and Qin 01,02]

……

slide-56
SLIDE 56

Medial Axis Extraction

  • Locus of all centers
  • f circles/spheres

inside the object

  • Collection of points

with more than one closest points on the boundary

  • Set of singularities
  • f signed distance

function from boundary

slide-57
SLIDE 57

Medial Axis Extraction Techniques

  • Thinning

[Arcelli and Baja85][Lee and kashyap94][Manzanera etal.99]

  • Distance functions

[Arcelli and Baja92][Leymarie and Levine92][Bitter et al.01]

  • Voronoi skeletons

[Goldak et al.91][Ognievicz93][Amenta et al.01]

  • Level set method

[Kimmel et al.95][Ma et al.03]

  • Direction testing

[Bloomenthal and Lim99]

  • Hybrid techniques

[Bouix and Siddiqi00]

slide-58
SLIDE 58

Outline

  • Motivation and contributions
  • Related work
  • PDE-based geometric modeling system

– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation

  • Conclusion
slide-59
SLIDE 59

Outline

  • Motivation and contributions
  • Background review
  • PDE-based geometric modeling system

– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation

  • Conclusion
slide-60
SLIDE 60

System Outline

PDE-based Geometric Modeling System

Physics- based PDE Surfaces Free-Form PDE Modeling with Intensity Implicit PDE Model Arbitrary PDE Meshes Boundary Surface Sculpting Iso-Surface Extraction Embedded Datasets Scattered Datasets Intensity Distribution

slide-61
SLIDE 61

PDE Surfaces

  • PDE surface formulation:

– a(u,v): blending coefficient function controlling the contributions of the parametric directions

( ) ( ) ( ) [

]

T 2 2 2 2 2 2

) , ( ) , ( ) , ( , , , v u z v u y v u x v u v u v v u a u = = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ X X

slide-62
SLIDE 62

PDE Surface Displacements

  • Displacements
  • PDE surface displacement formulation:

( ) ( ) ( )

O O X X = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + = v u v v u a u v u v u v u , , , , ) , ( ) , (

2 2 2 2 2 2

slide-63
SLIDE 63

Finite Difference Method

  • Divides the working space into discrete grids
slide-64
SLIDE 64

Finite Difference Method

  • Divides the working space into discrete grids
  • Samples the PDE at grid points with

discretized approximations

2 2 , 1 , 1 , , 1 , 1 1 , 1 1 , 1 1 , 1 1 , 1 2 2 , 4 4 , 1 , 1 , 2 , 2 , 4 , 4 4 , , 1 , 1 , 2 , 2 4 , 4

4 ) ( 2 , 6 4 4 , 6 4 4 v u v u v v u u

j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i

Δ Δ + + + + − + + + = ∂ ∂ Δ + − − + = ∂ ∂ Δ + − − + = ∂ ∂

+ − + − + + + − − + − − + − + − + − + −

X X X X X X X X X X X X X X X X X X X X X X

, 2 2 2 2 , 2 2

= ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂

j i j i

v a u X

slide-65
SLIDE 65

Finite Difference Method

  • Divides the working space into discrete grids
  • Samples the PDE at grid points with

discretized approximations

  • Forms a set of algebraic equations
  • Enforcing additional constraints
  • Physics-based discrete PDE model:

z HX =

c c

z X H =

c c

z f )X H (K X D X M + = + + + & & &

slide-66
SLIDE 66

Discretized Approximations

  • Displacement model:
  • Iterative techniques and multi-grid algorithm

to improve the performance

  • Easy for local control

O X X z O H + = =

c c

slide-67
SLIDE 67

Flexible Boundary Conditions

  • Generalized boundary conditions

where and , and and are isoparametric curves – Hermite-like boundary constraints – Coons-like boundary constraints – Gordon-like boundary constraints

) ( g ) , ( ) ( f ) , ( u v u v v u

j j i i

= = X X

1 ≤ ≤

i

u 1 ≤ ≤

j

v

( )

v

i

f

( ) u

j

g

slide-68
SLIDE 68

Hermite-like Boundary Constraints

Boundary curves Derivative curves

slide-69
SLIDE 69

Coons-like Boundary Constraints

u=0 u=1 v=1 v=0

slide-70
SLIDE 70

Gordon-like Boundary Constraints

u=0 v=0.5 v=0.75 v=0.25 v=0

slide-71
SLIDE 71

Joining Multiple PDE Surfaces

  • Boundary curves:
  • Three connected

surfaces:

slide-72
SLIDE 72

PDE Surface Manipulations

  • Boundary sculpting
  • Blending coefficient control
  • Direct manipulation

– Point based sculpting: position, normal, curvature – Curve deformation – Region manipulation

  • Displacement deformation
slide-73
SLIDE 73

Boundary Curve Sculpting

slide-74
SLIDE 74

Effect of a(u,v)

  • The value of at each can be

changed interactively.

( )

j i v

u a ,

( )

j i v

u ,

  • a(u,v)=3.1
  • a(u,v)=5.2 at

yellow part

  • a(u,v)=5.2
slide-75
SLIDE 75

Point-based Manipulation

c c j i

z X H z HX p X = ⇒ = ⇒ =

,

slide-76
SLIDE 76

Curve and Region Sculpting

slide-77
SLIDE 77

Local Sculpting

slide-78
SLIDE 78

Curve Editing

  • 1. Select an arbitrary source curve on the

PDE surface by picking points on the u-v domain;

  • 2. Define a cubic B-spline curve with desired

shape as the destination curve;

  • 3. Map the source curve to the shape of the

destination curve, i.e. put the constraints into the system;

  • 4. Solve the constrained equations to get the

new surface.

slide-79
SLIDE 79

Curve Editing

slide-80
SLIDE 80

Region Sculpting

  • 1. Select an area on the PDE surface;
  • 2. Define a cubic B-spline patch with the

same number of sample points of the source region;

  • 3. Map the source region to the shape of the

destination patch, i.e. put those constraints into the linear equation system;

  • 4. Solve the constrained equations to get the

new surface.

slide-81
SLIDE 81

Region Sculpting

slide-82
SLIDE 82

Interface of PDE Surfaces

slide-83
SLIDE 83

Point Editing on Displacements

slide-84
SLIDE 84

Displacement Curve and Region Sculpting

slide-85
SLIDE 85

B-spline Approximation

  • B-spline surfaces
  • Obtain B-spline control mesh from PDE

surfaces

  • B-spline approximation for dynamic models

∑∑

= =

=

k i l j j i d j c i

v B u B v u

1 1 , , ,

) ( ) ( ) , ( p X

X B BP B X BP

Τ Τ

= =

slide-86
SLIDE 86

B-Spline Formulation

  • B-Spline curve and surface:
  • B-Spline basis function:

Knots sequence:

( )

∑ =

i n i i

u N u d s ) ( ( )

[ ) [ ) ( ) ( ) ( ) ( )

⎪ ⎪ ⎪ ⎩ ⎪ ⎪ ⎪ ⎨ ⎧ > − − + − − ∉ = ∈ = =

+ + + − + + + + − + +

, ; , and if , ; , and if , 1

1 1 1 1 1 1 1 1

r u u u N u u u u u N u u u u u r u u u r u N

i r i r i r i i r i r i i i i i i r i

( ) ( )

∑ ∑ =

i j m j n i j i

v N u N v u

,

) , ( d s

[ ]

L , ,

1 0 u

u

slide-87
SLIDE 87

NURBS Formulation

( ) ( )

∑ ∑ =

= = n i p i i n i p i i i

u N w u N w u ) ( P C

( ) ( ) ( ) ( )

∑ ∑ ∑ ∑ =

= = = = n i m j q j p i j i n i m j q j p i j i j i

v N u N w v N u N w v u

, , ,

) , ( P S

Weights:

j i i w

w

,

,

slide-88
SLIDE 88

Free-Form Splines

  • Piecewise polynomials with certain

differentiability constraints

  • Local control and extra DOF for

manipulation

  • NURBS

– Non-Uniform Rational B-Splines – Industrial standard

slide-89
SLIDE 89

Pros and Cons of NURBS

  • Model both analytic

and free-form shapes

  • Local control
  • Clear geometric

interpretations

  • Smooth objects
  • Powerful modeling

toolkits

  • Invariant under various

manipulations

  • Extra storage for

traditional objects

  • Too many degrees of

freedom

  • Difficult to model

intersection,

  • verlapping
  • Less natural and

counter-intuitive

  • Strong mathematics
  • Difficult for arbitrary

topology

slide-90
SLIDE 90

Examples of B-spline Approximation

slide-91
SLIDE 91

Physics-based PDE Surfaces

  • Physics-based PDE surface and

displacement model

  • Flexible boundary conditions
  • Global manipulations

Joining multiple surfaces, boundary sculpting

  • Direct local sculpting

Coefficient control, point, curve, region sculpting, displacement manipulation, material property modification

  • B-spline approximation
slide-92
SLIDE 92

System Outline

PDE-based Geometric Modeling System

Physics- based PDE Surfaces Free-Form PDE Modeling with Intensity Implicit PDE Model Arbitrary PDE Meshes Boundary Surface Sculpting Iso-Surface Extraction Embedded Datasets Scattered Datasets Intensity Distribution

slide-93
SLIDE 93

Outline

  • Motivation and contributions
  • Background review
  • PDE-based geometric modeling system

– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation

  • Conclusion
slide-94
SLIDE 94

Interface

slide-95
SLIDE 95

PDE-based Arbitrary Mesh Model

  • Traditional PDE surfaces

– Defined on regular domain – Difficult to model arbitrary topological surfaces

  • Polygonal meshes

– Define surfaces as collection of points and their relations – Shape of arbitrary topology

  • Goal: use PDE techniques to model

arbitrary polygonal meshes

slide-96
SLIDE 96

PDE Approximation of Arbitrary Meshes

  • Umbrella operator for discrete Laplacian:
  • Approximating formulations:

, 1

) ( 2

1

− ≈ ∇

i N j i j i

n p p p

( )

∑ ∈

− ≈ ∇

) ( , 2

1

2

i N j j i i j i

e E p p p

∇ − ∇ ≈ ∇ ∇ = ∇ = ∇ = ∇

) ( 2 2 2 2 4 4 2

1

1 ) ( ,

i N j i j i i

n p p p p F p F p

slide-97
SLIDE 97

Direct Manipulation of Arbitrary Meshes

  • Take input meshes as general constraints
  • Use umbrella operators to approximate the

PDEs

  • Point-based manipulation for shape

deformation

  • Local control by selecting regions of

interests

  • Possible to integrate with subdivision

models

slide-98
SLIDE 98

Direct Manipulation of Arbitrary Meshes

slide-99
SLIDE 99

PDE-based Medial Axis Extraction

  • Compact representation of arbitrary

polygonal meshes

  • Diffusion-based equations to simulate

grassfire process

  • Approximates medial axes for manipulation

purposes

  • Facilitates skeleton-based shape sculpting

for arbitrary meshes

slide-100
SLIDE 100

Formulations

  • Diffusion-based PDE
  • Normal approximation
  • Gaussian curvature approximation

S N D p S

2

) , ( ) , ( ∇ = ∂ ∂ κ t t

∑ ∑

− = − =

× = × =

1 1 2 1

2 sin 2 cos

n j j n j j i

n j n j p p t t N π π

∑ ∑ ∑ ∑

− = − = − = − =

− = − =

1 1 1 1

3 1 , 3 1 2

n j j n j j i n j j n j j i

A A φ π κ φ π κ

slide-101
SLIDE 101

Medial Axis Extraction Algorithm

  • Initialization

– Approximate surface normal and other differential properties

  • Skeletonization

– Compute evolving surface – Collision detection to find skeletal points – Surface optimization

  • User interaction

– User-defined skeleton, local skeletonization

slide-102
SLIDE 102

Progressive Medial Axis Extraction

slide-103
SLIDE 103

Local Region Skeletonization

slide-104
SLIDE 104

User-defined Skeleton

slide-105
SLIDE 105

Skeleton-based Sculpting

slide-106
SLIDE 106

Skeleton-based Sculpting

slide-107
SLIDE 107

Curvature Manipulation

slide-108
SLIDE 108

PDE-based Arbitrary Mesh Modeling

  • Direct manipulation on polygonal meshes
  • Diffusion-based medial axis extraction

– Progressive visualization – User interaction – Local region skeletonization

  • Skeleton-based shape manipulation
slide-109
SLIDE 109

Outline

  • Motivation and contributions
  • Background review
  • PDE-based geometric modeling system

– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation

  • Conclusion
slide-110
SLIDE 110

Implicit PDE Modeling

  • Implicit elliptic PDE formulation
  • General boundary constraints
  • Radial Basis Function (RBF) for initial guess
  • Direct manipulation in the implicit working

space

  • Interactive sculpting of implicit PDE objects
slide-111
SLIDE 111

RBF Method (1)

  • RBF: Radial Basis Function
  • Solving interpolation problems by

minimizing thin-plate energy in 3D

  • Basis function:
  • Interpolation function:

∫∫ + + dxdy f f f

yy xy xx 2 2 2

2

( )

3

x x = φ

) ( ) ( ) (

1

x c x x P w f

k j j j

+ − = ∑

=

φ

slide-112
SLIDE 112

RBF Method (2)

  • Interpolation constraints:
  • Linear equation system:

) ( ) ( ) (

1 i k j j i j i i

P w f h c c c c + − = =

=

φ

⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ = ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ ... ... ... 1 ... 1 1 1 ... 1 ... 1 ...

2 1 3 2 1 2 1 2 1 2 1 2 1 2 1 2 2 2 2 22 21 1 1 1 1 12 11 k k z k z z y k y y x k x x z k y k x k kk k k z y x k z y x k

h h h p p p p w w w c c c c c c c c c c c c c c c c c c M M M M M M M O M M φ φ φ φ φ φ φ φ φ

slide-113
SLIDE 113

Interface of Implicit PDE Model

slide-114
SLIDE 114

Blending Coefficient Manipulation

slide-115
SLIDE 115

System Outline

PDE-based Geometric Modeling System

Physics- based PDE Surfaces Free-Form PDE Modeling with Intensity Implicit PDE Model Arbitrary PDE Meshes Boundary Surface Sculpting Iso-Surface Extraction Embedded Datasets Scattered Datasets Intensity Distribution

slide-116
SLIDE 116

Implicit PDE Model

  • Implicit PDE formulations:
  • Generalized boundary constraints

– Initial guess

  • RBF (Radial Basis Function) interpolation
  • Distance field approximation

– Smoothing

( ) ( ) ( ) ( )

, , , , , , , ,

2 2 2 2 2 2 2 2 2 2

= ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + ∂ ∂ z y x d z z y x c y z y x b x z y x a

( ) ( ) ( ) ( )

, , , , , , , ,

2 2 2 2 2 2 2 2 2

= ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + ∂ ∂ z y x d z z y x c y z y x b x z y x a

slide-117
SLIDE 117

Boundary Constraints for Implicit PDE

  • Traditional boundary conditions (cross-

sectional constraints)

  • Boundary constraints for shape blending
  • Arbitrary sketch curves

– Initial guess: variational interpolation (RBF)

  • Unorganized scattered data points

– Initial guess: distance field approximation

slide-118
SLIDE 118

Traditional Boundary Conditions

slide-119
SLIDE 119

Traditional Boundary Conditions

slide-120
SLIDE 120

Boundary Constraints for Shape Blending

slide-121
SLIDE 121

Boundary Conditions of Sketch Curves

slide-122
SLIDE 122

Local RBF Method for Complex Model

slide-123
SLIDE 123

Boundary Conditions of Scattered Points

slide-124
SLIDE 124

Manipulation of Implicit PDE Objects

  • Sketch curve sculpting

– Shape, intensity, and gradient directions

  • Blending control coefficient manipulation
  • Direct manipulations

– Iso-contour – Region intensity – CSG tools – Gradient sculpting – Curvature manipulation

slide-125
SLIDE 125

Sculpting of Sketch Curves

slide-126
SLIDE 126

Changing Gradient Directions

slide-127
SLIDE 127

Direct Intensity Manipulations

slide-128
SLIDE 128

Direct CSG Manipulations

slide-129
SLIDE 129

Gradient and Curvature Approximation

  • Gradient approximation
  • Curvature approximation

Mean curvature:

) 2 , 2 , 2 ( ) , , (

1 , , 1 , , , 1 , , 1 , , , 1 , , 1

z d d y d d x d d z y x d

k j i k j i k j i k j i k j i k j i

Δ − Δ − Δ − ≈ ∇

− + − + − +

) , , ( z y x d ∇ ⋅ ∇

slide-130
SLIDE 130

Gradient Manipulations

slide-131
SLIDE 131

Curvature Manipulations

slide-132
SLIDE 132

Summary of Implicit PDE Modeling

  • General boundary constraints for shape

design, reconstruction, blending, and recovery

  • RBF method or distance field approximation

for initial guess with generalized constraints

  • Manipulation of implicit PDE objects

– Sketch curve sculpting – Blending coefficient manipulation – Direct manipulation of implicit objects

slide-133
SLIDE 133

Outline

  • Motivation and contributions
  • Background review
  • PDE-based geometric modeling system

– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation

  • Conclusion
slide-134
SLIDE 134

Free-Form PDE Modeling and Deformation

  • Formulations

– Geometry – Intensity Integration

  • Boundary constraints and manipulations
  • Direct sculpting of PDE solid geometry
  • Intensity-based free-form modeling and

deformation

slide-135
SLIDE 135

Interface of PDE Solids

slide-136
SLIDE 136

Numerical Techniques

  • Spectral approximation
  • Finite-element method (FEM)
  • Finite-difference method (FDM)
  • Solving linear equation system

– Iterative method – Multi-grid improvement

slide-137
SLIDE 137

Finite Element Method

  • Approximate the infinite problem by

interpolation functions over sub-domains

– Discretize the domain into sub-domains – Select the interpolation functions – Formulate the system of equations – Solve the equations for coefficients of the interpolation to approximate the solution

slide-138
SLIDE 138

Typical Finite Elements

slide-139
SLIDE 139

Finite Difference Method

  • Divides the working space into discrete grids
  • Samples the PDE at grid points with

discretized approximations

  • Forms a set of algebraic equations
  • Uses iterative techniques and multi-grid

algorithm to improve the performance

slide-140
SLIDE 140

Working Space Discretization

slide-141
SLIDE 141

Difference Equation Approximation

2 2 , 1 , 1 , , 1 , 1 1 , 1 1 , 1 1 , 1 1 , 1 2 2 , 4 4 , 1 , 1 , 2 , 2 , 4 , 4 4 , , 1 , 1 , 2 , 2 4 , 4

4 2 2 2 2 , 6 4 4 , 6 4 4 v u f f f f f f f f f v u f v f f f f f v f u f f f f f u f

j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i j i

Δ Δ + − − − − + + + = ∂ ∂ Δ + − − + = ∂ ∂ Δ + − − + = ∂ ∂

+ − + − + + + − − + − − + − + − + − + −

slide-142
SLIDE 142

Finite Difference Method

  • Simple and easy for implementation
  • Allows flexible and generalized boundary

conditions and additional constraints

  • Enables local control and direct

manipulation

  • Guarantees an approximate solution
  • Time performance depends on resolution of

discretization of working space

slide-143
SLIDE 143

Solving Linear Equations

  • Iterative methods

– Gauss-Seidel iteration – SOR iteration

  • Difference between approximation and the real

solution

  • Multi-grid method improvement

– Starting from coarsest grids, linear interpolating the coarse solution to get initial guess of finer resolution

( ) ( )

b X A X A b X A X A A A A b AX + = + = − = =

−1

, ,

n r n d r d r d

slide-144
SLIDE 144

System Outline

PDE-based Geometric Modeling System

Physics- based PDE Surfaces Free-Form PDE Modeling with Intensity Implicit PDE Model Arbitrary PDE Meshes Boundary Surface Sculpting Iso-Surface Extraction Embedded Datasets Scattered Datasets Intensity Distribution

slide-145
SLIDE 145

Free-Form PDE Solid Geometry

  • PDE formulation:
  • Free-form deformation for explicit model:

( ) ( ) ( ) ( )

, , , , , , , ,

2 2 2 2 2 2 2 2 2 2

X = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + ∂ ∂ w v u w w v u c v w v u b u w v u a

slide-146
SLIDE 146

Free-Form PDE Solid Geometry

  • Boundary conditions:

– Surfaces: – Curve network:

( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )

, 1 , , , , , , , , , 1 , , , , , , , , , 1 , , , ,

1 1 1

v u v u v u v u w u w u w u w u w v w v w v w v W X W X V X V X U X U X = = = = = =

( )

( ) { } { } ( ) ( ) { } { } ( ) ( ) { } { }

1 ,

  • r

1 , , , , ; 1 ,

  • r

1 , , , , ; 1 ,

  • r

1 , , , , ∈ ∈ = ∈ ∈ = ∈ ∈ =

s r rs s r l k kl l k j i ij j i

v u w w v u w u v w v u w v u w v u W X V X U X

slide-147
SLIDE 147

PDE Solid from Boundary Surfaces

Boundary surfaces

v w u

Corresponding PDE solid

slide-148
SLIDE 148

Corresponding PDE solid Boundary surfaces

v w u

PDE Solid from Boundary Surfaces

slide-149
SLIDE 149

PDE Solids from Boundary Curves

w u v w u v

slide-150
SLIDE 150

Boundary Surface Sculpting

Curve editing on the boundary surface of u=1

slide-151
SLIDE 151

Direct Manipulation of PDE Solids

Modifying selected regions on an embedded dataset

slide-152
SLIDE 152

Direct Manipulation of PDE Solids

Directly moving a point on an embedded dataset

slide-153
SLIDE 153

Geometric Free-Form Deformation

From a PDE solid cube From a PDE solid sphere

slide-154
SLIDE 154

Integrating Intensity Attributes

  • Formulation:

( ) ( ) ( ) ( ) ( ) ( )

) , , ( ) , , ( , , , ) , , ( ) , , ( , , , , , , , , , , ,

x 2 2 2 2 2 2 2 2 2 2

⎥ ⎦ ⎤ ⎢ ⎣ ⎡ = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ = = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ ∂ ∂ + ∂ ∂ + ∂ ∂ w v u a w v u a w v u w v u d w v u w v u w v u w w v u v w v u u w v u

d

a X P P c b a

slide-155
SLIDE 155

Intensity Initialization

slide-156
SLIDE 156

Intensity Initialization

slide-157
SLIDE 157

Arbitrary Shape Blending

slide-158
SLIDE 158

Arbitrary Shape Blending

slide-159
SLIDE 159

Iso-surface Deformation

slide-160
SLIDE 160

Intensity Field Modification

slide-161
SLIDE 161

Intensity Field Modification

slide-162
SLIDE 162

Free-Form PDE Modeling Summary

  • Boundary surfaces or curve network as boundary

constraints

  • Boundary surfaces manipulation for solid

deformation

  • Free-form deformation for embedded datasets
  • Sculpting toolkits for direction manipulation
  • Integrating with implicit PDE for more general

modeling

– Arbitrary shape blending based on intensity – Intensity-based shape manipulation and deformation

slide-163
SLIDE 163

Outline

  • Motivation and contributions
  • Related work
  • PDE-based geometric modeling system

– Physics-based PDE surfaces/displacements – PDE-based arbitrary mesh modeling – Implicit elliptic PDE model – PDE-based free-form modeling and deformation

  • Conclusion
slide-164
SLIDE 164

Conclusion

  • Integrated PDE modeling system for parametric
  • bjects, arbitrary meshes, and implicit models
  • Incorporation of popular geometric modeling

techniques and representations

  • Information recovery from partial input
  • Physical properties for dynamic behavior
  • Various modeling toolkits for direct manipulation

and interactive sculpting

  • Shape design, recovery, abstraction, and

modification in a single framework

slide-165
SLIDE 165

Future Work

  • Geometric modeling

– Shape design, morphing, reconstruction

  • Image processing and medical imaging

– Enhancement, denoising, medical data reconstruction

  • Simulation and animation

– Natural phenomena simulation, medical simulation

slide-166
SLIDE 166

Related Publications

  • Haixia Du and Hong Qin. Dynamic PDE-Based Surface Design Using Geometric

and Physical Constraints. Accepted by Graphical Models, 2003.

  • Haixia Du and Hong Qin. A Shape Design System Using Volumetric Implicit PDEs.

Accepted by CAD Special Issue of the ACM Symposium on Solid Modeling and Applications, 2003.

  • Haixia Du and Hong Qin. PDE-based Free-Form Deformation of Solid Objects. In

preparation for journal submission, 2004.

  • Haixia Du and Hong Qin. PDE-based Skeletonization and Propagation for Abitrary

Topological Shapes. In preparation for journal submission, 2004.

  • Haixia Du and Hong Qin. Medial Axis Extraction and Shape Manipulation of Solid

Objects Using Parabolic PDEs. Accepted by The Nineth ACM Symposium on Solid Modeling and Applications 2004.

  • Haixia Du and Hong Qin. Interactive Shape Design Using Volumetric Implicit
  • PDEs. In Proceedings of The Eighth ACM Symposium on Solid Modeling and

Applications 2003, p235-246.

  • Haixia Du and Hong Qin. Integrating Physics-based Modeling with PDE Solids for

Geometric Design. In Proceedings of Pacific Graphics 2001, p198-207.

  • Haixia Du and Hong Qin. Dynamic PDE Surfaces with Flexible and General
  • Constraints. In Proceedings of Pacific Graphics 2000, p213-222,
  • Haixia Du and Hong Qin. Direct Manipulation and Interactive Sculpting of PDE
  • Surfaces. In Proceedings of EuroGraphics 2000, pC261-C270.
slide-167
SLIDE 167

Acknowledgements

  • Committee members
  • Members of VisLab

http://www.cs.sunysb.edu/~dhaixia