Jump to content
  • Advertisement


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


Where is it?

This topic is 5997 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
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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!