Advertisement Jump to content


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


Scene management

This topic is 5355 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
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, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!