Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


camera rotation

This topic is 6249 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

how do you rotate the camera round an object or an environment, i can spin objects as in early tutorials and can spin objects round my view as in tutorial 10 but how do I rotate the view around an object will the object remains still say for example with a cube. Thanks

Share this post

Link to post
Share on other sites
Use some kind of transform with GluLookAt. You can down load some cool tutorials in openGL on the use of Projection, transformations, fog, lighting, etc at Nate''s website.


That should give you some idea of how to make it happen!!

Have fun

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!