Can DrawIndexedPrimitives() be used for drawing a loaded model mesh-wise?

Posted by Afzal on Game Development See other posts from Game Development or by Afzal
Published on 2011-11-01T07:58:57Z Indexed on 2012/03/31 5:42 UTC
Read the original article Hit count: 271

Filed under:

I am using DrawIndexedPrimitives() for drawing a loaded 3D model by drawing each mesh part, but this process makes my application very slow. This is perhaps because of a very large number of vertex/index buffer data created in video memory.

That is why I am looking for a way to use the same method for each model mesh instead. The problem is that I don't know how I will set the textures of that mesh. Can anyone offer me some guidance?

© Game Development or respective owner

Related posts about XNA