• entries
    205
  • comments
    228
  • views
    112809

Indexed == true

Sign in to follow this  
Mike Bossy

113 views

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  


0 Comments


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