This is yet another rotation problem.. Once the image is displayed i m rotating on screen. If i move my move left or right then i captured that and rotate using
glRotated(captured_angleX , 0.0,1.0,0.0);
similarly if i move up or down i rotate using
glRotated(captured_angleY , 1.0,0.0,0.0);
IT WORKS VERY WELL.. But The problem is I want to rotate with respect to Z-axis. How to do it?? If my question is not clear jus ping me i will elaborate the problem statement.