• Advertisement

Archived

This topic is now archived and is closed to further replies.

Kinna Weird...

This topic is 4977 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
no idea. try and see


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

Share this post


Link to post
Share on other sites

  • Advertisement