Jan
01-21-2004, 01:25 PM
Hi
My question is: How useful are index-buffers?
I cannot think of many cases where i could use such a buffer for speeding up my app. Usually i have to recreate my index-buffer each frame anyways, since one usually uses some kind of optimization to reject objects.
The only situation i could think of, would be when i want to do multiple passes over my data, then i could store the indices once and reuse it. However when i have some thousand indices, then i might need to refill the buffer more than once and than i can forget it in such a situation, too.
Thanks,
Jan.
My question is: How useful are index-buffers?
I cannot think of many cases where i could use such a buffer for speeding up my app. Usually i have to recreate my index-buffer each frame anyways, since one usually uses some kind of optimization to reject objects.
The only situation i could think of, would be when i want to do multiple passes over my data, then i could store the indices once and reuse it. However when i have some thousand indices, then i might need to refill the buffer more than once and than i can forget it in such a situation, too.
Thanks,
Jan.