Subdivision Schemes
description
Transcript of Subdivision Schemes
![Page 1: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/1.jpg)
Subdivision SchemesSubdivision Schemes
![Page 2: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/2.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
What is Subdivision? Subdivision is a process in which a poly-line/mesh is
recursively refined in order to achieve a smooth curve/surface.
Two main groups of schemes:Approximating - original vertices are movedInterpolating – original vertices are unaffected
Is the scheme used here interpolating or approximating?Is the scheme used here interpolating or approximating?
![Page 3: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/3.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Why Subdivision?Frame from “Geri’s Game” by PixarFrame from “Geri’s Game” by Pixar
![Page 4: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/4.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
LOD
Compression
Smoothing
Why Subdivision?
424Kb424Kb
1Kb1Kb52Kb52Kb
13.3M13.3Mbb
![Page 5: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/5.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Corner Cutting
![Page 6: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/6.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Corner Cutting
1 : 33
: 1
![Page 7: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/7.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Corner Cutting
![Page 8: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/8.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Corner Cutting
![Page 9: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/9.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Corner Cutting
![Page 10: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/10.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Corner Cutting – Limit Curve
![Page 11: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/11.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Corner Cutting
The control polygon
The limit curve – Quadratic B-Spline Curve
A control point
![Page 12: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/12.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
4-Point Scheme
![Page 13: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/13.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
4-Point Scheme
![Page 14: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/14.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
4-Point Scheme
1 :
1
1 :
1
![Page 15: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/15.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
4-Point Scheme
1 :
8
![Page 16: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/16.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
4-Point Scheme
![Page 17: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/17.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
4-Point Scheme
![Page 18: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/18.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
4-Point Scheme
![Page 19: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/19.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
4-Point Scheme
![Page 20: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/20.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
4-Point Scheme
![Page 21: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/21.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
4-Point Scheme
The control polygon
The limit curveA control point
![Page 22: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/22.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Comparison
Non interpolatory subdivision schemes
• Corner Cutting
Interpolatory subdivision schemes
• The 4-point scheme
![Page 23: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/23.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Theoretical Questions Given a Subdivision scheme, does it converge for all
polygons? If so, does it converge to a smooth curve?
Better?
Does the limit surface have any singular points? How do we compute the derivative of the limit
surface?
1C2C
![Page 24: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/24.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Surface subdivision A surface subdivision scheme starts with a control
net (i.e. vertices, edges and faces) In each iteration, the scheme constructs a refined
net, increasing the number of vertices by some factor.
The limit of the control vertices should be a limit surface.
a scheme always consists of 2 main parts:A method to generate the topology of the new net.Rules to determine the geometry of the vertices in the new net.
![Page 25: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/25.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
General Notations There are 3 types of new control points:
Vertex points - vertices that are created in place of an old vertex.Edge points - vertices that are created on an old edge.Face points – vertices that are created inside an old face.
Every scheme has rules on how (if) to create any of the above.
If a scheme does not change old vertices (for example - interpolating), then it is viewed simply as if
oldi
newi VV
![Page 26: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/26.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Loop’s Subdivision - topology Based on a triangular mesh Loop’s scheme does not
create face points
Old face
New face
Vertex points
Edge points
![Page 27: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/27.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Loop’s subdivision – stencil Every new vertex is a weighted average of old ones. The list of weights is called a Stencil Is this scheme approximating or interpolating?
3 3
1
1
1
1
1
1
1
nw
n
nnwn
22cos2340
64
n – vertex point’s valence
The rule for vertex points The rule for edge points
833 lkj VVVV
V i
new
![Page 28: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/28.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Loop - Results
![Page 29: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/29.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Loop - Results
![Page 30: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/30.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Loop - Results
![Page 31: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/31.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Loop - Results
![Page 32: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/32.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Loop - Results
Loop’s scheme results in a limit surface which is of continuity everywhere except for a finite number of singular points, in which it is .
2C
1C
Behavior of the subdivision along edges
![Page 33: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/33.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Butterfly Scheme Butterfly is an interpolatory scheme. Topology is the same as in Loop’s scheme. Vertex points use the location of the old vertex. Edge points use the following stencil:
-1
-1
-1
-1
88
2
2
![Page 34: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/34.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Butterfly - results
![Page 35: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/35.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Butterfly - results
![Page 36: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/36.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Butterfly - results
![Page 37: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/37.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Butterfly - results
![Page 38: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/38.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Butterfly - results
The Butterfly Scheme results in a surface which is but is not differentiable twice anywhere.
1C
![Page 39: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/39.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Catmull-Clark The mesh is the control net of a tensor product B-
Spline surface. The refined mesh is also a control net, and the scheme was devised so that both nets create the same B-Spline surface.
Uses face points, edge points and vertex points. The construction is incremental –
First the face points are calculated, Then using the face points, the edge points are computed.Finally using both face and edge points, we calculate the vertex points.
![Page 40: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/40.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Catmull-Clark
1
1
11
1
First, all the face points are calculated
Step 1
1 1
1
1
Then the edge points are calculated using the values of the face points and the
original vertices
Step 2Last, the vertex points are calculated using the values of the face and edge points
and the original vertex
Step 3
22
21
212
1
1
nw
)2( nnwn
n - the vertex valence
1
Face pointsFace pointsEdge pointsEdge points
Vertex pointsVertex points
![Page 41: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/41.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Connecting The Dots After Computing the new points, new edges are formed by:
connecting each new face point to the new edge points of the edges defining the old face.Connecting each new vertex point to the new edge points of all old edges incident on the old vertex point.
GoneGone
![Page 42: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/42.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Catmull-Clark - results
![Page 43: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/43.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Catmull-Clark - results
![Page 44: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/44.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Catmull-Clark - results
![Page 45: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/45.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Catmull-Clark - results
![Page 46: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/46.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Catmull-Clark - results
Catmull-Clark Scheme results in a surface which is almost everywhere2C
![Page 47: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/47.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
LoopLoop
Catmull-Catmull-ClarkClark
ButterflyButterfly
Comparison
![Page 48: Subdivision Schemes](https://reader036.fdocuments.net/reader036/viewer/2022062410/56815bd8550346895dc9c81a/html5/thumbnails/48.jpg)
Center for Graphics and Geometric Computing, TechnionCenter for Graphics and Geometric Computing, Technion
Pros and Cons Pros
A single mesh defines the whole modelSimple local rules
Easy to implement.Numerical Stability Easy to generate sharp feature withLod, Compression etc
ConsEvaluating a single point on the surface is hard
Not suitable for CAGDMesh topology has great influence on the over all shape.May become expensive in term of rendering
Global subdivision