Archived

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

didilabu2

vertex arrays

Recommended Posts

didilabu2    122
I was trying to make my programs run faster when loading high polygon models by using vertex arrays. Im testing it with a model I got off of the 3ds web site, it has just under 10,000 polys and consists of 5 meshes. I have one program using vertex arrays, and one not. With both programs running at the same resolution I got these results: At 640x480 the vertex array program is about 20% faster. At 800x600 " " " " " " 10% faster. At 1024x768 both programs run at the same speed. So my question is: Why does the resolution seem to effect the vertex array program more than the other one?

Share this post


Link to post
Share on other sites
Robbo    122

I think your application must be fill-rate limited. When running at higher resolutions, a smaller proportion of the total time it takes to render a frame is spent doing transform and lighting (your vertex arrays) and more time is spent actually plotting pixels into the frame-buffer. All you need to know is that taking fill-rate away (ie. running at 640x480), your application is much quicker with VAs than it is without them.

Share this post


Link to post
Share on other sites
_the_phantom_    11250
yep, looks fill rate limited to me as well, and guessing from those numbers you dont have a vid card with DDR ram on it as that would top out, fill rate wise, at a higher rez

------------------------------
Phantom
m00!

Share this post


Link to post
Share on other sites
didilabu2    122
No my video card is not that great, I think it is a rage fury pro with 32MB of ram, but I''m not sure because someone gave it to me for free.

Thanks for the input!

Share this post


Link to post
Share on other sites