Archived

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

webmunkey

How big is too big?

Recommended Posts

webmunkey    122
Okay, a while ago I posted a topic about plotting dynamic 3d accelerated lines that can vary in number from 0 to SCREEN_WIDTH * SCREEN_HEIGHT. Anyway, the solution to the problem involved storing vertex information in arrays that kept track of the x and y values, ordered them, and sent them to a DrawPrimtive - Linestrip once per frame. However, while this method is very fast, it requires creating a vertex buffer (pool, whatever you want to call it) that is SCREEN_WIDTH * SCREEN_HEIGHT * sizeof(VERTEX_STRUCT), that''s really big. My question is, is that too big that noticable performance hits will become an issue? And if it is, how can I break it up? Cheers, -Jesse
How many programmers does it take to screw in a lightbulb? None, it''s a hardware problem.

Share this post


Link to post
Share on other sites