dallasstar
New member
Suppose I have 2 objects:
a triangle and a square
i need to put them both in a vertex buffer before rendering. (or at least that's what i think)
so.... do I need two vertex buffers or can i render them with just one?
Whatever the answer, could somebody give me a breif explanation o n how i would go abour rendering both objects? (just the part that i would need to create the vertex buffer(s) and how to handle these while rendering the objects)
(before doing this, my programs all had objects of the same number of vertices)
a triangle and a square
i need to put them both in a vertex buffer before rendering. (or at least that's what i think)
so.... do I need two vertex buffers or can i render them with just one?
Whatever the answer, could somebody give me a breif explanation o n how i would go abour rendering both objects? (just the part that i would need to create the vertex buffer(s) and how to handle these while rendering the objects)
(before doing this, my programs all had objects of the same number of vertices)