I assume you've tried the mother of all databases, namely http://en.wikipedia.org/wiki/Octree
But if you want source code, try octree.pas from GLScene.
If you install GLScene, there is a nice Octree demo in the demos/collisions/octree folder.
Regards,
Ian.
View code: http://glscene.svn.sourceforge.net/v...as?view=markup
Bookmarks