Skip to main content
gamedev.net
🔒 Locked

Vertex Buffer Performance Hit

Started by CoolTomK Aug 3, 2001 at 10:12 PM 0 replies 500+ views
Original Post
CoolTomK
CoolTomK
I am making a simple program that loads a .3ds file and displays it to the screen. Ive got all the loading figured out, now Ive got to render the scene. I want to load each mesh object onto its own vertex and index buffer and then render each mesh object. The problem is that a .3ds file could conatin hundreds of little mesh objects. My question is would hundreds of little vertex & index buffers being rendered at once make a significant performance hit, or should I load all the meshes onto one vertex buffer and render that?? thanks
gmcbay
gmcbay
For devices with hardware T&L you are generally much better off having fewer bigger vertex buffers than lots of small ones. So if you''re not doing any sub-mesh polygon clipping, just load the meshes up into big VBs and render those.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.