Jump to content
  • Advertisement

Archived

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

Chman_a11w

Scene management

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

Hi there I''ve got a quick question (but don''t know if the answer will be easy ) : How do you divide an opengl scene into level ? I mean, how do you handle the "loading level"/"switch level" thing in opengl ? Is there a way better than an other to make it ? Thanks for your help ! Chman

Share this post


Link to post
Share on other sites
Advertisement
If you are refering to textures and vertex buffers (or other objects that would be stored in video memory), games typically load all of that before the first frame of the level is drawn. Furthermore, many games will draw with those object off screen to ensure that they are already cached before the first frame is actually rendered to the screen.

When game actually draws object in the level, they usually "cull" out stuff that is not in the view of the camera. In other word, if you can''t see it, don''t tell OpenGL to draw it.

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!