Skip to content
This repository has been archived by the owner on Jul 18, 2018. It is now read-only.

Benchmark of various spatial data structures for collision detection.

License

Notifications You must be signed in to change notification settings

ttvd/spatial-collision-datastructures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spatial Collision Test Image

This project is a benchmark tool used to assess performance of different collision detection data structures.

Most of these data structures were taken Christer Ericson's Real-Time collision detection (Morgan Kaufmann Publishers 2004) book.

The Kd-Tree SAH idea was taken from Maxim Shevtsov, Alexei Soupikov, Alexander 
Kapustin, Intel
 Corporation, 2007, "Highly Parallel Fast KD‐tree Construction for Interactive Ray Tracing of Dynamic Scenes" paper.

The implemented data structures are:

  • Bruteforce (for reference)
  • Sort and Sweep (Sweep and Prune)
  • Uniform Grid
  • Hierarchical Grid
  • Octree
  • Loose Octree
  • Kd-Tree (using SAH)

A small demo application was written (using GLUT and FF OpenGL) to help visualize and compare the tested data structures.

Please see LICENSE file for License information.
All code is (c) Mykola Konyk, 2008.

About

Benchmark of various spatial data structures for collision detection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published