Progressive Embedding Hanxiao Shen, Zhongshi Jiang, Denis Zorin, - - PowerPoint PPT Presentation

progressive embedding
SMART_READER_LITE
LIVE PREVIEW

Progressive Embedding Hanxiao Shen, Zhongshi Jiang, Denis Zorin, - - PowerPoint PPT Presentation

Progressive Embedding Hanxiao Shen, Zhongshi Jiang, Denis Zorin, Daniele Panozzo Geometric Computing Lab, New York University New York University Hanxiao Shen 1 Surface Parametrization Flatten a surface to a plane 3D Mesh (x,y,z) 2D


slide-1
SLIDE 1

Hanxiao Shen New York University

Progressive Embedding

Hanxiao Shen, Zhongshi Jiang, Denis Zorin, Daniele Panozzo

  • 1

Geometric Computing Lab, New York University

slide-2
SLIDE 2

Hanxiao Shen New York University

Surface Parametrization

Flatten a surface to a plane

3D Mesh (x,y,z) 2D Parametric domain (u,v)

2

slide-3
SLIDE 3

Hanxiao Shen New York University

Applications

Texture mapping

3

Quadrangulation Remeshing Cartography Shape Interpolation Compression

[Gu et al. 2002] [Bommes et al. 2012] [Botsch et.al 2010]

slide-4
SLIDE 4

Hanxiao Shen New York University

Desirable Properties

4

Local/Global Bijectivity Control with Positional Constraints Low Geometric Distortion Efficiency & Scalability Local/Global Bijectivity Control with Positional Constraints

[Schüller et al. 2013] [Hormann & Greiner et al. 2000]

slide-5
SLIDE 5

Hanxiao Shen New York University

[Rabinovich et al. 2016] [Li et al. 2018]

Distortion-Minimizing Mappings

5

[Schüller et al. 2013] [Smith and Schaefer 2015] [Jiang et al. 2017] [Shtengel et al. 2017] [Kovalsky et al. 2016] [Claici et al. 2017] [Fu et al. 2015] [Wang et al. 2016] [Liu et al. 2018] [Kraevoy et al. 2003]

Tutte Embedding

slide-6
SLIDE 6

Hanxiao Shen New York University

Tutte Embedding

6

Map a disk mesh to the interior of convex boundary

Guarantee for bijectivity Under Infinite Precision!

(Meshes are assumed to be 3-connected)

How to draw a graph [Tutte. 1963] How about floating point coordinates?

slide-7
SLIDE 7

Hanxiao Shen New York University

Robustness Test

7

Floating Point Implementation of Tutte Embedding from libigl [Jacobson et al. 2016] The genus 0 models from Thingi10k dataset [Zhou & Jacobson 2016]

slide-8
SLIDE 8

Hanxiao Shen New York University

Robustness Test

8

70 flipped elements

80 / 2718 models have flipped elements

Randomly drop

  • ne triangle
slide-9
SLIDE 9

Hanxiao Shen New York University

Fixing Tutte Embedding

9

Obvious Ways to Try

Multi-precision Snap Rounding

slide-10
SLIDE 10

Hanxiao Shen New York University

Fixing Tutte Embedding

10

Floating Point Arithmetic

  • Not usable for downstream applications.

The MPFR library [Fousse et al. 2007]

70 flipped elements

0 flipped elements

64 bits

128 bits

  • Naive rounding strategy may lead to flips!

Obvious Ways to Try: Multi-precision

slide-11
SLIDE 11

Hanxiao Shen New York University

Fixing Tutte Embedding

11

Snap Rounding [Packer 2018]

Arbitrary-precision Fixed-precision

Geometric Optimization

It might stuck during update!

A large part of mesh is snapped to a single point!

Obvious Ways to Try: Snap Rounding

slide-12
SLIDE 12

Hanxiao Shen New York University

Problem Formulation

12

Given a possibly embedding with convex boundary for a disk-like

surface mesh as input, how do we generate an inversion-free embedding using floating point coordinates?

Convex Polygon Star-shaped Polygon

invalid

slide-13
SLIDE 13

Hanxiao Shen New York University

Invalid Element

13

A triangle is said to be invalid if

  • 1. Its signed area is negative

* Symmetric Dirichlet Energy [Smith & Schaefer 2015]

* Exact floating point predicates from CGAL [Brönnimann et al. 2018] Flip Highly distorted

  • 2. Its quality measure is below a threshold
slide-14
SLIDE 14

Hanxiao Shen New York University

Progressive Embedding

14

Algorithm overview

Initial Embedding Valid Embedding Final Embedding

Edge Collapse Vertex Split

slide-15
SLIDE 15

Hanxiao Shen New York University

Basic Operations

15

  • Edge Collapse: Takes two connected vertices

and replaces them with a single vertex.

  • Vertex Split: Divides the vertex into two

new vertices, creates two new triangles

Progressive Meshes [Hoppe 1996]

slide-16
SLIDE 16

Hanxiao Shen New York University

Stage 1

Progressive Embedding

16

Algorithm overview

Initial Embedding Valid Embedding Final Embedding

Edge Collapse Vertex Split

