• Advertisement

Archived

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

What is drawn??

This topic is 5525 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
Advertisement
Thanks

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?

Adam

Share this post


Link to post
Share on other sites

  • Advertisement