Professional Documents
Culture Documents
Cagatay GUVENTURK
Astronautical Engineering Department,
Faculty of Aeronautics and Astronautics,
Istanbul Technical University, 34469,
Maslak/Istanbul, TURKEY
ITU/FME
Faculty of Mechanical Engineering
Overview
Polygonal Models
1. Geometric Correctness
2. Topological Correctness
Model Repair Methods
3. Mesh Based Approaches
a. Gaps and Holes
b. Non-manifold Edges
c. Geometric Intersections
4. Volume Based Approaches
a. Models without Gaps or Holes
b. Models with Gaps or Holes
5. Mesh Based
Methods
Methods
vs
Volume
Based
ITU/FME
Faculty of Mechanical Engineering
Polygonal Models
An approach for modeling objects by representing or approximating their
surfaces by using polygons
The simplest polygon in Euclidian space is a triangle
Todays graphics hardware is highly specialized in displaying polygons,
especially triangles, at interactive rates
The flexibility and simplicity of polygons greatly facilitate
Designing
Processing
Transmitting
Animating
with 3D objects
Should satisfy
Geometric correctness
Topological correctness
depending on the target application
ITU/FME
Faculty of Mechanical Engineering
Geometric Correctness
Exterior surface
represented
of
3D
solid
should
be
ITU/FME
Faculty of Mechanical Engineering
Topological Correctness
A geometrically correct polygonal model should
additionally
have the same topology as the solid it represents
Topological features, such as handles and
connected components, should be preserved
Ju T., (2009)
ITU/FME
Faculty of Mechanical Engineering
into
two
Mesh based
Identifies and fixes errors
directly on the polygons
Volume based
Indirectly repairs the model
using
an
intermediate
volumetric grid
The
repair
algorithm
www.comsol.com
ITU/FME
Faculty of Mechanical Engineering
Left and middle left: The Happy Buddha model contains more than 100 handles. Middle right: A nonseparating closed cycle along a handle. Right: The handle was removed by cutting along the nonseparating cycle and closing the holes with triangle patches Botsch M. et. al., (2006)
Fixing Geometric Errors on Polygonal Models: A Survey, January 2009
ITU/FME
Faculty of Mechanical Engineering
Hole
(2009)
Ju
T.,
ITU/FME
Faculty of Mechanical Engineering
Stitching
Finding the triangle strip that
minimizes a global function (such
as total edge lengths)
ITU/FME
Faculty of Mechanical Engineering
The
dashed
arrows
indicate
the
correspondences. Note that some arrows point
along an edge, which possibly implies an edge
contraction Borodin P. et. al., (2002)
10
Fixing Geometric Errors on Polygonal Models: A Survey, January 2009
ITU/FME
Faculty of Mechanical Engineering
11
ITU/FME
Faculty of Mechanical Engineering
achieve smoothness
Progress has been made in two main directions
An initial triangulation is constructed
Improved in a post-processing step using
various geometry fairing techniques
ITU/FME
Faculty of Mechanical Engineering
A
fillet
blend
www.aliasworkbench.com
13
ITU/FME
Faculty of Mechanical Engineering
Continuity is achieved by controlling the CVs at the edge of the aligned curve or surface. A higher
continuity level requires more CVs to be aligned www.aliasworkbench.com
Fixing Geometric Errors on Polygonal Models: A Survey, January 2009
14
ITU/FME
Faculty of Mechanical Engineering
Recovering
missing
geometry using examples
on the same model Sharf
A. et. al., (2004)
Recovering
missing
geometry using another
example model Kraevoy
V. et. al., (2005)
15
ITU/FME
Faculty of Mechanical Engineering
Non-manifold Edges
The input model may contain
non-manifold polygonal edges
shared by more than two
polygons
There are two ways to handle it
Separate the models into
manifold patches possibly with
boundaries
ITU/FME
Faculty of Mechanical Engineering
Geometric Intersections
The most challenging type of errors
Difficult to reliably detect intersections
Can be generated as the result of other mesh-repair operations, particularly
hole-filling
The problem becomes more tractable if the locations of the intersections are
known
Zippering method [Turk and Levoy
- 1994]
Remove overlapping portions
of the meshes
Clip one mesh against another
Remove the small triangles
introduced during clipping
Mesh A is clipped against the boundary of mesh B. Circles (left)
show intersection between edges of A and Bs boundary.
Portions of triangles from A are discarded (middle) and then
both meshes incorporate the points of intersection (right) Turk
G. et. al., (1994)
17
Fixing Geometric Errors on Polygonal Models: A Survey, January 2009
ITU/FME
Faculty of Mechanical Engineering
the dual
surface:
(a) the input model with an
open
top
(b) edges intersected with the
model and the corresponding
dual
surface
(c)
(boundary
edges
are
highlighted), the patched dual
surface with corresponding
intersection
edges
(d) the repaired model based
Fixing Geometric Errors on Polygonal Models: A Survey, January 2009
18
ITU/FME
Faculty of Mechanical Engineering
19
ITU/FME
Faculty of Mechanical Engineering
ITU/FME
Faculty of Mechanical Engineering
Repair
polygon
soups using an
orientationindependent
method Ju T.,
(2004)
ITU/FME
Faculty of Mechanical Engineering
[Nooruddin and Turk - 2003] determined the sign at a grid point by ray
stabbing and voting. The parity of the number of intersections between a ray
and the model contributes one vote to the inside or outside classification of a
point, and multiple rays are shot from each grid point to make the final
decision (parity counting: odd numbers inside, even numbers outside)
Drawback: Ray stabbing is a global operation, and a local surface error may
cause a distant part of the space to be incorrectly signed
22
ITU/FME
Faculty of Mechanical Engineering
Scan Converting a closed model using the parity count method. The black dots represent
voxels that are inside the model. The blue circles show where the scanlines intersect the
model Nooruddin F. S. and Turk G., (2003)
Fixing Geometric Errors on Polygonal Models: A Survey, January 2009
23
ITU/FME
Faculty of Mechanical Engineering
Scan Converting a model with a hole . The grey dots represents voxels for which whether they
are inside or outside the model is not known. Scan converting from multiple directions solves
this problem Nooruddin F. S. and Turk G., (2003)
Fixing Geometric Errors on Polygonal Models: A Survey, January 2009
24
ITU/FME
Faculty of Mechanical Engineering
25
ITU/FME
Faculty of Mechanical Engineering
[Ju T. - 2004] and [Bischoff S. et. al. - 2005] explicitly identify and patch hole
boundaries on the grid
[Bischoff S. et. al. - 2005] performed morphological erosion and dilation from
hole boundary cells to generate a plausible partitioning
26
ITU/FME
Faculty of Mechanical Engineering
Hole-fixing by morphological operations. (a) First the boundary cells are dilated (magenta) into the
empty cells (green). (b) Next outside component (blue) is determined. (c) The outside component is
dilated back into the already dilated cells (magenta). (d) The result is a clean separation of outside (blue)
and inside cells (white) from which the surface topology of the output mesh is deduced Bischoff S. et.
al., (2005)
Left: Adaptive octree, boundary cells are marked red. Center left: Dilated boundary (green) and outside
component (orange). Center right: Outside component dilated back into the boundary cells. Right: Final
reconstruction Botsch M. et. al., (2006)
Fixing Geometric Errors on Polygonal Models: A Survey, January 2009
27
ITU/FME
Faculty of Mechanical Engineering
28
ITU/FME
Faculty of Mechanical Engineering
Illustration of 2D diffusion in progress. (a) The source term; (b) the two surfaces are extended; (c) the
surfaces begin to interact; (d) the hole closes; (e) the shape is converged. Brown denotes unknown areas
(v = 0); grayscale values encode signed distance, with black and white corresponding to outside (d =
1) and inside (d = 1) respectively. The red curve marks the zero set Davis J. et. al., (2002)
Examples of diffusion in 2D. Above: source term; below: diffusion result with zero set marked in red. (a) A
double step discontinuity that is filled as two separate steps; (b) a narrower double step that results in
the topological decision to build a bridge across the pit. (c) The common case in which the bottom of a
depression is missed; (d) a flat surface with several holes Davis J. et. al., (2002)
Fixing Geometric Errors on Polygonal Models: A Survey, January 2009
29
ITU/FME
Faculty of Mechanical Engineering
Volumetric diffusion applied to a larger dataset. The volume contained 440 million voxels, and the output
triangle mesh contained 4.5 million triangles. Processing time for diffusion on a 1 GHz Pentium III PC was
20 minutes; the maximum memory allocated was 550 MB. The number of voxels touched during the
diffusion was 4.5% of the total; the number of blocks allocated was 11.5% of the total Davis J. et. al.,
(2002)
Fixing Geometric Errors on Polygonal Models: A Survey, January 2009
30
ITU/FME
Faculty of Mechanical Engineering
31
ITU/FME
Faculty of Mechanical Engineering
32
ITU/FME
Faculty of Mechanical Engineering
Any Questions?
33