Fast Computation of Generalized Voronoi Diagrams Using Graphics Hardware Kenneth E. Hoff III, Tim Culver, John Keyser, Ming Lin, and Dinesh Manocha University.

Slides:



Advertisements
Similar presentations
Simulating Decorative Mosaics Alejo Hausner University of Toronto [SIGGRAPH2001]
Advertisements

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL CULLIDE: Interactive Collision Detection Between Complex Models in Large Environments using Graphics Hardware.
Complete Motion Planning
Motion Planning for Point Robots CS 659 Kris Hauser.
The Voronoi Diagram David Johnson. Voronoi Diagram Creates a roadmap that maximizes clearance –Can be difficult to compute –We saw an approximation in.
1st Meeting Industrial Geometry Computational Geometry ---- Some Basic Structures 1st IG-Meeting.
Eurohaptics 2002 © Interactive Haptic Display of Deformable Surfaces Based on the Medial Axis Transform Jason J. Corso, Jatin Chhugani,
DESIGN OF A GENERIC PATH PATH PLANNING SYSTEM AILAB Path Planning Workgroup.
Proximity Computations between Noisy Point Clouds using Robust Classification 1 Jia Pan, 2 Sachin Chitta, 1 Dinesh Manocha 1 UNC Chapel Hill 2 Willow Garage.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
VLSH: Voronoi-based Locality Sensitive Hashing Sung-eui Yoon Authors: Lin Loi, Jae-Pil Heo, Junghwan Lee, and Sung-Eui Yoon KAIST
Discrete geometry Lecture 2 1 © Alexander & Michael Bronstein
CPSC 335 Geometric Data Structures in Computer Modeling and GIS Dr. Marina L. Gavrilova Assistant Professor Dept of Comp. Science, University of Calgary,
Delaunay Triangulation on the GPU Dan Maljovec. CPU Delaunay Triangulation Randomized Incremental Algorithm 1.Construct Bounding triangle 2.Choose point.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Fast C-obstacle Query Computation for Motion Planning Liang-Jun Zhang 12/13/2005 Liang-Jun Zhang 1 Young.
GATE D Object Representations (GATE-540) Dr.Çağatay ÜNDEĞER Instructor Middle East Technical University, GameTechnologies & General Manager SimBT.
May 6, 2004 M. C. Lin Route Planning & Physically-based Modeling Using GPU Accelerated Computation Ming C. Lin University of North Carolina.
Pauly, Keiser, Kobbelt, Gross: Shape Modeling with Point-Sampled GeometrySIGGRAPH 2003 Shape Modeling with Point-Sampled Geometry Mark Pauly Richard Keiser.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 4: 3D Objects and Meshes Ravi Ramamoorthi
Collision Detection on the GPU Mike Donovan CIS 665 Summer 2009.
Adapted from: CULLIDE: Interactive Collision Detection Between Complex Models in Large Environments using Graphics Hardware Naga K. Govindaraju, Stephane.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Distance Fields Avneesh Sud COMP , Fall 2003.
UNC Chapel Hill M. C. Lin Overview of Last Lecture About Final Course Project –presentation, demo, write-up More geometric data structures –Binary Space.
Efficient Fitting and Rendering of Large Scattered Data Sets Using Subdivision Surfaces Vincent Scheib 1, Jörg Haber 2, Ming C. Lin 1, Hans-Peter Seidel.
Bounding Volume Hierarchies and Spatial Partitioning Kenneth E. Hoff III COMP-236 lecture Spring 2000.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Constraint-Based Motion Planning using Voronoi Diagrams Maxim Garber and Ming C. Lin Department of Computer.
The University of North Carolina at CHAPEL HILL A Simple Path Non-Existence Algorithm using C-obstacle Query Liang-Jun Zhang.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Geometric Computations on GPU: Proximity Queries Avneesh Sud &Dinesh Manocha.
ITUppsala universitet Data representation and fundamental algorithms Filip Malmberg
Measuring Map Quality Material & Presentation by: Richard Frank Simon Fraser University February 2004.
Computer Graphics Shadows
UNC Chapel Hill M. C. Lin Point Location Chapter 6 of the Textbook –Review –Algorithm Analysis –Dealing with Degeneracies.
Ioannis Karamouzas, Roland Geraerts, Mark Overmars Indicative Routes for Path Planning and Crowd Simulation.
A Navigation Mesh for Dynamic Environments Wouter G. van Toll, Atlas F. Cook IV, Roland Geraerts CASA 2012.
3D Object Representations 2005, Fall. Course Syllabus Image Processing Modeling Rendering Animation.
ADA: 14. Intro to CG1 Objective o give a non-technical overview of Computational geometry, concentrating on its main application areas Algorithm.
Dobrina Boltcheva, Mariette Yvinec, Jean-Daniel Boissonnat INRIA – Sophia Antipolis, France 1. Initialization Use the.
Dynamic Meshing Using Adaptively Sampled Distance Fields
University of Coimbra Reconstruction of Voxels from Sensor Data Ricardo Martins Coimbra, 19 th January 2010 Doctoral Programme in Electrical Engineering.
2D/3D Shape Manipulation, 3D Printing Shape Representations Slides from Olga Sorkine February 20, 2013 CS 6501.
Computer Graphics 2 Lecture 8: Visibility Benjamin Mora 1 University of Wales Swansea Pr. Min Chen Dr. Benjamin Mora.
Shape Analysis and Retrieval Structural Shape Descriptors Notes courtesy of Funk et al., SIGGRAPH 2004.
10/26/04© University of Wisconsin, CS559 Fall 2004 Last Time Drawing lines Polygon fill rules Midterm Oct 28.
Voronoi Diagrams and Problem Transformations Steven Love, supervised by: Jack Snoeyink and Dave Millman.
Adaptively Sampled Distance Fields Representing Shape for Computer Graphics Ronald N. Perry and Sarah F. Frisken Mitsubishi Electric Research Laboratories.
1 Shadows (2) ©Anthony Steed Overview n Shadows – Umbra Recap n Penumbra Analytical v. Sampling n Analytical Aspect graphs Discontinuity meshing.
Quick-CULLIDE: Efficient Inter- and Intra- Object Collision Culling using Graphics Hardware Naga K. Govindaraju, Ming C. Lin, Dinesh Manocha University.
Voronoi Diagram (Supplemental)
View-dependent Adaptive Tessellation of Spline Surfaces
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
112/5/ :54 Graphics II Image Based Rendering Session 11.
UNC Chapel Hill M. C. Lin Introduction to Motion Planning Applications Overview of the Problem Basics – Planning for Point Robot –Visibility Graphs –Roadmap.
Ramesh Raskar University of North Carolina at Chapel Hill Ramesh Raskar University of North Carolina at Chapel Hill Image Precision Silhouette Edges Michael.
Distance fields. The program Multiple perspectives: euclidean, analytic, transformational Build algebraic skills Foreshadow future math concepts Build.
A New Voronoi-based Reconstruction Algorithm
Graphics Graphics Korea University cgvr.korea.ac.kr 1 7. Speed-up Techniques Presented by SooKyun Kim.
9 of 18 Introduction to medial axis transforms and their computation Outline DefinitionsMAS PropertiesMAS CAD modelsTJC The challenges for computingTJC.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall D Object Representations Greg Humphreys University of Virginia CS 445, Fall 2003.
Delaunay Triangulation on the GPU
3D Object Representations 2011, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
CULLIDE: Interactive Collision Detection Between Complex Models in Large Environments using Graphics Hardware Presented by Marcus Parker By Naga K. Govindaraju,
DPL3/10/2016 CS 551/651: Simplification Continued David Luebke
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Bounding Volume Hierarchies and Spatial Partitioning
Real-Time Soft Shadows with Adaptive Light Source Sampling
Kenneth E. Hoff III, Tim Culver, John Keyser,
Bounding Volume Hierarchies and Spatial Partitioning
3D Object Representations
Domain-Modeling Techniques
GPGPU: Distance Fields
Presentation transcript:

