OpenGL 2D Collision Detection
Basically, for my degree, I need to create a 2D track-based game using openGL and C++, and I was looking for tutorials/information on two collision detection techniques.
1 - Colour Detection. I basically want to read the colour of the surface beneath my car (so either track, or grass) and slow him down if he's on grass, or stop him in front of a wall, etc.
2 - Bounding Boxes. I've found a few tutorials about this, but I was wondering if anybody could throw any more at me =)