Jump to content
  • Advertisement


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


What is drawn??

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

Hiya Just been thinking... How exactly does opengl draw? Supposing I have a 20x20 map of tiles and im viewing from an angle from above, not all the tiles are in view, (some are off screen) - does it draw the offscreen ones or not? Im not talking about octree engines or anything, I just mean will it draw things not in screen space? If I was to then move the camera to first person view so it could see along all the tiles it would have to draw them all - but from above would it only draw the ones in screen space? Basically, if im making a 3rd person game, do I draw the whole map in the render function each time and opengl will only draw what can be seen depending on camera position or will it draw the whole map each frame? Hope u understand what I mean hehe Thanks a lot Adam

Share this post

Link to post
Share on other sites

So if I plan on making a 3rd person view game, I will have to track the players position and then work out which tiles will be in view and draw only those?


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!