non-polygonal collision detection using opengl

I’ve developed small demo. It demonstrates interesting collision detection and collision response method: using many glReadPixels captured z-buffer images to represent 3D scene as 2d-layers of height data (pre-rendered). In this way we can use easy and fast 2d collision detection and response algorithms in full featured 3d world. I want to discuss about and improve this technique.

DOWNLOAD: (771kb) Delphi source included. Run example1.


slightly improved version released

full source code released