PDA

View Full Version : Rotate a 3D object in OpenGL ES



2graphicx2
03-24-2013, 11:50 PM
I have a 3D object rendered in OpenGL ES in iPhone.

When I touch the screen at some point say x-angle from the center. The object should be rotated proportional to the touch and slowly back to the original position.

Can anyone kindly suggest how to do it?

Alfonse Reinheart
03-25-2013, 01:16 AM
FYI: This is a desktop OpenGL forum, not an OpenGL ES forum. That's over here (http://www.khronos.org/message_boards/viewforum.php?f=19&sid=f744a48ab00c44e9992d1ccbdae29554), though it's not exactly the most frequented place on the internet.