91
Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Embed Size (px)

Citation preview

Page 1: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Isosurfaces Over Simplicial Partitions of Multiresolution Grids

Josiah Manson and Scott SchaeferTexas A&M University

Page 2: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Motivation: Uses of Isosurfaces

Page 3: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Motivation: Goals

• Sharp features• Thin features• Arbitrary octrees• Manifold / Intersection-free

Page 4: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Motivation: Goals

• Sharp features• Thin features• Arbitrary octrees• Manifold / Intersection-free

Page 5: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Motivation: Goals

• Sharp features• Thin features• Arbitrary octrees• Manifold / Intersection-free

Octree Textures on the GPU [Lefebvre et al. 2005]

Page 6: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Motivation: Goals

• Sharp features• Thin features• Arbitrary octrees• Manifold / Intersection-free

Page 7: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Related Work

• Dual Contouring [Ju et al. 2002] • Intersection-free Contouring on an Octree

Grid [Ju 2006]• Dual Marching Cubes [Schaefer and Warren

2004]• Cubical Marching Squares [Ho et al. 2005]• Unconstrained Isosurface Extraction on

Arbitrary Octrees [Kazhdan et al. 2007]

Page 8: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Contouring+

-

+ + +

+

+++

+

+

- - +

Page 9: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Contouring+

-

+ + +

+

+++

+

+

- - +

Page 10: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Contouring+

-

+ + +

+

+++

+

+

- - +

Page 11: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Contouring

Page 12: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Contouring

Dual Contouring [Ju et al. 2002] Our method

Page 13: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Contouring

Dual Contouring [Ju et al. 2002] Our method

Page 14: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Related Work

• Dual Contouring [Ju et al. 2002] • Intersection-free Contouring on an Octree

Grid [Ju 2006]• Dual Marching Cubes [Schaefer and Warren

2004]• Cubical Marching Squares [Ho et al. 2005]• Unconstrained Isosurface Extraction on

Arbitrary Octrees [Kazhdan et al. 2007]

Page 15: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Marching Cubes

Page 16: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Marching Cubes

+

-

+

+

+

-

-

Page 17: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Marching Cubes

+

-

+

+

+

-

-

Page 18: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Marching Cubes

+

-

+

+

+

-

-

Page 19: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Marching Cubes

Page 20: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Marching Cubes

Dual Marching Cubes [Schaefer and Warren 2004]

Our method

Page 21: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Dual Marching Cubes

Page 22: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Related Work

• Dual Contouring [Ju et al. 2002] • Intersection-free Contouring on an Octree

Grid [Ju 2006]• Dual Marching Cubes [Schaefer and Warren

2004]• Cubical Marching Squares [Ho et al. 2005]• Unconstrained Isosurface Extraction on

Arbitrary Octrees [Kazhdan et al. 2007]

Page 23: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Our Method Overview

• Create vertices dual to every minimal edge, face, and cube

• Partition octree into 1-to-1 covering of tetrahedra

• Marching tetrahedra creates manifold surfaces• Improve triangulation while preserving

topology

Page 24: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Terminology

• Cells in Octree– Vertices are 0-cells– Edges are 1-cells– Faces are 2-cells– Cubes are 3-cells

• Dual Vertices– Vertex dual to each m-cell– Constrained to interior of cell

Page 25: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Terminology

• Cells in Octree– Vertices are 0-cells– Edges are 1-cells– Faces are 2-cells– Cubes are 3-cells

• Dual Vertices– Vertex dual to each m-cell– Constrained to interior of cell

Page 26: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Terminology

• Cells in Octree– Vertices are 0-cells– Edges are 1-cells– Faces are 2-cells– Cubes are 3-cells

• Dual Vertices– Vertex dual to each m-cell– Constrained to interior of cell

Page 27: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Terminology

• Cells in Octree– Vertices are 0-cells– Edges are 1-cells– Faces are 2-cells– Cubes are 3-cells

• Dual Vertices– Vertex dual to each m-cell– Constrained to interior of cell

Page 28: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Terminology

• Cells in Octree– Vertices are 0-cells– Edges are 1-cells– Faces are 2-cells– Cubes are 3-cells

• Dual Vertices– Vertex dual to each m-cell– Constrained to interior of cell

Page 29: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Our Partitioning of Space

• Start with vertex

Page 30: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Our Partitioning of Space

• Build edges

Page 31: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Our Partitioning of Space

• Build faces

Page 32: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Our Partitioning of Space

• Build cubes

Page 33: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Minimal Edge (1-Cell)

Page 34: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Minimal Edge (1-Cell)

Page 35: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Minimal Edge (1-Cell)

Page 36: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Minimal Edge (1-Cell)

Page 37: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Building Simplices

Page 38: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Building Simplices

Page 39: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Building Simplices

Page 40: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Building Simplices

Page 41: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Building Simplices

Page 42: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Building Simplices

Page 43: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Building Simplices

Page 44: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Building Simplices

Page 45: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Tetrahedra

Page 46: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Tetrahedra

Page 47: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Tetrahedra

Octree Traversal from DC [Ju et al. 2002]

Page 48: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Finding Features

• Minimize distances to planes

Page 49: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Surfaces from Tetrahedra

Page 50: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Manifold Property

• Vertices are constrained to their dual m-cells• Simplices are guaranteed to not fold back• Tetrahedra share faces• Freedom to move allows reproducing features

Page 51: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Finding Features

Page 52: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Finding Features

Page 53: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Finding Features

Page 54: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Finding Features

Page 55: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Improving Triangulation

Page 56: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Possible Problem: Face

Before After

Page 57: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Possible Problem: Edge

Before After

Page 58: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Preserving Topology

• Only move vertex to surface if there is a single contour.

• Count connected components.

Page 59: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Preserving Topology

• Only move vertex to surface if there is a single contour.

• Count connected components.

Page 60: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Improving Triangulation

Before

After

Page 61: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Results

Page 62: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Results

Page 63: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

TimesArmadillo Man Mechanical Part Lens Tank

Depth 8 9 10 8

Ours 2.58s 4.81s 9.72s 8.78s

Ours (Improved Triangles)

2.69s 6.80s 10.35s 8.19s

Dual Marching Cubes 1.85s 3.54s 6.42s 5.29s

Dual Contouring 1.35s 2.97s 5.99s 3.78s

Page 64: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Conclusions

• Calculate isosurfaces over piecewise smooth functions

• Guarantee manifold surfaces• Reproduce sharp and thin features• Improved triangulation

Page 65: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University
Page 66: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Contour Refinement & Error Metric

Page 67: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Finding Features

Page 68: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Limitations

• Imperfect detection of sharp edges with multiple features

• Cube corners cannot move, limiting triangulation improvements

• Speed

Page 69: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

TimesTime Breakdown of TankOurs Ours (Improved Triangles) DMC DC

Total Time 8.78s 8.19s 5.29s 3.78s

Time Tree 4.02s 6.13s 3.41s 2.69s

Time Extract 4.77s 2.06s 1.88s 1.09s

Triangles 3.63M 1.13M 1.16M 727k

Page 70: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 71: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 72: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 73: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 74: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 75: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 76: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 77: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 78: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 79: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 80: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 81: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 82: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 83: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 84: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 85: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 86: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 87: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 88: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 89: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 90: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges

Page 91: Isosurfaces Over Simplicial Partitions of Multiresolution Grids Josiah Manson and Scott Schaefer Texas A&M University

Traversing Edges