Jump to content
  • Advertisement

Archived

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

sj

Where is it?

This topic is 6086 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

I don''t know what''s causing it, but it seems that my scene won''t get drawn if I have more than 60 000 vertices in my vertex buffer. Switching to index buffer didn''t help either. I''m drawing the scene in one DrawPrimitive call and I''m quite sure that I''m passing the right number of vertices and primitives to it. Does anybody know what might be causing this? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
60,000 vertices is a bit much for 1 vertex buffer. I know that nvidia hardware at least doesn''t support > 16 bit indices in the index buffer, so that suggests that it doesn''t support > 216 vertices (and 60,000 is very close to that limit).

I''d suggest you decrease the number of vertices in your vertex buffer... break it up into two (or even three). You''ll probably end up with better performance anyway...


codeka.com - Just click it.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!