Marching Cubes - PowerPoint PPT Presentation

1 / 29
About This Presentation
Title:

Marching Cubes

Description:

Marching Cubes. Isosurface Definition ... Nielson, 'Dual marching cubes', Visualization '04, 2004; Regular Grid Samples of a Scalar Field ... – PowerPoint PPT presentation

Number of Views:587
Avg rating:5.0/5.0
Slides: 30
Provided by: rogerac
Category:
Tags: cubes | marching

less

Transcript and Presenter's Notes

Title: Marching Cubes


1
Marching Cubes
2
Isosurface Definition
  • Given a scalar field, f Rd ? R, and a scalar
    value s, a level set is the set of points p
    f(p) s .

Given a sampling of a scalar field, f Rd ? R,
and a scalar value s, construct a (piecewise
linear) approximation (isosurface) to the level
set p f(p) s .
3
Isosurface Reconstruction Algorithms
  • Cuberille Draw cubes (voxels) and smooth
  • Herman and Liu. Comp Graph Image Proc, 1979
  • Chen, Herman, et. al. IEEE Comp. Graph Appl.,
    1985
  • Artzy, Frieder, et. al. Comp. Graph Image
    Proc., 1981
  • Taubin, Siggraph 95, 1995
  • Marching cubes algorithm
  • Lorensen and Cline. Comput. Graphics, 1987
  • Montani, Scateni, Scopigno. Visual. Comp. 1994
  • Nielson and Hamann, Visualization 91, 1991
  • Weigle and Banks, Visualization 96, 1996
  • Bhaniramka, Wenger, Crawfis, Isosurfacing in
    Higher Dimensions, Vis 00, 2000
  • Dual contouring algorithms
  • Gibson, Surface Nets, Visualization 98, 1998.
  • Ju, Losasso, et. al. Dual contouring of Hermite
    data, Trans on Graphics, 2002
  • Nielson, Dual marching cubes, Visualization
    04, 2004

4
Regular Grid Samples of a Scalar Field
5
Regular Grid
6
(/-) Grid
7
(/-) Midpoints
8
Marching Squares
9
Marching Squares
10
Marching Squares
11
Marching Squares
12
Marching Squares
13
Isosurface
Level Set x f(x,y,z) a
Polygonal Approximation Isosurface
14
Isosurface Construction
  • Identify midpoints of (,-) edges
  • Draw isosurface through midpoints.

15
Isocontour Construction
  • Identify midpoints of (,-) edges
  • Draw isocontour through midpoints.

16
2D Cases
17
3D Cube
18
3D Cube
-
-

-
-
-
-
19
3D Cases
-
-
-
-




-
-
-
-


-

-
-


-
-

-
20
3D Cases
-
-
-
-

-

-
-

-
-
-
-

-

-
-


-
-

21
Marching Cubes (Lorensen Cline)
  • Build cube lookup table
  • For each cube, retrieve surface fragment from
    lookup table.

22
Marching Cubes (Lorensen Cline)
  • Read four slices into memory
  • Scan slices and create cubes
  • Calculate cube index based on 8 vertex scalars
  • Look up edge (triangle) list from table
  • Interpolate surface edge intersections
  • Calculate unit normals using central differences
  • Output triangles and vertex normals

23
Ambiguity
24
Ambiguity
25
Ambiguity
26
3D Ambiguity
-
-

-
-
-
-

-
27
3D Ambiguity



-
-



-
28
3D Ambiguity
Durst. Comput. Graph. 1988.
29
3D Correct Isosurface
Montani, Scateni, Scopigni, Visual. Comput.
1994. Nielson and Hamann. Visualization 91, 1991.
Write a Comment
User Comments (0)
About PowerShow.com