PDA

View Full Version : I need a rotating and translating program



michael2423
02-24-2010, 03:05 PM
I need a program which demonstrates translate and rotate functions in opengl. Coordinates should be in 3d. But the shape should be 2d. When clicking left button of the mouse there should appear two options: "1.translate" "2.rotate". When clicking those menus it should translate or rotate a triangle. Can you help me with that program?

ZbuffeR
02-24-2010, 03:27 PM
No offense, but is that homework or paid work ?
http://www.opengl.org/sdk/docs/tutorials/
http://nehe.gamedev.net/
Read any tutorial about GLUT menus.
Then any tutorial about translations.
Then come back if you have *specific* problems.