Jump to content
Site Stability Read more... ×
  • Advertisement
Sign in to follow this  

Issue Rotating Camera on the Xaxis Opengl

This topic is 2843 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!