Jump to content


Index Buffers


1 reply to this topic

#1 abcd_z

    New Member

  • Members
  • Pip
  • 6 posts

Posted 09 February 2003 - 09:01 AM

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 ?

#2 baldurk

    Senior Member

  • Members
  • PipPipPipPip
  • 1057 posts

Posted 09 February 2003 - 09:29 AM

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.
baldurk
He who knows not and knows that he knows not is ignorant. Teach him.
He who knows not and knows not that he knows not is a fool. Shun him.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users