Fast Computation of Generalized Voronoi Diagrams Using Graphics Hardware Kenneth E. Hoff III, Tim Culver, John Keyser, Ming Lin, and Dinesh Manocha University of North Carolina at Chapel Hill SIGGRAPH ‘99

What is a Voronoi Diagram? Given a collection of geometric primitives, it is a subdivision of space into cells such that all points in a cell are closer to one primitive than to any other Voronoi Site Voronoi Region

Ordinary Point sites Nearest Euclidean distance Generalized Higher-order site geometry Varying distance metrics Weighted Distances Higher-order Sites

Why Should We Compute Them? It is a fundamental concept DescartesAstronomy1644“Heavens” DirichletMath 1850Dirichlet tesselation VoronoiMath1908Voronoi diagram BoldyrevGeology1909area of influence polygons ThiessenMeteorology1911Theissen polygons NiggliCrystallography1927domains of action Wigner & SeitzPhysics1933Wigner-Seitz regions Frank & CasperPhysics1958atom domains BrownEcology1965areas potentially available MeadEcology1966plant polygons Hoofd et al.Anatomy1985capillary domains IckeAstronomy1987Voronoi diagram

Why Should We Compute Them? Useful in a wide variety of applications Collision Detection Surface Reconstruction Robot Motion Planning Non-Photorealistic Rendering Surface Simplification Mesh Generation Shape Analysis

What Makes Them Useful? “Ultimate” Proximity Information Nearest SiteMaximally Clear Path Density EstimationNearest Neighbors

Outline Generalized Voronoi Diagram Computation –Exact and Approximate Algorithms –Previous Work –Our Goal Basic Idea Our Approach Basic Queries Applications Conclusion

Generalized Voronoi Diagram Computation “Exact” Algorithms Computes Analytic Boundary Previous work Lee82 Chiang92 Okabe92 Dutta93 Milenkovic93 Hoffmann94 Sherbrooke95 Held97 Culver99

