iDevGames Forums
Cube auto-rotate - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: Cube auto-rotate (/thread-1354.html)



Cube auto-rotate - sakrist - May 3, 2009 05:11 PM

Hello


have a cube. Need transform cube but with have legible inscriptions. When i rotate cube with left to right and with up to down, then cube auto-rotate to normal inscriptions.

But i wrote logic and math. Need transform cube

glRotate not compatible because many rotates

need transform similar to transform of object from UIKit

maybe matrix or quaternions or angle axis....

How?

Please help!

Thanks


Cube auto-rotate - Fenris - May 5, 2009 03:08 AM

I'm not sure if I understand you correctly here, but you want to rotate the cube on its own axes? Not the world axes?


Cube auto-rotate - Ingemar - May 5, 2009 03:31 AM

I don't understand anything. Start by explaining why glRotate doesn't work. You can do several consecutive rotates by glRotate, around different axes if you like. Is the problem rotation interpolation?