Archived

This topic is now archived and is closed to further replies.

Vertex & Index Buffers

This topic is 5574 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Vertex & Index Buffers are causing me all sorts of trouble writing my engine. Im not quite sure how to use them effectively. Ive seen people have 2 VB''s and calling ProcessVertices on one and Ive seen other people using an IB with a VB but Im not really sure what an IB does... :-S Im in desperate need of guidance anyone help? Phill Sampson Computer Game Programmer Eutechnyx LTD http://www.eutechnyx.com

Share this post


Link to post
Share on other sites

Your question is too general really as it would fill a chapter in a book. Why not consider getting one, e.g. ''Special Effects Games Programming'' or something like that which covers it for you.

http://www.amazon.com/exec/obidos/tg/detail/-/1931841063/qid=1031617493/sr=8-1/ref=sr_8_1/102-6633769-5266502?v=glance&s=books&n=507846

P.S. Using Index buffers is very important if you value performance. Without them, the GPUs vertex cache is disabled, which can cause a 300% drop in framerate (although thats totally worse case when compared to perfectly sorted strips)...

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Index buffers allow you to render verticies in a certain order from an index buffer. It allows you to use the same vertex over and over, and it allows you to skip rendering verticies all together.

Share this post


Link to post
Share on other sites