Original Post
Hi!
I''ve encountered a problem with vertexbuffers. In my scene I have (besides large
vertexbuffers) many different objects with the number of polys ranging from 150 to 5000.
They have different materials, textures, and shaders(not every object has different shader).
Therefore it''s not possible to render them at once. I know that rendering 200 polys in a
DrawPrimitive call is bad, but I can''t do anything to avoid this. Now the problem is whether
to let each object have its own VB, or merge them into one large VB and then render each object
from it with offset. The point of the problem is how expensive is SetStreamSource change...
Thanks for replies