Sign in to follow this  

DirectX Drawing a map

This topic is 3939 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, I'm messing around with some tile maps and I was doing a really big map (well, not really big, but 250x50 tiles and it seems that the FPS when zoomed out goes to 30 as opposed to 33 qwhen zoomed in. I dont think the 33 FPS is right, because even when drawing 1 tile it is at 33fps heh. Anyway, my question is, does DirectX automatically not draw things that arent visible? I.e., can I simply have my drawMap() function draw the entire map, and if theyre zoomed in, DirecX will only care about what can be seen? What i thought I was going to do was calculate the field of view and how many tiles would be seen and then draw the stuff inbetween. Any explanation would be sweeet ;D Thanks.

Share this post


Link to post
Share on other sites

This topic is 3939 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this