How can i make a small rectangle(car) follow a path(road) which is not straight,with curves…?
Please let me know about any animations possible using GLUT or basic OpenGl itself concerning the topic above
Use parametric curves (Bezier’s etc) to design your roads. Then use these curves to position the paths that the cars should take (+/- lane width sideways).