-------> Newbie needs help with index buffer usage
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...
from the comments I''d say it''s compiled vertex arrays. check nVidia''s page for details.
HHSDrum@yahoo.com www.polarisoft.n3.net
HHSDrum@yahoo.com www.polarisoft.n3.net
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement