How to model cogs which rotate in OpenGL?

i have to model a pair of cogs which rotate in unison with one another as they would in real life. they must have depth and the user must be able to view them from any angle. as a complete beginner can anyone give me any pointers as to how i could start?

my email address is roy.watson@btinternet.com

thanks for any help!

Well, first you’ll need the gear models either as an external file resource or procedurally generated. Then you simply base the angular velocity of the gears on the speed of the driving gear and the gear ratios involved.

Check out the OpenGL Challenge website. There was a Gears challenge a while back.