Archived

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

What does D3DXMESHOPT_VERTEXCACHE do?

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

As far as have to rebuild D3DX-Mesh functionality with my own 3D-Engine I would be very interrested to know what this parameter of ID3DXMesh::Optimize() exactly does, because obviously it has an impressive impact on performance. Any doc''s about that anywhere? Thanks, Ole PS: And yes, I already know that it reorders faces for a better cache hit. I need it a bit more specifically

Share this post


Link to post
Share on other sites
Specifically it makes that all the vertices are accesssed in order and makes them so that most used vertices are in cache when they are needed to be used. If you want more detail, see Hoppe''s paper of Vertex caching.

Google -> Hoppe

Press I feel Lucky.

-------
"Programming is like sex make one mistake, and you have to support it forever."
Homepage: www.ussshrike.com/pcwebvia/

Share this post


Link to post
Share on other sites