-------> Newbie needs help with index buffer usage

Started by
2 comments, last by RedeyeJedneck 23 years, 3 months ago
Can someone please tell me where i can find some documentation on how to use and assigne to what ever this is: /** Now that we''ve created our Index Buffer, we have to lock it down in order * to fill it with our information, just like the Vertex Buffer */ WORD cube_indices[36] = { 0, 1, 2, 2, 1, 3, 2, 3, 4, 4, 3, 5, 4, 5, 6, 6, 5, 7, 6, 7, 0, 0, 7, 1, 1, 7, 3, 3, 7, 5, 0, 2, 6, 2, 4, 6 }; I dont know what it looks like in the x,y,z format nor do I know what its for, what it does, and how to assign to it...can someone please post a link or two to some documentation about it? thanks in advance...
Advertisement
from the comments I''d say it''s compiled vertex arrays. check nVidia''s page for details.

HHSDrum@yahoo.com www.polarisoft.n3.net
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
I didnt find anything on the nvidia website...
Forget what i have said...No need for help...i have figured it out :D

This topic is closed to new replies.

Advertisement