slide-17
SLIDE 17

Hanxiao Shen New York University

Stage 1: Collapse

17

* Iteratively collapse edges * Stop when no invalid elements remain

Initial embedding, with invalid elements

No invalid elements are left

An edge collapse operation is illegal if the edge violates link condition

Non-manifold!

slide-18
SLIDE 18

Hanxiao Shen New York University

Existence of Collapsing Sequence

18

Theorem: We can always find an edge to collapse until only one interior vertex left.

0 flips!

(For a planar and 3-connected mesh)

slide-19
SLIDE 19

Hanxiao Shen New York University

Stage 2

Progressive Embedding

19

Algorithm overview

Initial Embedding Valid Embedding Final Embedding

Edge Collapse Vertex Split

slide-20
SLIDE 20

Hanxiao Shen New York University

Stage 2: Insertion

20

For implementation simplicity: we consider the inscribed cycle

  • f the 1-ring neighbor of vertex to be split as valid region.

Same connectivity Result of stage 1

Theorem: A vertex split reversing any collapse can always be done.

Standard Line Search

slide-21
SLIDE 21

Hanxiao Shen New York University

Stage 2: Insertion

21

Local Smoothing: improve quality after each insertion

  • Symmetric Dirichlet Energy [Smith & Schaefer 2015]

Reference Shape: Equilateral triangle with average area

  • f the whole mesh in the parametric domain

Same connectivity

  • One vertex at a time using Newton iterations [Fu et al. 2015;

Hormann & Greiner 2000; Labsik et al. 2000]

  • Updated in parallel independently.

Result of stage 1

slide-22
SLIDE 22

Hanxiao Shen New York University

Robustness Test

  • 22

0 / 2718 model have flipped elements

Tutte Embedding

Ours

534 flips 0 flips 638 flips 0 flips

slide-23
SLIDE 23

Hanxiao Shen New York University

Results

Tutte Embedding: 46 flips! Progressive Embedding: 0 flips

Mapping triangulated Hele-Shaw polygon [Segall et al. 2016] to the interior of a square

23

slide-24
SLIDE 24

Hanxiao Shen New York University

[Rabinovich et al. 2016] [Li et al. 2018]

Distortion-Minimizing Mappings

24

[Schüller et al. 2013] [Smith and Schaefer 2015] [Jiang et al. 2017] [Shtengel et al. 2017] [Kovalsky et al. 2016] [Claici et al. 2017] [Fu et al. 2015] [Wang et al. 2016] [Liu et al. 2018] [Kraevoy et al. 2003]

slide-25
SLIDE 25

Hanxiao Shen New York University

OptCuts

OptCuts [Li et al. 2018] Joint Optimization

  • f Surface Cuts and Parameterization

Tutte Embedding: 4233 flips! Progressive Embedding: 0 flips!

25

slide-26
SLIDE 26

Hanxiao Shen New York University

[Rabinovich et al. 2016] [Li et al. 2018]

Distortion-Minimizing Mappings

26

[Schüller et al. 2013] [Smith and Schaefer 2015] [Jiang et al. 2017] [Shtengel et al. 2017] [Kovalsky et al. 2016] [Claici et al. 2017] [Fu et al. 2015] [Wang et al. 2016] [Liu et al. 2018] [Kraevoy et al. 2003]

slide-27
SLIDE 27

Hanxiao Shen New York University

  • 27
slide-28
SLIDE 28

Hanxiao Shen New York University

28

Self-overlapping Domains

[Weber & Zorin 2014, Self-overlapping boundary Bommes et al. 2009]

slide-29
SLIDE 29

Hanxiao Shen New York University

  • 29
slide-30
SLIDE 30

Hanxiao Shen New York University

Matchmaker

30

+ +

Shor-Van Wyck Triangulation

Robust surface parametrization method for multiply-connected domains with arbitrary point constraints

Progressive Embedding MatchMaker

++

[Weber & Zorin 2014]

slide-31
SLIDE 31

Hanxiao Shen New York University

Random Hard Constraints

31

Dataset: 102 models from [Myles & Zorin 2014]

(Seams are part of the dataset)

slide-32
SLIDE 32

Hanxiao Shen New York University

Challenging Stress Test

32

102 models from [Myles & Zorin 2014] 3 random point constraints

slide-33
SLIDE 33

Hanxiao Shen New York University

Self-overlapping Boundary

33

slide-34
SLIDE 34

Hanxiao Shen New York University

Summary

34

  • A robust algorithm to compute planar embeddings, which has the same guarantees

as the Tutte Embedding, but works robustly in floating point coordinates.

  • Paired with Matchmaker, our algorithm enables the robust generation of constrained

locally injective maps with hard constraints.

slide-35
SLIDE 35

Hanxiao Shen New York University

Thank you!

35

This work was supported in part through the NYU IT High Performance Computing resources, services, and staff expertise. This work was partially supported by the NSF CAREER award with number 1652515, the NSF grant IIS-1320635, the NSF grant DMS- 1436591, the NSF grant 1835712, a gift from Adobe Research, and a gift from nTopology.

https://github.com/hankstag/progressive_embedding Reference Implementation