Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I asked a similar question to this yesterday and gained some knowhow but I'm a little confused:

If I have many quads that contain Vertices and Indices that are positioned to to form a bigger picture, then that bigger picture is positioned using world matrices...

How do I draw them all. From what I've gathered I've got to do in it in one pass for good speed.

I used to draw every quad with its own pass. Now every quad in an object is drawn in one pass.

But if I have a lot of objects it will slow down.

So my question is how does one go about drawing lots of seperate Vertices and Indices without losing frame rate. I don't need someone to hold my hand just maybe point in the right direction.

share|improve this question

1 Answer 1

Take a look at this tutorial: http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/Terrain_basics.php . It is about terrains but you should be able to figure out how to combine "quads" (xna doesn't have quads, it is just 2 triangles) in one draw call.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.