Jump to content
  • Advertisement


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


Setting my game view

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

Im my last major project i must have called gltranslate a couple hundred times befor just starting to draw the scene. How could i adjust my 0,0,0 value to where i want it, and then use glLoadidentity() to reset back to that position and then put those values into my real matrix.

Share this post

Link to post
Share on other sites
Translate a couple of hundred times
(blah, do stuff here...

forget about the glLoadIdentity.

Better would be to make a camera so you''d have to rotate/translate only once and not hundreds.....

- An eye for an eye will make the world go blind -

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!