Jump to content
  • Advertisement

Archived

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

kefdman1

terrain drawing with no z-buffer

This topic is 6106 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 wrote a heightmap program that draw the terrain in an ordered manner, with no z-buffer. My question is that: How do I know if I am trashing the cpu cache at every tile I draw? Because i read the tile array four times per frame, each time drawing it differently. (backward half the time) How do i know what performance i get? cause my program seem to be more fill-rate limited than cpu-limited, so no matter how i draw it, i get the same speed.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
You could always try profiling your code.

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!