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: http://www.igrodel.ru/upload/myengine-2008-2-20.zip (771kb) Delphi source included. Run example1.