Jump to content
  • Advertisement

Archived

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

Swede

Optimizing vertexbuffers and more

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

I''m wondering what kind of optimizations you can perform to krank up the performance of your app. I can imagine that sorting vertices in a vertexbuffer in a certain way would be good, but how? Are there any articels on this? What kind of optimizations do Mesh->Optimize() do? Please point me toward any other areas that I should look into!

Share this post


Link to post
Share on other sites
Advertisement
I spent (and still spending) some time on this...
I can say you may try one of the following.
Maybe you wont see any good results with small scenes
but with a lot of stuff running (eg a full ''map'') you''ll
see a great framerate enanchement...

- Avoid drawing objects wich are not in view range
- Avoid re-assigning textures that you have already
used for the previous object.
- Try to put all objects that use the same effects in
the same queue position so that you do not have to change
renderstates continuosly
- Remove faces that you''ll never draw (eg a column placed near
a wall : no one will see the back face ever)...

Regards

Share this post


Link to post
Share on other sites
on nvidia''s site there is an optimising tri-strip generator, try checking that out.

Share this post


Link to post
Share on other sites
I cant seem to find it, can you tell me more specifically where it is?

Share this post


Link to post
Share on other sites
Make sure you do Optimise on your meshes. As I understand it this is a driver side function, and so the effect is different per card, but the results are a lot. Also make sure your mesh is stored in GFX ram, not system ram. Doing both of these will give a significant boost.

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!