May 5th, 2009, 06:44 AM
How to: Create a mesh from a VertexBuffer?
I have made some basic 3d shapes, namely a cube-like object using Vertices and Vertex Buffers.
I present those shapes using the
Now i want to "save" these shapes in a mesh, so i can draw them more easily with
I tried to create the mesh using:
but unfortunately i am doing something wrong, as nothing is displayed with the
I think i am missing something, especially the direction i have to give to the mesh as how to draw my shapes
Any help on how i can create this mesh from my vertex buffer would be great!
Thanx in advance,
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.