Kinna Weird...

Started by
1 comment, last by Karl G 19 years, 10 months ago
So here''s an odd question: what happens if you''re using 16-bit indices (only support numbers 0-65535) and you call DrawIndexedPrimitive with the BaseVertexIndex parameter set to a value that causes indices in the array to go past the 65k limit? For example, you have 1 million verts in your VB that happen to be different copies of a single object that has 10,000 vertices. You obviously can''t draw all 1 million verts at once, but if you created an index buffer that referenced those ten thousand needed, then called DIP with the BaseVertexIndex set to 10,000 more each time, what would happen? Would it work as expected?
Advertisement
why would you have such a large vertex buffer?
no idea. try and see

"Yes... VB6 is here to steal your minds fps. Very slowly."~Mushu
Call .optimize(you.sig)

This topic is closed to new replies.

Advertisement