Jump to content
  • Advertisement


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


The Asteroid Field

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

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!