Jump to content
  • Advertisement
  • entries
  • comments
  • views

Indexed == true

Sign in to follow this  
Mike Bossy


Today was another perf related day around the renderer. When I started work on my engine I didn't think about perf at all. I wanted to get things working in a logical, efficient manner but concenrated on straight forward acting code and orthogonality above perf improvements. This meant using things like DrawPrimitiveUP to render my objects. It got things working but I knew it was temporary. The last update was changing things over to use VB's and batch things together. Today it was changing over to indexed drawing. I only saw about a 5% improvement on my development system but I'll be interested to see how things go on a slower machine.

The main thing to note is that you don't have to do things "correctly" from day one on your work. Too much perf work done up front is useless later on. True this perf work would hardly ever be useless but that's besides the point. You also don't have to do all your perf improvements at once. Incremental improvements work too. Don't do work for the sake of "perfection". Perfection is unattainable. Don't forget that.
Sign in to follow this  


Recommended Comments

There are no comments to display.

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

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!