homeBlog | Tags | Archives | Projects | Search | Stats | Contact

Hardware-accelerated 2D collision detection in OpenGL

Jul 11, 2007

no comments
Popularity: 1%

I wrote a better document about the algorithm. Includes source code.
The idea
Did you know you can do pixel accurate collision detection using the OpenGL stencil buffer and occlusion queries? I got this idea while working on a 2D/3D game engine (think of a side-scroller but with 3D objects).

A proof that this actually works [...]

Read more...