Cube auto-rotate

Nibbie
Posts: 1
Joined: 2009.05
Post: #1
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
Quote this message in a reply
Oldtimer
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
Member
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 12,776 Oct 10, 2008 05:26 PM
Last Post: Frogblast
  Pre-generated cube map Fenris 2 3,685 Apr 5, 2007 07:01 PM
Last Post: nich
  rotate to focus on objects szgezu 1 2,082 Mar 4, 2006 03:59 AM
Last Post: SOUCHAN
  Transformation from unit cube to view frustum TomorrowPlusX 10 6,750 Jul 12, 2005 11:32 AM
Last Post: TomorrowPlusX
  How does one rotate a scanned image in openGL? WhatMeWorry 16 8,822 Feb 2, 2005 09:25 PM
Last Post: arekkusu