41
Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer

TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Marching Cubes: A High Resolution Surface Construction Algorithm

Dr. Scott Schaefer

Page 2: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Polygon Models

AdvantagesAdvantagesExplicit connectivity informationExplicit connectivity informationEasy to renderEasy to render(Relatively) small storage(Relatively) small storage

DisadvantagesDisadvantagesTopology changes difficultTopology changes difficultInside/Outside test hardInside/Outside test hard

Page 3: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Implicit Representations of Shape

Shape described by solution to Shape described by solution to ff((xx)=)=cc9),( 22 −+= yxyxf

Page 4: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Implicit Representations of Shape

Shape described by solution to Shape described by solution to ff((xx)=)=cc9),( 22 −+= yxyxf

Page 5: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Implicit Representations of Shape

Shape described by solution to Shape described by solution to ff((xx)=)=cc9),( 22 −+= yxyxf

- --

-----

Page 6: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Implicit Representations of Shape

Shape described by solution to Shape described by solution to ff((xx)=)=cc9),( 22 −+= yxyxf

- --

-----

++ +

+

+++

+

Page 7: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

Page 8: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

- --

-----

++ +

+

+++

+

Page 9: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

Page 10: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnion

Page 11: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnion

Page 12: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnion

--

--

-+

+

++

+

+

Page 13: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnion--

--

-+

+

++

+

+

Page 14: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnion

--

--

-+

+

++

+

+

--

--

-+

+

++

+

+

Page 15: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnion

--

--

-++

++

+

+

Page 16: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnionIntersectionIntersection

--

--

-+

+

++

+

+

--

--

-+

+

++

+

+

Page 17: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnionIntersectionIntersection - -

+ +

++

Page 18: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnionIntersectionIntersectionSubtractionSubtraction

--

--

-+

+

++

+

+

--

--

-+

+

++

+

+

Page 19: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnionIntersectionIntersectionSubtractionSubtraction

--

--

-+

+

++

+

+--

-

-

-+

+ +

+ ++

Page 20: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnionIntersectionIntersectionSubtractionSubtraction

-- -

+

+

+

+

+

Page 21: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Advantages

No topology to maintainNo topology to maintainAlways defines a closed surface!Always defines a closed surface!Inside/Outside testInside/Outside testCSG operationsCSG operations

UnionUnionIntersectionIntersectionSubtractionSubtraction

Page 22: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Disadvantages

Hard to render Hard to render -- no polygonsno polygonsCreating polygons amounts to root finding Creating polygons amounts to root finding Arbitrary shapes hard to represent as an Arbitrary shapes hard to represent as an analytic functionanalytic functionCertain operations (like simplification) can Certain operations (like simplification) can be difficultbe difficult

Page 23: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Non-Analytic Implicit Functions

Sample functions over gridsSample functions over grids

Page 24: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Non-Analytic Implicit Functions

Sample functions over gridsSample functions over grids

Page 25: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Data Sources

Page 26: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Data Sources

Page 27: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Data Sources

Page 28: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Data Sources

Page 29: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Data Sources

Page 30: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Data Sources

Page 31: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

2D Surface Reconstruction

Page 32: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

2D Surface Reconstruction

Page 33: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

2D Surface Reconstruction

Page 34: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

2D Surface Reconstruction

Page 35: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

2D Surface Reconstruction

Page 36: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

3D Surface Reconstruction

Page 37: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

3D Surface Reconstruction

Page 38: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Fun Examples

Page 39: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Fun Examples

Page 40: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Fun Examples

Page 41: TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes: A High Resolution Surface Construction Algorithm Dr. Scott Schaefer. Polygon Models

Fun Examples