Cube auto-rotate

Posts: 1
Joined: 2009.05
Post: #1

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....


Please help!

Quote this message in a reply
Posts: 834
Joined: 2002.09
Post: #2
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?
Quote this message in a reply
Posts: 260
Joined: 2005.05
Post: #3
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?
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  OpenGL ES - Drawing a simple cube help. MattCairns 7 16,608 Oct 10, 2008 05:26 PM
Last Post: Frogblast
  Pre-generated cube map Fenris 2 4,897 Apr 5, 2007 07:01 PM
Last Post: nich
  rotate to focus on objects szgezu 1 3,019 Mar 4, 2006 03:59 AM
Last Post: SOUCHAN
  Transformation from unit cube to view frustum TomorrowPlusX 10 10,913 Jul 12, 2005 11:32 AM
Last Post: TomorrowPlusX
  How does one rotate a scanned image in openGL? WhatMeWorry 16 14,908 Feb 2, 2005 09:25 PM
Last Post: arekkusu