GPU-accelerated data expansion for the Marching Cubes algorithm
TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes:...
Transcript of TAMU Computer Science People Pages - Marching Cubes: A High … · 2020. 8. 10. · Marching Cubes:...
![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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/1.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/2.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/3.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/4.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/5.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/6.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/7.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/8.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/9.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/10.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/11.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/12.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/13.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/14.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/15.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/16.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/17.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/18.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/19.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/20.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/21.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/22.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/23.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/24.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/25.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/26.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/27.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/28.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/29.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/30.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/31.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/32.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/33.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/34.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/35.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/36.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/37.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/38.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/39.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/40.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022071117/6001643525d8bc7b81515c3b/html5/thumbnails/41.jpg)
Fun Examples