Still experimenting with OpenGL, Today's example is about Collision Detection. As you can see from the screenshot... There's two crates and a wire sphere (I've no texture for that).. from the post title, you can imagine that the sphere moves in the direction of a crate and when it collided with the crate it changes its direction.
The Source code is available here: GLData Collision Detection Example Source Code. Just type python build.py to build and run (Linux, Mac).