View Full Version : index buffer swapping (vbos)
11-03-2005, 12:04 AM
I wondered if the following vbo useage idea is fast or slow:
1 static vertex buffer
2 dynamic index buffers
feed index buffer
swap index buffer & feed it
or would one need to have multiple vertex buffers as well ? (I think not)
thanks for your time
11-03-2005, 01:09 AM
Index buffer will work on whatever vertex buffer is bound. So, yes, this would work.
11-03-2005, 02:14 AM
mh i can't imagine a case in which you have the same vertex positions but different indices.. what do you need this for?
11-04-2005, 02:53 AM
Originally posted by Vexator:
mh i can't imagine a case in which you have the same vertex positions but different indices.. what do you need this for?Perhaps he needs it for LOD or he has many small objects in one VBO.
11-04-2005, 03:20 AM
the latter is the case, mostly for batching many small objects. so same indices wouldnt be used.
thanks for the info
on a side not, does anyone know if using shorts for normals/texcoords was accelerated on radeon 8500 ? currently I have a fat vertex 64 byte, and a small one with 32 byte (no normals), but I could need normals in the 32byte one too. and our target hardware is older vs1.0 hardware mostly
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.