Jump to content
  • Advertisement

Archived

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

Funkymunky

Index/Vertex buffers, high low poly count

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

Hi, what I am wondering is: are index buffers always faster? Or are they only beneficial when dealing with a high vertex count? thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
They are not necessarily faster, particularly on non-TnL HW, however they are essential for taking advantage of the post-TnL vertex cache on TnL HW. The vertex cache goes to waste if you''re not using IBs.

Even using IBs, you won''t get the benefits of the vertex cache unless your indices have locality of reference. In other words, random haphazard indices will have few vertex cache hits. Indices that are (roughly) sequential are best. This is one of the optimizations performed by ID3DXMesh::Optimize/OptimizeInplace.

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!