Review Methods for convex polytopes See video demonstration

Slides:



Advertisements
Similar presentations
2.5. B ASIC P RIMITIVE I NTERSECTION Details of common forms of primitive intersection test.
Advertisements

Christian Lauterbach COMP 770, 2/16/2009. Overview  Acceleration structures  Spatial hierarchies  Object hierarchies  Interactive Ray Tracing techniques.
Intersection Testing Chapter 13 Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology.
CSE 681 Bounding Volumes. CSE 681 Bounding Volumes Use simple volume enclose object(s) tradeoff for rays where there is extra intersection test for object.
2.3. B OUNDING V OLUMES Bounding volumes of use for collision detection.
Collision Detection CSCE /60 What is Collision Detection?  Given two geometric objects, determine if they overlap.  Typically, at least one of.
Collision Detection and Resolution Zhi Yuan Course: Introduction to Game Development 11/28/
Computer graphics & visualization Collisions. computer graphics & visualization Simulation and Animation – SS07 Jens Krüger – Computer Graphics and Visualization.
Ray Tracing CMSC 635. Basic idea How many intersections?  Pixels  ~10 3 to ~10 7  Rays per Pixel  1 to ~10  Primitives  ~10 to ~10 7  Every ray.
Geometric Representations & Collision Detection Kris Hauser I400/B659: Intelligent Robotics Spring 2014.
Week 14 - Monday.  What did we talk about last time?  Bounding volume/bounding volume intersections.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
Collision Detection CSE 191A: Seminar on Video Game Programming Lecture 3: Collision Detection UCSD, Spring, 2003 Instructor: Steve Rotenberg.
Bounding Volume Hierarchy “Efficient Distance Computation Between Non-Convex Objects” Sean Quinlan Stanford, 1994 Presented by Mathieu Brédif.
GPU Proximity Queries with Swept Sphere Volumes COMP Robotics Project Proposal Qi Mo.
Tomas Mőller © 2000 Speeding up your game The scene graph Culling techniques Level-of-detail rendering (LODs) Collision detection Resources and pointers.
UNC Chapel Hill M. C. Lin References Collision Detection between Geometric Models: A Survey, by M. Lin and S. Gottschalk, Proc. of IMA Conference on Mathematics.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Continuous Collision Detection David Knott COMP 259 class presentation.
Overview Class #10 (Feb 18) Assignment #2 (due in two weeks) Deformable collision detection Some simulation on graphics hardware... –Thursday: Cem Cebenoyan.
OBBTree: A Hierarchical Structure for Rapid Interference Detection Gottschalk, M. C. Lin and D. ManochaM. C. LinD. Manocha Department of Computer Science,
UNC Chapel Hill M. C. Lin Overview of Last Lecture About Final Course Project –presentation, demo, write-up More geometric data structures –Binary Space.
Bounding Volume Hierarchies and Spatial Partitioning Kenneth E. Hoff III COMP-236 lecture Spring 2000.
Proximity Queries Using Spatial Partitioning & Bounding Volume Hierarchy Dinesh Manocha Department of Computer Science University of North Carolina at.
Apex Point Map for Constant-Time Bounding Plane Approximation Samuli Laine Tero Karras NVIDIA.
1 Advanced Scene Management System. 2 A tree-based or graph-based representation is good for 3D data management A tree-based or graph-based representation.
Hybrid Bounding Volumes for Distance Queries Distance Query returns the minimum distance between two geometric models Major application is path planning.
Collision Detection David Johnson Cs6360 – Virtual Reality.
Computer graphics & visualization Collision Detection – Narrow Phase.
11/25/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Managing large numbers of objects Colliding spheres with things (spheres being common.
12/4/2001CS 638, Fall 2001 Today Using separating planes/axes for collision testing Collision detection packages.
Computer Graphics 2 Lecture x: Acceleration Techniques for Ray-Tracing Benjamin Mora 1 University of Wales Swansea Dr. Benjamin Mora.
Data Structures for Computer Graphics Point Based Representations and Data Structures Lectured by Vlastimil Havran.
Spatial Data Structures Jason Goffeney, 4/26/2006 from Real Time Rendering.
10/09/2001CS 638, Fall 2001 Today Spatial Data Structures –Why care? –Octrees/Quadtrees –Kd-trees.
1 Speeding Up Ray Tracing Images from Virtual Light Field Project ©Slides Anthony Steed 1999 & Mel Slater 2004.
CSE 381 – Advanced Game Programming Quickhull and GJK.
Collision handling: detection and response
CSL 859: Advanced Computer Graphics Dept of Computer Sc. & Engg. IIT Delhi.
Collision Detection & Bounding Boxes 數位內容學院 遊戲開發研究班第一期 3D 圖學 沈育德 Edward Shen May 28, 2005.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Collisions & Contact.
Week 13 - Monday.  What did we talk about last time?  Exam 2!  Before that…  Polygonal techniques ▪ Tessellation and triangulation  Triangle strips,
Collision/Acceleration University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
PRESENTED BY – GAURANGI TILAK SHASHANK AGARWAL Collision Detection.
1 KIPA Game Engine Seminars Jonathan Blow Ajou University December 6, 2002 Day 10.
CIS 350 – I Game Programming Instructor: Rolf Lakaemper.
Chapter 11 Collision Detection 가상현실 입문 그래픽스 연구실 민성환.
Advanced Computer Graphics Spring 2009
Presented by Paul Phipps
3D Object Representations 2011, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
CSE554Contouring IISlide 1 CSE 554 Lecture 5: Contouring (faster) Fall 2015.
CSE554Contouring IISlide 1 CSE 554 Lecture 3: Contouring II Fall 2011.
CSE554Contouring IISlide 1 CSE 554 Lecture 5: Contouring (faster) Fall 2013.
Ray Tracing Optimizations
David Luebke 3/5/2016 Advanced Computer Graphics Lecture 4: Faster Ray Tracing David Luebke
Interactive Continuous Collision Detection for Polygon Soups Xin Huang 11/20/2007.
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Minkowski Sums and Distance Computation Eric Larsen COMP
Hierarchical Data Structure in Game Programming Yanci Zhang Game Programming Practice.
CS552: Computer Graphics Lecture 28: Solid Modeling.
CSE 554 Lecture 5: Contouring (faster)
Bounding Volume Hierarchies and Spatial Partitioning
Collision Detection Spring 2004.
Bounding Volume Hierarchies and Spatial Partitioning
Deformable Collision Detection
3D Object Representations
Parts of these slides are based on
Computer Animation Algorithms and Techniques
Collision Detection.
Deformable Collision Detection
David Johnson Cs6360 – Virtual Reality
Presentation transcript:

Review Methods for convex polytopes See video demonstration Last week’s lectures See video demonstration How about non-convex? This week’s lectures UNC Chapel Hill M. C. Lin

Reading Assignments Interactive Collision Detection, by P. M. Hubbard, Proc. of IEEE Symposium on Research Frontiers in Virtual Reality, 1993. Evaluation of Collision Detection Methods for Virtual Reality Fly-Throughs, by Held, Klosowski and Mitchell, Proc. of Canadian Conf. on Computational Geometry 1995. Efficient collision detection using bounding volume hierarchies of k-dops, by J. Klosowski, M. Held, J. S. B. Mitchell, H. Sowizral, and K. Zikan, IEEE Trans. on Visualization and Computer Graphics, 4(1):21--37, 1998. UNC Chapel Hill M. C. Lin

Reading Assignments OBB-Tree: A Hierarchical Structure for Rapid Interference Detection, by S. Gottschalk, M. Lin and D. Manocha, Proc. of ACM Siggraph, 1996. Rapid and Accurate Contact Determination between Spline Models using ShellTrees, by S. Krishnan, M. Gopi, M. Lin, D. Manocha and A. Pattekar, Proc. of Eurographics 1998. Fast Proximity Queries with Swept Sphere Volumes, by Eric Larsen, Stefan Gottschalk, Ming C. Lin, Dinesh Manocha, Technical report TR99-018, UNC-CH, CS Dept, 1999. (Part of the paper in Proc. of IEEE ICRA’2000) UNC Chapel Hill M. C. Lin

Methods for General Models Decompose into convex pieces, and take minimum over all pairs of pieces: Optimal (minimal) model decomposition is NP-hard. Approximation algorithms exist for closed solids, but what about a list of triangles? Collection of triangles/polygons: n*m pairs of triangles - brute force expensive Hierarchical representations used to accelerate minimum finding UNC Chapel Hill M. C. Lin

Hierarchical Representations Two Common Types: Bounding volume hierarchies – trees of spheres, ellipses, cubes, axis-aligned bounding boxes (AABBs), oriented bounding boxes (OBBs), K-dop, SSV, etc. Spatial decomposition - BSP, K-d trees, octrees, MSP tree, R-trees, grids/cells, space-time bounds, etc. Do very well in “rejection tests”, when objects are far apart Performance may slow down, when the two objects are in close proximity and can have multiple contacts UNC Chapel Hill M. C. Lin

BVH vs. Spatial Partitioning BVH: SP: - Object centric - Space centric - Spatial redundancy - Object redundancy UNC Chapel Hill M. C. Lin

BVH vs. Spatial Partitioning BVH: SP: - Object centric - Space centric - Spatial redundancy - Object redundancy UNC Chapel Hill M. C. Lin

BVH vs. Spatial Partitioning BVH: SP: - Object centric - Space centric - Spatial redundancy - Object redundancy UNC Chapel Hill M. C. Lin

BVH vs. Spatial Partitioning BVH: SP: - Object centric - Space centric - Spatial redundancy - Object redundancy UNC Chapel Hill M. C. Lin

Spatial Data Structures & Subdivision Uniform Spatial Sub Quadtree/Octree kd-tree BSP-tree Many others…… UNC Chapel Hill M. C. Lin

Uniform Spatial Subdivision Decompose the objects (the entire simulated environment) into identical cells arranged in a fixed, regular grids (equal size boxes or voxels) To represent an object, only need to decide which cells are occupied. To perform collision detection, check if any cell is occupied by two object Storage: to represent an object at resolution of n voxels per dimension requires upto n3 cells Accuracy: solids can only be “approximated” UNC Chapel Hill M. C. Lin

Octrees Quadtree is derived by subdividing a 2D-plane in both dimensions to form quadrants Octrees are a 3D-extension of quadtree Use divide-and-conquer Reduce storage requirements (in comparison to grids/voxels) UNC Chapel Hill M. C. Lin

Bounding Volume Hierarchies Model Hierarchy: each node has a simple volume that bounds a set of triangles children contain volumes that each bound a different portion of the parent’s triangles The leaves of the hierarchy usually contain individual triangles A binary bounding volume hierarchy: UNC Chapel Hill M. C. Lin

Type of Bounding Volumes Spheres Ellipsoids Axis-Aligned Bounding Boxes (AABB) Oriented Bounding Boxes (OBBs) Convex Hulls k-Discrete Orientation Polytopes (k-dop) Spherical Shells Swept-Sphere Volumes (SSVs) Point Swetp Spheres (PSS) Line Swept Spheres (LSS) Rectangle Swept Spheres (RSS) Triangle Swept Spheres (TSS) UNC Chapel Hill M. C. Lin

BVH-Based Collision Detection UNC Chapel Hill M. C. Lin

Collision Detection using BVH 1. Check for collision between two parent nodes (starting from the roots of two given trees) 2. If there is no interference between two parents, 3.  Then stop and report “no collision” 4. Else All children of one parent node are checked against all children of the other node 5. If there is a collision between the children 6.  Then If at leave nodes 7.  Then report “collision” 8. Else go to Step 4 9. Else stop and report “no collision” UNC Chapel Hill M. C. Lin

Evaluating Bounding Volume Hierarchies   Cost Function: F = Nu x Cu + Nbv x Cbv + Np x Cp   F: total cost function for interference detection Nu: no. of bounding volumes updated Cu: cost of updating a bounding volume, Nbv: no. of bounding volume pair overlap tests Cbv: cost of overlap test between 2 BVs Np: no. of primitive pairs tested for interference Cp: cost of testing 2 primitives for interference UNC Chapel Hill M. C. Lin

Designing Bounding Volume Hierarchies The choice governed by these constraints: It should fit the original model as tightly as possible (to lower Nbv and Np) Testing two such volumes for overlap should be as fast as possible (to lower Cbv) It should require the BV updates as infrequently as possible (to lower Nu) UNC Chapel Hill M. C. Lin

Observations Simple primitives (spheres, AABBs, etc.) do very well with respect to the second constraint. But they cannot fit some long skinny primitives tightly. More complex primitives (minimal ellipsoids, OBBs, etc.) provide tight fits, but checking for overlap between them is relatively expensive. Cost of BV updates needs to be considered. UNC Chapel Hill M. C. Lin

Trade-off in Choosing BV’s AABB OBB Sphere Convex Hull 6-dop increasing complexity & tightness of fit decreasing cost of (overlap tests + BV update) UNC Chapel Hill M. C. Lin

Building Hierarchies Choices of Bounding Volumes cost function & constraints Top-Down vs. Bottum-up speed vs. fitting Depth vs. breadth branching factors Splitting factors where & how UNC Chapel Hill M. C. Lin

Sphere-Trees A sphere-tree is a hierarchy of sets of spheres, used to approximate an object Advantages: Simplicity in checking overlaps between two bounding spheres Invariant to rotations and can apply the same transformation to the centers, if objects are rigid Shortcomings: Not always the best approximation (esp bad for long, skinny objects) Lack of good methods on building sphere-trees UNC Chapel Hill M. C. Lin

Methods for Building Sphere-Trees “Tile” the triangles and build the tree bottom-up Covering each vertex with a sphere and group them together Start with an octree and “tweak” Compute the medial axis and use it as a skeleton for multi-res sphere-covering Others…… UNC Chapel Hill M. C. Lin

k-DOP’s k-dop: k-discrete orientation polytope a convex polytope whose facets are determined by half-spaces whose outward normals come from a small fixed set of k orientations For example: In 2D, an 8-dop is determined by the orientation at +/- {45,90,135,180} degrees In 3D, an AABB is a 6-dop with orientation vectors determined by the +/-coordinate axes. UNC Chapel Hill M. C. Lin

Choices of k-dops in 3D 6-dop: defined by coordinate axes 14-dop: defined by the vectors (1,0,0), (0,1,0), (0,0,1), (1,1,1), (1,-1,1), (1,1,-1) and (1,-1,-1) 18-dop: defined by the vectors (1,0,0), (0,1,0), (0,0,1), (1,1,0), (1,0,1), (0,1,1), (1,-1,0), (1,0,-1) and (0,1,-1) 26-dop: defined by the vectors (1,0,0), (0,1,0), (0,0,1), (1,1,1), (1,-1,1), (1,1,-1), (1,-1,-1), (1,1,0), (1,0,1), (0,1,1), (1,-1,0), (1,0,-1) and (0,1,-1) UNC Chapel Hill M. C. Lin

Building Trees of k-dops The major issue is updating the k-dops: Use Hill Climbing (as proposed in I-Collide) to update the min/max along each k/2 directions by comparing with the neighboring vertices But, the object may not be convex…… Use the approximation (convex hull vs. another k-dop) UNC Chapel Hill M. C. Lin

Recursive top-down construction: Building an OBBTree Recursive top-down construction: partition and refit UNC Chapel Hill M. C. Lin

Building an OBB Tree Given some polygons, consider their vertices... UNC Chapel Hill M. C. Lin

Building an OBB Tree … and an arbitrary line UNC Chapel Hill M. C. Lin

Building an OBB Tree Project onto the line Consider variance of distribution on the line UNC Chapel Hill M. C. Lin

Building an OBB Tree Different line, different variance UNC Chapel Hill M. C. Lin

Building an OBB Tree Maximum Variance UNC Chapel Hill M. C. Lin

Building an OBB Tree Minimal Variance UNC Chapel Hill M. C. Lin

Building an OBB Tree Given by eigenvectors of covariance matrix of coordinates of original points UNC Chapel Hill M. C. Lin

Building an OBB Tree Choose bounding box oriented this way UNC Chapel Hill M. C. Lin

Building an OBB Tree: Fitting Covariance matrix of point coordinates describes statistical spread of cloud. OBB is aligned with directions of greatest and least spread (which are guaranteed to be orthogonal). UNC Chapel Hill M. C. Lin

Fitting OBBs Let the vertices of the i'th triangle be the points ai, bi, and ci, then the mean µ and covariance matrix C can be expressed in vector notation as: where n is the number of triangles, and UNC Chapel Hill M. C. Lin

Building an OBB Tree Good Box UNC Chapel Hill M. C. Lin

Building an OBB Tree Add points: worse Box UNC Chapel Hill M. C. Lin

Building an OBB Tree More points: terrible box UNC Chapel Hill M. C. Lin

Building an OBB Tree Compute with extremal points only UNC Chapel Hill M. C. Lin

Building an OBB Tree “Even” distribution: good box UNC Chapel Hill M. C. Lin

Building an OBB Tree “Uneven” distribution: bad box UNC Chapel Hill M. C. Lin

Building an OBB Tree Fix: Compute facets of convex hull... UNC Chapel Hill M. C. Lin

Building an OBB Tree Better: Integrate over facets UNC Chapel Hill M. C. Lin

Building an OBB Tree … and sample them uniformly UNC Chapel Hill M. C. Lin

Building an OBB Tree: Summary OBB Fitting algorithm: covariance-based use of convex hull not foiled by extreme distributions O(n log n) fitting time for single BV O(n log2 n) fitting time for entire tree UNC Chapel Hill M. C. Lin

Disjoint bounding volumes: Tree Traversal Disjoint bounding volumes: No possible collision UNC Chapel Hill M. C. Lin

Tree Traversal Overlapping bounding volumes: split one box into children test children against other box UNC Chapel Hill M. C. Lin

Tree Traversal UNC Chapel Hill M. C. Lin

Tree Traversal Hierarchy of tests UNC Chapel Hill M. C. Lin

Separating Axis Theorem L is a separating axis for OBBs A & B, since A & B become disjoint intervals under projection onto L UNC Chapel Hill M. C. Lin

Separating Axis Theorem Two polytopes A and B are disjoint iff there exists a separating axis which is: perpendicular to a face from either or perpedicular to an edge from each UNC Chapel Hill M. C. Lin

Implications of Theorem Given two generic polytopes, each with E edges and F faces, number of candidate axes to test is: 2F + E2 OBBs have only E = 3 distinct edge directions, and only F = 3 distinct face normals. OBBs need at most 15 axis tests. Because edge directions and normals each form orthogonal frames, the axis tests are rather simple. UNC Chapel Hill M. C. Lin

OBB Overlap Test: An Axis Test h a h b s h + > L is a separating axis iff: a b UNC Chapel Hill M. C. Lin

OBB Overlap Test: Axis Test Details Box centers project to interval midpoints, so midpoint separation is length of vector T’s image. UNC Chapel Hill M. C. Lin

OBB Overlap Test: Axis Test Details Half-length of interval is sum of box axis images. UNC Chapel Hill M. C. Lin

OBB Overlap Test Typical axis test for 3-space. Up to 15 tests required. s = fabs(T2 * R11 - T1 * R21); ha = a1 * Rf21 + a2 * Rf11; hb = b0 * Rf02 + b2 * Rf00; if (s > (ha + hb)) return 0; UNC Chapel Hill M. C. Lin

OBB Overlap Test Strengths of this overlap test: 89 to 252 arithmetic operations per box overlap test Simple guard against arithmetic error No special cases for parallel/coincident faces, edges, or vertices No special cases for degenerate boxes No conditioning problems Good candidate for micro-coding UNC Chapel Hill M. C. Lin

OBB Overlap Tests: Comparison Benchmarks performed on SGI Max Impact, 250 MHz MIPS R4400 CPU, MIPS R4000 FPU UNC Chapel Hill M. C. Lin

Parallel Close Proximity Two models are in parallel close proximity when every point on each model is a given fixed distance (e) from the other model. In order to quantify the performance of the various BV types, we consider an easily parameterized configuration: parallel close proximity. When the models are concentric, every point on one model is a fixed distance (epsilon) from the other model, and vice-versa. This is our definition of transverse contact. This means the two models are offset surfaces of one another, and the offset is the gap size (epsilon). As epsilon decreases, we will have to descend the hierarchies more and more deeply in order to bound the models apart. How far will we have to go? That depends on the specific shape of the bounding volumes. Q: How does the number of BV tests increase as the gap size decreases? UNC Chapel Hill M. C. Lin

Parallel Close Proximity: Convergence 1 Consider two bounding volumes covering opposing parallel segments. We will call the distance between the segments one unit. UNC Chapel Hill M. C. Lin

Parallel Close Proximity: Convergence 1 2 / 1 4 / When the separation is cut in half, we have to BVs half as big, which means we have to use twice as many. On each successive halving of the gap, we double the number of BV required. At each successive level, each sphere covers half the length of segment as the level above, and each sphere sticks out half as far away from the segment. Because the length covered and the amount extended from the segment diminish proportionally, we say spheres have linear convergence. UNC Chapel Hill M. C. Lin

Parallel Close Proximity: Convergence 1 For AABBs, the reasoning is the same. Consider the two line segments, and the AABBs which bound them. If the segments were themselves axis-aligned, then the AABBs would fit perfectly. Let us assume the segments are tilted some arbitrary amount. Then, let us define the closest distance they can get without the AABBs touching to be one unit. UNC Chapel Hill M. C. Lin

Parallel Close Proximity: Convergence 1 4 / 1 2 / Now, keeping the tilt angle the same, but cutting the gap size in half results in a doubling of the number of required AABBs. This is true regardless of the angle of the line. As with spheres, with each successive level of the hierarchy, the amount the AABB extends outward from the segment diminishes at the same rate as does the amount of segment covered, so AABBs have linear convergence. UNC Chapel Hill M. C. Lin

Parallel Close Proximity: Convergence 1 OBBs are different. First of all, any straight segment of any tilt angle would be bounded perfectly by a well-fitted OBB, so we will assume we are working with parallel arcs of low curvature. Given the arcs of specific curvature, position them as closely as possible without letting the OBBs touch. Note, the longer the radius of curvature relative to the size of the OBBs, the tighter the fit will be. UNC Chapel Hill M. C. Lin

Parallel Close Proximity: Convergence 1 16 / 1 4 / If the curvature is low, then will be able to reduce the gap by approximately a factor of four, and still bound the arcs apart by only doubling the number of OBBs. Each additional factor of four reduction in gap size doubles the number of OBBs. One way of thinking about this is that the radius of curvature stays fixed, but since the OBBs are getting smaller, the radius curvature is increasing relative to the OBBs, and hence, the fit is getting progressively tighter. The amount the OBB extends away from the arc is proportional to the SQUARE of the arc length covered. UNC Chapel Hill M. C. Lin

Parallel Close Proximity: Convergence 1 4 / 1 4 / 1 4 / Now, notice what quartering the gap does with each BV type. It quadruples the number of BVs required by spheres and AABBs, but it only doubles the number required by OBBs. This means that for every quartering of the gap, we descend additional two levels of the sphere and AABB trees, but only one additional level of the OBB tree. UNC Chapel Hill M. C. Lin

Performance: Overlap Tests OBBs Spheres & AABBs k O(n) 2k O(n2) UNC Chapel Hill M. C. Lin

OBBs asymptotically outperform AABBs and spheres Parallel Close Proximity: Experiment Log-log plot Number of BV tests We verify this in the plot of BV tests versus gap size. This log-log plot shows gap size for concentric spheres on the x-axis, and number of BV tests for that configuration -- the experiment was repeated for each BV type. For extremely large gap sizes, on the right, we have a unit size sphere model inside a very large sphere model -- and there is some minimum number of BV tests required to determine non contact. Then, as we reduce the gap size, we start seeing an increase in the number of BV tests needed -- but the rate of increase of the AABB and sphere tests is greater than the rate of increase of the OBB tests. In fact, the slopes are different -- the AABB and sphere slopes are approximately twice that of the OBB slope. On a log-log plot, only monomial functions are straight lines, and the slope is the degree of the monomial. This means the slope -2 of the AABBs and sphere indicates v = O(1/e^2) and the -2 slope for OBBs means v = O(1/e). So indeed, the former is the square of the latter. Gap Size (e) OBBs asymptotically outperform AABBs and spheres UNC Chapel Hill M. C. Lin

Example: AABB’s vs. OBB’s Approximation of a Torus UNC Chapel Hill M. C. Lin

Implementation: RAPID Available at: http://www.cs.unc.edu/~geom/OBB Part of V-COLLIDE: http://www.cs.unc.edu/~geom/V_COLLIDE Thousands of users have ftp’ed the code Used for virtual prototyping, dynamic simulation, robotics & computer animation UNC Chapel Hill M. C. Lin

Hybrid Hierarchy of Swept Sphere Volumes PSS LSS RSS [LGLM99] UNC Chapel Hill M. C. Lin

Swept Sphere Volumes (S-topes) PSS LSS RSS UNC Chapel Hill M. C. Lin

SSV Fitting Use OBB’s code based upon Principle Component Analysis For PSS, use the largest dimension as the radius For LSS, use the two largest dimensions as the length and radius For RSS, use all three dimensions UNC Chapel Hill M. C. Lin

Overlap Test One routine that can perform overlap tests between all possible combination of CORE primitives of SSV(s). The routine is a specialized test based on Voronoi regions and OBB overlap test. It is faster than GJK. UNC Chapel Hill M. C. Lin

Hybrid BVH’s Based on SSVs Use a simpler BV when it prunes search equally well - benefit from lower cost of BV overlap tests Overlap test (based on Lin-Canny & OBB overlap test) between all pairs of BV’s in a BV family is unified Complications deciding which BV to use either dynamically or statically UNC Chapel Hill M. C. Lin

PQP: Implementation Library written in C++ Good for any proximity query 5-20x speed-up in distance computation over prior methods Available at http://www.cs.unc.edu/~geom/SSV/ UNC Chapel Hill M. C. Lin