Jump to content

  • Log In with Google      Sign In   
  • Create Account

Issue Rotating Camera on the Xaxis Opengl


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 CLOUGHAX   Members   -  Reputation: 100

Like
0Likes
Like

Posted 07 January 2012 - 09:52 PM

Ok ive started learning openGL over my holidays and wanted to test my knowledge before going on any further with my studies. So im currently at transformation and want to get to the bottom of this obstacle or feel comfortable enough to move on. What currently holding me up is that im trying to move a camera or control the orientation of an object using a reference frame instead of like using gluLookAt() or glRotate() or glTranslate(). The thing is i got everything to work except rotating on the xAxis. What is happening is that after rotating on yAxis and then you rotate on the x axis it continues to rotate on the original xAxis and not the one in which you have rotated to. So im wondering how do you change your vectors to the one that your facing using quaternions since thats the method im using to control my frames.

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS