Index Buffers

855b0d863f265e3c14dea094409fa320
0
abcd_z 101 Feb 09, 2003 at 09:01

Is this the correct way to create an index buffer,

i loop the vertex data and check for similar and then create a list of index into the new vertex data.

i tried using this way and it took an enormous amount of time.. the loop part….am i doing it correctly ?

1 Reply

Please log in or register to post a reply.

0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 Feb 09, 2003 at 09:29

If you have correctly generated indices, then why don’t you write the result to a file? that way the next time your program runs it just reads it from the file and goes.

You might want to write a small app to simply generate index buffers, write the file and exit.