Jump to content
  • Advertisement
Sign in to follow this  
Crazyfool

DirectX Drawing a map

This topic is 4123 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!