Skip to main content
added 193 characters in body; edited title
Source Link
user1430
user1430

Can we use DrawIndexedPrimitiveDrawIndexedPrimitives() be used for drawing a loaded model mesh wise, if yes How-wise?

in fact I am using DrawIndexedPrimitiveDrawIndexedPrimitives() for drawing a loaded 3D model, meshPart wise by drawing each mesh part, but this process makes my application very slow.this This is perhaps becousebecause of a very large number of 'VertexBuffer' and 'IndexBuffer',vertex/index buffer data created in 'VedioRam'video memory.that

That is way iwhy I am looking for a way to use the same method ModelMesh wisefor each model mesh instead of ModelMeshPart.but the The problem is "How ithat I don't know how I will set the textures of that mesh?".

any one who can give Can anyone offer me some clue....

thanx in advence.guidance?

Can we use DrawIndexedPrimitive() for drawing a loaded model mesh wise, if yes How?

in fact I am using DrawIndexedPrimitive() for drawing a loaded 3D model, meshPart wise, but this process makes my application very slow.this is perhaps becouse of a very large number of 'VertexBuffer' and 'IndexBuffer', created in 'VedioRam'.that is way i am looking a way to use the same method ModelMesh wise instead of ModelMeshPart.but the problem is "How i will set the textures of that mesh?".

any one who can give some clue....

thanx in advence.

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

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?

Source Link

Can we use DrawIndexedPrimitive() for drawing a loaded model mesh wise, if yes How?

in fact I am using DrawIndexedPrimitive() for drawing a loaded 3D model, meshPart wise, but this process makes my application very slow.this is perhaps becouse of a very large number of 'VertexBuffer' and 'IndexBuffer', created in 'VedioRam'.that is way i am looking a way to use the same method ModelMesh wise instead of ModelMeshPart.but the problem is "How i will set the textures of that mesh?".

any one who can give some clue....

thanx in advence.