I want image rotation controled by hand.
For example if i press left key then image rotate horizontally,
I want to control the image in 6 direction(left ,right ,up ,down ,outside and inside according to the screen).
At first I use glRotatef(X.XX,1.0,0.0,0.0);glRotatef(X.XX,0.0,1.0 ,0.0);glRotatef(X.XX,0.0,0.0,1.0);
But it can't rotate according to screen, later rotate axis was affected by the former rotation.if have a example code will be the best.
thanks a lot, help me please.
my e-mail: email@example.com