Jump to content
  • Advertisement

Archived

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

HanSoL0

The Asteroid Field

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

G''mornin'' coders, I''ve got a somewhat large asteroid field set up in my game full of about 400 asteroids. Framerate is holding at a silky-smooth 60 fps, even when every asteroid is in the view area. However, if I start to add any more than that, the framerate cuts itself in half. I think I''ve narrowed it down to the SetTransform() function being called 400 times per frame for each individual .x file. Is there a better way to transform that many world matrices? I need to have upwards of about 5000 asteroids, still running at 60fps. Any ideas, comments or snappy anecdotes are greatly appreciated. Thanks, Ryan Buhr Reactor Interactive, LLC.

Share this post


Link to post
Share on other sites
Advertisement

  • 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!