Previous Work: “Exact” Algorithms Compute analytic boundaries but... Boundaries composed of high-degree curves and surfaces and their intersections Complex and difficult to implement Robustness and accuracy problems

Generalized Voronoi Diagram Computation Analytic BoundaryDiscretize SitesDiscretize Space Exact Algorithm Approximate Algorithms Previous work Lavender92, Sheehy95, Vleugels 95 & 96, Teichmann97

Previous Work: Approximate Algorithms Provide practical solutions but... Difficult to error-bound Restricted to static geometry Relatively slow

Our Goal Simple to understand and implement Easily generalized Efficient and practical Approximate generalized Voronoi diagram computation that is: with all sources of error fully enumerated

Outline Generalized Voronoi Diagram Computation Basic Idea –Brute-force Algorithm –Cone Drawing –Graphics Hardware Acceleration Our Approach Basic Queries Applications Conclusion

Brute-force Algorithm Record ID of the closest site to each sample point Coarse point-sampling result Finer point-sampling result

Cone Drawing To visualize Voronoi diagram for points in 2D… Perspective, 3/4 viewParallel, top view Dirichlet 1850 & Voronoi 1908

Graphics Hardware Acceleration Our 2-part discrete Voronoi diagram representation Distance Depth Buffer Site IDs Color Buffer Simply rasterize the cones using graphics hardware Haeberli90, Woo97

Outline Generalized Voronoi Diagram Computation Basic Idea Our Approach –Meshing Distance Function –Generalizations –3D –Sources of Error Basic Queries Applications Conclusion

The Distance Function PointLineTriangle Evaluate distance at each pixel for all sites Accelerate using graphics hardware

Approximating the Distance Function Avoid per-pixel distance evaluation Point-sample the distance function Reconstruct by rendering polygonal mesh PointLineTriangle

The Error Bound Error bound is determined by the pixel resolution   farthest distance a point can be from a pixel sample point Close-up of pixel grid

Meshing the Distance Function Shape of distance function for a 2D point is a cone Need a bounded-error tessellation of the cone

Shape of Distance Functions Sweep apex of cone along higher-order site to obtain the shape of the distance function

Example Distance Meshes

Curves Tessellate curve into a polyline Tessellation error is added to meshing error

Weighted and Farthest Distance NearestFarthestWeighted

3D Voronoi Diagrams Graphics hardware can generate one 2D slice at a time Point sites

3D Voronoi Diagrams Slices of the distance function for a 3D point site Distance meshes used to approximate slices

3D Voronoi Diagrams PointLine segmentTriangle 1 sheet of a hyperboloid Elliptical conePlane

3D Voronoi Diagrams Points and a trianglePolygonal model

Sources of Error Distance Error –Meshing –Tessellation –Hardware Precision Combinatorial Error –Distance –Pixel Resolution –Z-buffer Precision

Adaptive Resolution Zoom in to reduce resolution error...

Outline Generalized Voronoi Diagram Computation Basic Idea Our Approach Basic Queries –Nearest Site –Boundary Finding –Nearest-Neighbor Finding –Maximally Clear Point Applications Conclusion

Nearest Site Table lookup on query point

Boundary Finding Isosurface extraction : boundary walking Offset difference image to mark boundary pixels

Nearest-Neighbor Finding Which colors touch in the image? Walk the boundaries (like boundary finding)

Maximally Clear Point Point with the largest depth value (greatest distance)

Outline Generalized Voronoi Diagram Computation Basic Idea Our Approach Basic Operations Applications –Motion Planning –Medial Axis Computation –Dynamic Mosaics Conclusion

Real-time Motion Planning : Static Scene Plan motion of piano (arrow) through 100K triangle model Distance buffer of floorplan used as potential field

Real-time Motion Planning : Dynamic Scene Plan motion of music stand around moving furniture Distance buffer of floor-plan used as potential field

Medial Axis Computation Per-feature Voronoi diagram Per-feature-color distance mesh Internal Voronoi diagram

Dynamic Mosaics Static mosaics by Paul Haeberli in SIGGRAPH ‘ moving points Source image Dynamic Mosaic Tiling

Outline Generalized Voronoi Diagram Computation Basic Idea Our Approach Basic Operations Applications Conclusion

Meshing Distance Functions Graphics Hardware Acceleration Brute-force Approach Fast and Simple, Approximate Generalized Voronoi Diagrams Bounded Error +

Future Work Improve distance meshing for 3D primitives More applications –Motion planning with more degrees of freedom –Accelerate exact Voronoi diagram computation –Surface reconstruction –Medical imaging: segmentation and registration –Finite-element mesh generation

Acknowledgements Sarah Hoff Chris Weigle Stefan Gottschalk Mark Peercy UNC Computer Science SGI Advanced Graphics Berkeley Walkthrough Group

Acknowledgements Army Research Office National Institute of Health National Science Foundation Office of Naval Research Intel

Live Demo...