Transcript
Page 1: CUBIT  Research at the University of South Florida

CUBIT Research

at the University of South Florida

Presented byEugene Fink

Page 2: CUBIT  Research at the University of South Florida

People

CUBIT teamSteve OwenByron Hanks

FacultySunil SaigalEugene Fink

Graduate studentsShiraj KhanMatt Boonstra

Undergrad studentsKevin AlbrechtPlamen StoyanovWill Frost

Page 3: CUBIT  Research at the University of South Florida

Tasks

• Spatial indexing

• Surface flattening

• Format conversion

• Code cleanup

Shiraj Khan

Kevin Albrecht

Matt Boonstra

Plamen Stoyanov

Will Frost

Page 4: CUBIT  Research at the University of South Florida

Tasks

• Spatial indexing

• Surface flattening

• Format conversion

• Code cleanup

Page 5: CUBIT  Research at the University of South Florida

, and areas , angles• Preserve lengths

Surface flattening

Problem:

• Map a faceted sur- face into the plane x

yz

u

v

Page 6: CUBIT  Research at the University of South Florida

Surface flattening

Methods:

• Orthogonal projection, FacetProjParamTool

• RoadKill (by Alla Sheffer), FacetParamTool

• RoadKill with hole patching, FacetParamTool

Page 7: CUBIT  Research at the University of South Florida

ProjectionFlatten a faceted surface byprojecting it onto a plane.

x

yz

Page 8: CUBIT  Research at the University of South Florida

Projection• Find the best-fit plane

• If there are overlaps, then report a failure

Drawback:Works only for near-flat surfaces.

x

yz• Project onto this plane

• Else, convert the projection into two coordinates u

v

Page 9: CUBIT  Research at the University of South Florida

RoadKill

An algorithm for flattening faceted surfaces,by Alla Sheffer and Eric de Sturler (2001).

• Minimizes the deformation of angles

• Uses Newton’s method to solve a constrained minimization problem

Drawback:Works only for surfaces without holes.

Page 10: CUBIT  Research at the University of South Florida

Patching holesClose all holes andthen apply RoadKill.

x

yz

Page 11: CUBIT  Research at the University of South Florida

Patching holes• Project a hole onto the best-fit plane

Drawback:Works only for near-flat holes.

x

yz

• Triangulate the resulting projection• Map the triangulation back onto the surface

Page 12: CUBIT  Research at the University of South Florida

Examples• Orthogonal projection

• RoadKill (by Alla Sheffer)• RoadKill with hole patching

Page 13: CUBIT  Research at the University of South Florida

Future extensions

• Patching complex holes

• Cracking faceted surfacesx

yz

u

v

Page 14: CUBIT  Research at the University of South Florida

Tasks

• Spatial indexing

• Surface flattening

• Format conversion

• Code cleanup

Page 15: CUBIT  Research at the University of South Florida

• Deletion of objects

• Addition of new objects

Spatial indexingProblem:Indexing and retrieval ofobjects in three dimensions.

• Retrieval of the nearest neighbors

• Retrieval of the objects that intersect a given object

Page 16: CUBIT  Research at the University of South Florida

Spatial indexing

Methods:

• Previous: R-trees (Guttman, 1984), RTree• Current: KD-trees (Bentley, 1975), KDDTree

• Future: R*-trees (Beckmann et al.,1990), RStarTree

Page 17: CUBIT  Research at the University of South Florida

KD-treesA binary tree for indexing ofpoints in multiple dimensions.

a

b

c

d

e f

ab

c

d

e

fThis tree also allows:

• Indexing of boxes by their center points

• Indexing of arbitrary objects by their bounding boxes

Page 18: CUBIT  Research at the University of South Florida

KD-treesAdvantages:• Fast initial construction• Fast retrieval of points

Drawbacks:• Slow insertion• Slow deletion

Performance in CUBIT:KD-trees are usuallyfaster than R-trees.

Page 19: CUBIT  Research at the University of South Florida

Performance

number of facets

seco

nds

KD-trees1,000

30

10

110,000 100,000

Initial construction

3

KD-trees are faster than R-trees:• Construction is about 3 times faster• Retrieval is about 1.5 times faster

R-trees

Retrieval of points

KD-trees

R-trees

mill

isec

onds

1,000

30

10

110,000 100,000

3

number of facets

Page 20: CUBIT  Research at the University of South Florida

Future extensions

• Improving efficiency of KD-trees

• Implementing R*-trees

Page 21: CUBIT  Research at the University of South Florida

Tasks

• Spatial indexing

• Surface flattening

• Format conversion

• Code cleanup

Page 22: CUBIT  Research at the University of South Florida

Format conversion

• Converting between STL and facet format

• Loading and saving these formats

• Collapsing close pointsFacet

format

BinarySTL

ASCIISTL

Page 23: CUBIT  Research at the University of South Florida

Close pointsProblem:Identify and collapse all pairs of closely located points.

Methods:

• R-tree indexing, RTree

• Grid indexing, GridSearchTree

d

Page 24: CUBIT  Research at the University of South Florida

Grid indexing

Indexing of points by their locationsin a grid of equal-size cubes.

Page 25: CUBIT  Research at the University of South Florida

Grid indexing

• Divide the space into cubes ;the edge length is twice largerthan the collapsing distance

2 · d• Index points by cube locations; each cube is a bucket of points

• Given a point, retrieve the points in the same cube and seven adjacent cubes

d

Page 26: CUBIT  Research at the University of South Florida

Performance

number of facets

seco

nds

10 100 1,000 10,0000.01

0.1

110

1,000100

Exactcomparisons

Grid loading is ten to hundredtimes faster than R-tree loading.

Gridindexing

R-treeindexing

Page 27: CUBIT  Research at the University of South Florida

Future extensions

• Grid with templates for general use in CUBIT

• Basic repair of surfaces

x

yz

x

yz

Page 28: CUBIT  Research at the University of South Florida

Tasks

• Spatial indexing

• Surface flattening

• Format conversion

• Code cleanup

Page 29: CUBIT  Research at the University of South Florida

Code cleanup• User commands for saving faceted surfaces in STL and facet format• Newton-Raphson procedure in the advancing-front meshing• Arguments and returned values in the procedures for cutting spatial objects

• Testing the beta version of CUBIT 8

Page 30: CUBIT  Research at the University of South Florida

Future tasks

• Topology extraction

x

yz

• Decimation of facetsz

x

y

• Repair of surfacesx

yz

• Smooth representationx

yz

Page 31: CUBIT  Research at the University of South Florida

Future tasks

• Topology extraction

• Decimation of facets

• Repair of surfaces

• Smooth representation

Plamen Stoyanov

Kevin Albrecht

New student

New student

Matt Boonstra


Top Related