PDA

View Full Version : How to model cogs which rotate in OpenGL?



01-19-2001, 05:30 AM
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!

DFrey
01-19-2001, 05:39 AM
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.

shawge
01-19-2001, 12:54 PM
Check out the OpenGL Challenge website. There was a Gears challenge a while back.