• Advertisement
Sign in to follow this  

[Solved]Index Buffer confusion

This topic is 4327 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 a little confused on this so I'm trying to clear it out. How many indices should the Vertex Buffer contain if the mesh has a Index Buffer and 128x128 vertices. I presume it would be 16384 VB-indices and 98304 IB-indices. I have a mesh this size. When I open it with a mesh viewer to check the idices I get some very high VB indices for some faces, like 57511,57512,57513 or 56559, 56560, 13350. Aren't they supposed to be under 16384? I though for a moment they are IB indices but it can't be, on some faces the indices are not succesive ( i.e 56559, 56560, 13350.) Thanks. [Edited by - Calin on March 15, 2006 6:22:28 AM]

Share this post


Link to post
Share on other sites
Advertisement
What do you mean your mesh has a resolution of 128x128? If you have a 16 bit IB, you can only reference a block of 65536 indices. You could have more than that number of vertices though, if you use BaseVertexIndex when rendering with DrawIndexedPrimitive.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement