1 / 5

Collision Detection Optimization

Collision Detection Optimization. By: Iskandar Ng Eng Guan. Optimization Approaches. Bounding Volume: Sphere Box (AABB, OBB) K-DOP (Discrete Orientation Polytope ) Convex Hull Spatial Partitioning: Octree (1->8 1 ->8 2 ->8 3 ->8 n leaves)

morrison
Download Presentation

Collision Detection Optimization

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Collision Detection Optimization By: Iskandar Ng Eng Guan

  2. Optimization Approaches • Bounding Volume: • Sphere • Box (AABB, OBB) • K-DOP (Discrete Orientation Polytope) • Convex Hull • Spatial Partitioning: • Octree(1->81->82->83->8n leaves) • BSP tree (1->21->22->23->2nleaves) • Hash Function

  3. Bounding Volume Sphere 1. Bounding Sphere 2. Sphere Intersection AABB Collision when: d < r1+r2

  4. Spatial Partitioning Octree • Represent the 3D volume with a cube. • Subdivide cube by half in each direction: We get 8 sub-cubes. • Repeatedly subdivide each sub-cube the same way.

  5. Conclusion • Design Factor: • Geometry representation • Bounding Volume Simplification • Type of queries • Simulation parameter • Rigid, • # objects, • Interpenetrate • Ease of implementation • Ensure deliverable project

More Related