Jump to content
  • Advertisement
Sign in to follow this  
RichardoX

gluLookAt --- stupid question

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

Am I supposed to use gluLookAt in the modelview or perspective matrix mode? At the moment this is what I do: glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluPerspective(45.0f, 4.0f/3.0f, 0.1f, 200.0f); gluLookAt(0.0f, 2.0f, -10.0f, 0.0f, 0.0f, 0.0f, 0.0f, 10.0f, 2.0f); glMatrixMode(GL_MODELVIEW); Is this the way it's supposed to be? -richardo

Share this post


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

  • 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!